1.

SELECT select_list FROM table_list WHERE row_constraint GROUP BY grouping_columns; Which of these is not optional?(a) select_list(b) table_list(c) row_constraint(d) grouping_columnsI had been asked this question in an online interview.I'd like to ask this question from Performing Multiple in section Using SQL to Manage Data of MySQL

Answer» RIGHT ANSWER is (a) select_list

The explanation: GIVEN above was a basic syntax of the SELECT statement. Everything in the syntax is OPTIONAL EXCEPT the ‘select_list’ option. All the others are free to be omitted, and will work fine.


Discussion

No Comment Found

Related InterviewSolutions