Asosiy matnga o'tish

30. Express24: buyurtma kelmagan restoranlar

Oson
JOIN'larExpress24

Hech qanday buyurtma kelmagan restoranlarning restaurant (nomi) ustunini qaytaring.

Saralash: nom bo'yicha alifbo.

restaurants: id INT PK, name VARCHAR, district VARCHAR

orders: id INT PK, restaurant_id INT, total NUMERIC(12,2)

Jadval: restaurants

UstunTuri
idINT PK
nameVARCHAR(80)
districtVARCHAR(50)

Jadval: orders

UstunTuri
idINT PK
restaurant_idINT
totalNUMERIC(12,2)

Namuna ma'lumotlar

sample-basic
restaurants
idINTnameVARCHAR(80)districtVARCHAR(50)
1Osh MarkaziChilonzor
2Milano PizzaYunusobod
3Burger HouseYakkasaroy
orders
idINTrestaurant_idINTtotalNUMERIC(12,2)
1150000
2130000
Kutilgan natija
restaurant
Burger House
Milano Pizza
sample-all-no-orders
restaurants
idINTnameVARCHAR(80)districtVARCHAR(50)
1Choyxona 1Shayxontohur
2Sushi TimeChilonzor
Kutilgan natija
restaurant
Choyxona 1
Sushi Time
sample-all-have
restaurants
idINTnameVARCHAR(80)districtVARCHAR(50)
1Kebab PointYunusobod
orders
idINTrestaurant_idINTtotalNUMERIC(12,2)
1140000

O'xshash masalalar

Konsol

Natijani ko'rish uchun so'rovni ishga tushiring.