...
Database-Management-System
August 29, 2024
Database-Management-System
August 29, 2024
Database-Management-System
August 29, 2024
Database-Management-System
August 29, 2024

Database-Management-System

Question 689
With SQL, how can you return the number of records in the “person’s” table?
A
SELECT COUNT (*) FROM persons
B
SELECT COUNT () FROM persons
C
SELECT COLUMN () FROM persons
D
SELECT COLUMN (*) FROM Persons
Question 689 Explanation: 
→ Normally we want print all records from database, we use SQL command is SELECT * from filename.
→ Suppose we want to return the number of records, it means count total number of records from relation(or table).
SELECT COUNT(*) FROM persons
Correct Answer: A
Question 689 Explanation: 
→ Normally we want print all records from database, we use SQL command is SELECT * from filename.
→ Suppose we want to return the number of records, it means count total number of records from relation(or table).
SELECT COUNT(*) FROM persons

Leave a Reply

Your email address will not be published. Required fields are marked *