Question:

What is the output of the following SQL query ?
SELECT * FROM STUDENTS WHERE SName like ‘%S’ and age > 18;

Updated On: Sep 23, 2024
  • Select details of all those students whose name ends with 'S' and age greater than 18
  • Select details of all those students whose name starts with 'S' and age greater than 18
  • Select details of all those students whose name starts and ends with 'S' and age is greater than 18
  • Select details of all those students whose name starts with 'S' or age greater than 18
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

The correct option is (A) :Select details of all those students whose name ends with 'S' and age greater than 18.
Was this answer helpful?
0
0