Examveda

Can "SELECT" clause be used without the clause "FROM"?

A. YES

B. NO

C. DEPENDS

D. None of the mentioned

Answer: Option B

Solution (By Examveda Team)

This question is about the basics of SQL (Structured Query Language), specifically in MySQL.

SELECT is a command used to retrieve data from a database.
FROM specifies which table you want to retrieve data from.

Let's think about it: If you want to get information, you need to know where to get it from, right?

So, can you use SELECT without specifying the FROM clause (which tells you the table)? The answer is NO.

Therefore, the correct answer is Option B: NO.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous