Question: An SQL query was used to search the guest list. The query returned only one guest. The guestData table has the following records table

An SQL query was used to search the guest list. The query returned only one guest. The guestData table has the following records
\table[[\table[[guestld],[int]],\table[[firstName],[varchar]],\table[[lastName],[varchar]],\table[[age],[int]],\table[[contactNumber],[varchar]]],[1,rebecca,stanley,16,4634679778],[2,albert,aguilar,11,6234243299],[3,ophelia,mullins,62,9613054131],[4,wesley,medina,21,7536918879],[5,wesley,hunt,34,7123972552]]
Considering the data above, which of the following SQL queries could have returned only one record?
(Select all acceptable answers.)
SELECT * FROM guestData WHERE lastName LIKE "m%" OR lastName like "%s";
 An SQL query was used to search the guest list. The

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!