P

Priyanka Tomar • 35.28K Points
Coach

Q. What will be the output of the following MySQL statement?
SELECT emp_id, fname, lname
FROM employee
WHERE LEFT (fname, 1) =’F’;

  • (A) Only those employees are selected whose first name started with 'F'
  • (B) Only those employees are selected whose first name started with other than 'F'
  • (C) All of the mentioned
  • (D) None of the mentioned
  • Correct Answer - Option(A)
  • Views: 39
  • Filed under category MySQL

Explanation by: Priyanka Tomar
This question is about selecting data from a table named "employee" using a specific condition. Let's break it down:

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics