πŸ“Š MySQL
Q. What will be the output of the following MySQL statement?
SELECT *
FROM employee
WHERE lname LIKE ‘F%’ AND lname LIKE ‘%T’;
  • (A) All employees whose last name should started with 'F' and end with 'T'
  • (B) All employees whose last name start with 'T' and end with 'F'
  • (C) All employees whose last name should started with 'F' and end with 'F'
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) All employees whose last name should started with 'F' and end with 'T'

Explanation: This question asks about how the LIKE operator works in MySQL. Let's break down the code:

Explanation by: Ravi Shankar
This question asks about how the LIKE operator works in MySQL. Let's break down the code:

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
77
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ravi Shankar
Publisher
πŸ“ˆ
96%
Success Rate