-
What will be the output of the following query?
SELECT stu_id, first_name, last_name
FROM student
WHERE LEFT (first_name, 1) =’F’ OR LEFT (last_name, 1) =’F’;
-
- Only those student are selected whose first name and last name started with any other letter except ‘F’
- Only those student are selected whose first name and last name started with ‘F’
- Only those student are selected whose first name started with ‘F’ but last name can be starts with any other letter
- All of above
- None of these
Correct Option: B
Only those student are selected whose first name and last name started with ‘F’