How can we get the number of records or rows in a table?
Correct answer
A. Using COUNT
17 views
A. Using COUNT
17 views
COUNT() returns the number of rows in a table, e.g. SELECT COUNT(*) FROM table_name;. NUM and NUMBER are not SQL functions.
Not sure why the answer is A? Ask here and get an explanation.