|
Completing the task for practical work 1
|
bet | 4/4 | Sana | 16.04.2022 | Hajmi | 0,49 Mb. | | #556329 |
| Bog'liq 1648792529 (1)
Completing the task for practical work 1.
ENTITY RELATIONSHIP DIAGRAM
SAMPLE SCHEMA DIAGRAMS
Completing the task for laboratory work 1.
Table Creation:
Variant №1.
Variant №2.
Variant №3.
Table Descriptions:
Variant №1.
DESC PUBLISHER;
DESC BOOK;
DESC BOOK_AUTHORS;
DESC LIBRARY_BRANCH;
DESC BOOK_COPIES;
DESC CARD;
DESC BOOK_LENDING;
Variant №2.
DESC SALESMAN;
DESC CUSTOMER1;
DESC ORDERS;
Variant №3.
DESC ACTOR;
DESC DIRECTOR;
DESC MOVIES;
DESC MOVIE_CAST;
DESC RATING;
Insertion of Values to Tables:
Variant №1.
Variant №2.
Variant №3.
Selections:
Variant №1.
SELECT * FROM PUBLISHER;
SELECT * FROM BOOK;
SELECT * FROM BOOK_AUTHORS;
SELECT * FROM LIBRARY_BRANCH;
SELECT * FROM BOOK_COPIES;
SELECT * FROM CARD;
SELECT * FROM BOOK_LENDING;
Variant №2.
SELECT * FROM SALESMAN;
SELECT * FROM ORDERS;
Variant №3.
SELECT * FROM ACTOR;
SELECT * FROM DIRECTOR;
SELECT * FROM MOVIES;
SELECT * FROM MOVIE_CAST;
SELECT * FROM RATING;
Queries on the task for laboratory work 1.
Conclusions on the implementation of the work:
Do'stlaringiz bilan baham: |
|
|