CREATE TABLE Guests (guest_first_name VARCHAR2, guest_last_name VARCHAR2, guest_id VARCHAR2)
CREATE TABLE Apartment_Bookings (guest_id VARCHAR2, booking_status_code VARCHAR2)

Show the first names and last names of all the guests that have apartment bookings with status code 'Confirmed'.
SELECT T2.guest_first_name, T2.guest_last_name FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T1.booking_status_code = "Confirmed"
SELECT "T2"."guest_first_name", "T2"."guest_last_name" FROM "Apartment_Bookings" "T1" JOIN "Guests" "T2" ON "T1"."guest_id" = "T2"."guest_id" WHERE "Confirmed" = "T1"."booking_status_code"