1

Topic: To count a record count

There is a service of questions and answers and there are two tables:
questions with a field id
answers with a field id and id_question
How to me to count in the list of questions an amount of answers to these questions? We admit there is a question and in brackets how many on it of answers
For example here so it is necessary (photo sm)
http://dl3.joxi.net/drive/2018/07/08/00 … 5ab35b.jpg
Thanks!

2

Re: To count a record count

RTFM join, group by, count ().