Sql programming


Completing the task for practical work 1



Download 0,49 Mb.
bet4/4
Sana16.04.2022
Hajmi0,49 Mb.
#556329
1   2   3   4
Bog'liq
1648792529 (1)

Completing the task for practical work 1.

  1. ENTITY RELATIONSHIP DIAGRAM



  1. SAMPLE SCHEMA DIAGRAMS

Completing the task for laboratory work 1.
Table Creation:

Variant №1.








Variant №2.


Variant №3.



Table Descriptions:
Variant №1.

  1. DESC PUBLISHER;

  2. DESC BOOK;

  3. DESC BOOK_AUTHORS;

  4. DESC LIBRARY_BRANCH;

  5. DESC BOOK_COPIES;

  6. DESC CARD;

  7. DESC BOOK_LENDING;


Variant №2.

  1. DESC SALESMAN;

  2. DESC CUSTOMER1;

  3. DESC ORDERS;


Variant №3.

  1. DESC ACTOR;

  2. DESC DIRECTOR;

  3. DESC MOVIES;

  4. DESC MOVIE_CAST;

  5. DESC RATING;


Insertion of Values to Tables:
Variant №1.








Variant №2.


Variant №3.


Selections:
Variant №1.

  1. SELECT * FROM PUBLISHER;

  2. SELECT * FROM BOOK;

  3. SELECT * FROM BOOK_AUTHORS;

  4. SELECT * FROM LIBRARY_BRANCH;

  5. SELECT * FROM BOOK_COPIES;

  6. SELECT * FROM CARD;

  7. SELECT * FROM BOOK_LENDING;


Variant №2.

  1. SELECT * FROM SALESMAN;

  2. SELECT * FROM ORDERS;


Variant №3.

  1. SELECT * FROM ACTOR;

  2. SELECT * FROM DIRECTOR;

  3. SELECT * FROM MOVIES;

  4. SELECT * FROM MOVIE_CAST;

  5. SELECT * FROM RATING;

Queries on the task for laboratory work 1.
Conclusions on the implementation of the work:
Download 0,49 Mb.

Do'stlaringiz bilan baham:
1   2   3   4




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish