Possible Duplicate:
In SQL, what's the difference between count(column) and count()?
Count() vs Count(1)
I have big tables which keep long texts for example email content or news. And my question is there any difference for performance for counting table rows :
SELECT COUNT(*) FROM table_name
SELECT COUNT(t.id) FROM table_name as t
Which one is better? or the latter one will be optimized by query optimizer? Is there any documentation regarding this?