πŸ“Š SQL Server
Q. With SQL, how do you select all the records from a table named “Persons” where the value of the column “FirstName” ends with an “a”?
  • (A) SELECT * FROM Persons WHERE FirstName=’%a%’
  • (B) SELECT * FROM Persons WHERE FirstName LIKE ‘%a’
  • (C) SELECT * FROM Persons WHERE FirstName LIKE ‘a%’
  • (D) SELECT * FROM Persons WHERE FirstName=’a’
πŸ’¬ Discuss
βœ… Correct Answer: (B) SELECT * FROM Persons WHERE FirstName LIKE ‘%a’

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
208
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
82%
Success Rate