A. SELECT Username AND Password FROM Users
B. SELECT Username, Password FROM Users
C. SELECT Username, Password WHERE Username = ‘user1’
D. None of these
Which Of The SQL Statement Is Correct
Ans. Option B) SELECT Username, Password FROM Users is the Correct Answer
In SQL, when you want to retrieve specific columns from a table, you use the “SELECT” statement followed by the column names you want, separated by commas. In this case, “Username” and “Password” are the two columns you want to select from the “Users” table. So, option B is correct.
Hello, I’m Hridhya Manoj. I’m passionate about technology and its ever-evolving landscape. With a deep love for writing and a curious mind, I enjoy translating complex concepts into understandable, engaging content. Let’s explore the world of tech together