2)
Which is the correct SELECT statement to display all records with selected columns of a table?
- SELECT * FROM table_name
- SELECT column1,column2,... FROM table_name
- SELECT FROM table_name
- None of these
Correct Answer - 2
SELECT column1,column2,... FROM table_name
3)
Which is the correct SELECT statement to display selected records (based on the condition) with all columns of a table?
- SELECT column1,column2,... FROM table_name
WHERE condition
- SELECT FROM table_name
WHERE condition
- SELECT ALL FROM table_name
WHERE condition
- SELECT * FROM table_name
WHERE condition
Correct Answer - 4
SELECT * FROM table_name
WHERE condition