How to count in a query in MySQL?

admin

Administrator
Staff member
Hi,

If I want to make a query in a MySQL database, but I need only the number of results that meet the condition, how can I do that?

Another one: if I have two columns with timestamp data, and I want to know the average difference between the two in all records, what is the query then?

Thanks for your help.

Best wishes, Akos
 
Back
Top