Ishni bajarish tartibi
1
. Kutubxonaga olib kelingan arzon kitoblar hadiqa ma`lumot olish.
So‟rov: Select *from yetkazib_beruvchi having kitoblar_narxi<50000;
Natija:
2.Keltirilgan kitoblardan 3000 mingdan qimmat kitoblar chiqarilsin:
So`rov: Select id as ‘30000 mingan qimmat kitoblar ’, count(kitoblar_narxi)
as ‘30000 mingdan qimmat kitoblar soni’ from yetkazib_beruvchi group by id
having count(kitoblar_narxi)<30000;
Natija:
Do'stlaringiz bilan baham: |