I have the tickets table and the questions table in the questions table there is an id_ticket field, I need to pull out all the tickets and the number of questions in the ticket
SELECT *, COUNT (tickets.id) FROM tickets
LEFT JOIN questions
ON (questions.id_ticket = tickets.id)
I tried something like that but it doesn't work
*
will not help - Mike