Which of the SQL statements is correct?
A. SELECT Username AND Password FROM Users
B. SELECT Username, Password FROM Users
C. SELECT Username, Password WHERE Username = ‘user1’
D. None of the Mentioned
Answer:A
Which of the SQL statements is correct?
A. SELECT Username AND Password FROM Users B. SELECT Username, Password FROM Users C. SELECT Username, Password WHERE Username = ‘user1’ D. None of the Mentioned
Explanation: Correct order of SELECT, FROM and WHERE clause is as follow: