INSERT INTO Reviews SET id=(SELECT COUNT(*)+1 FROM Reviews AS a), rating=5, reservation_id= (SELECT r.ID FROM Reservations AS r JOIN Rooms ON R.ROOm_id=Rooms.ID JOIN Users ON r.user_id=USER.ID WHERE address='11218, Friel Place, New York' AND name='George Clooney');
SET id=(SELECT COUNT(*)+1 FROM Reviews AS a),
rating=5,
reservation_id= (SELECT r.ID FROM Reservations AS r
JOIN Rooms ON R.ROOm_id=Rooms.ID
JOIN Users ON r.user_id=USER.ID
WHERE address='11218, Friel Place, New York'
AND name='George Clooney');