Q. What will be the output of the following MySQL statement?
SELECT emp_id, fname, lname
FROM employee
WHERE LEFT (lname, 1) =’F’;
SELECT emp_id, fname, lname
FROM employee
WHERE LEFT (lname, 1) =’F’;
β
Correct Answer: (A)
Only those employees are selected whose last name started with 'F'
Explanation: This MySQL statement is used to retrieve information about employees from a table called "employee".