Hi,
I want do count the number of total comments that I have in a table. In that table all the rows have a different id... so if I perform the SQL question as "count(*) from t" or "count(1) from t" or "count(distinct comment.id from t"... all the options give me that the number as result.
My question is:
What is the sql query that have the best perform to execute?
Thanks