CBSE Class 12 Informatics Practices
Question 29 of 90
Querying Using SQL — Question 7
Back to all questionsSELECT COUNT(*) FROM ORDERS ;
Reason — The COUNT() function in SQL counts the number of rows or records in a table. When used with the asterisk (*), it counts all rows in the table, including duplicates and nulls. Therefore, SELECT COUNT(*) FROM ORDERS will return the total number of records in the ORDERS table.