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

Rangliste

Visuel stil

Indstillinger

Skift skabelon

Gendan automatisk gemt: ?