Nguyễn Trọng Tân
New member
What will be the output of the following MySQL statement?
A. All employees whose last name start with any letter but second letter should be ‘a’
B. All employees whose last name start with any letter but contain at least one ‘e’ in his name
C. All employees whose last name should have letter ‘a’ in second position and at least one ‘e’ in his name
D. All of the mentioned
Code:
SELECT *
FROM employee
WHERE lname LIKE ‘_a%e%’;
B. All employees whose last name start with any letter but contain at least one ‘e’ in his name
C. All employees whose last name should have letter ‘a’ in second position and at least one ‘e’ in his name
D. All of the mentioned