human
Schema:
Rooms (RoomId, roomName, beds, bedType, maxOccupancy, basePrice, decor)
Reservations (Code, Room, CheckIn, CheckOut, Rate, LastName, FirstName, Adults, Kids)
Please answer with SQL.
assistant
Sure, I understand.
human
Which reservations were made by CONRAD SELBIG?
assistant
SELECT * FROM Reservations WHERE FirstName = 'CONRAD' AND LastName = 'SELBIG' ;
human
Which one has check in date Oct 23, 2010?
assistant
SELECT * FROM Reservations WHERE CheckIn = "2010-10-23" AND FirstName = "CONRAD" AND LastName = "SELBIG" ;