outer query to select 'hotelName' and 'starRating' from 'Hotel', subquery to return the 'hotelName' from 'Hotel' to the outer query, filter the results in the inner query based on bookings associated with customer number 315 in the 'Booking' table.

AH DDD SQL subquery basics

Табло

Визуален стил

Опции

Шаблон за превключване

Възстановяване на авто-записаната: ?