(2 votes, average: 2.50 out of 5)

One comment

  • select count(*) returns the count of all records in a table.

    select count(somefield) returns the number of records where somefield is not NULL

    In tables where somefield is never NULL, the results will be the same.

Leave a Reply