6)
Which SQL command is used to get total number of records of a table?
- SELECT (*) FROM table_name
- SELECT COUNT FROM table_name
- SELECT COUNT(*) FROM table_name
- None of these
Correct Answer - 3
SELECT COUNT(*) FROM table_name
8)
Which command is correct command to get first city name from cities column in employee table?
- SELECT FIRST(cities) FROM employee
- SELECT FIRST cities FROM employee
- SELECT (cities) FIRST FROM employee
- SELECT cities FROM employee
Correct Answer - 1
SELECT FIRST(cities) FROM employee