MCQs > IT & Programming > MySQL > What is the correct SQL syntax for selecting all the columns from the table Persons where the LastName is alphabetically between (and including) 'Hansen' and 'Pettersen'?

MySQL MCQs

What is the correct SQL syntax for selecting all the columns from the table Persons where the
LastName is alphabetically between (and including) "Hansen" and "Pettersen"?

Answer

Correct Answer: SELECT * FROM Persons WHERE LastName BETWEEN 'Hansen' AND 'Pettersen'

Explanation:

Note: This Question is unanswered, help us to find answer for this one

MySQL Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

MySQL Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it