-
What will be the output of the query given below?
SELECT *
FROM Army
WHERE (title=’Sergeant ’) AND (start_date > 1995-03-20);
-
- All columns but only those rows which contain ‘Sergeant ’ as a “title” and start_date are greater than 1995-03-20
- All rows belong to table employee
- All columns and rows belong to table employee
- All of above
- None of these
Correct Option: A
“WHERE” clause is used to filter out unwanted rows therefore in above query only those rows will be selected which contain title as ‘Sergeant ’ and start_date is greater than 1995-03-20.