Database MCQS - QUESTION DETAILS

Which SQL function is used to find the total number of rows in a table?
A. COUNT()
B. TOTAL()
C. SUM()
D. ROWCOUNT()

'COUNT()' is used to find the total number of rows in a table.

Similar Questions

In MySQL, what is the purpose of the BLOB data type?






What is the purpose of the SQL Server SET NOCOUNT ON statement?






What is the purpose of the SQL Server TRY...CATCH block?






Which SQL Server statement is used to remove an index from a table?






Which MySQL statement is used to grant all privileges to a user?






Which SQL Server statement is used to grant execute permissions on a stored procedure?






Which SQL Server function is used to find the difference between two dates?






Which SQL Server statement is used to change the structure of an existing table?






In MySQL, what is the purpose of the FOREIGN KEY constraint?






What is the purpose of the SQL LEFT JOIN clause?