0% found this document useful (0 votes)
20 views2 pages

Schema

The document contains information about book catalogues, copies, and payments. It includes tables with fields for book name, author, price, code, editions, number of copies, number of books sold, and payment price. The primary key is identified for each table, such as account number for customers, book name for catalogues, book code for copies, and number of sold books for payments.

Uploaded by

Su Zi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views2 pages

Schema

The document contains information about book catalogues, copies, and payments. It includes tables with fields for book name, author, price, code, editions, number of copies, number of books sold, and payment price. The primary key is identified for each table, such as account number for customers, book name for catalogues, book code for copies, and number of sold books for payments.

Uploaded by

Su Zi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Primary key is the Account number customers Account_number First_name 109941 109942 109943 109944 109945 109946 109947

109948 109949 109950 Ahmed Mohamed Mahmoud Rana Sara Khaled Karem Dina Omar Youssef Last_name Aly Hossam Younis Mohamed Ahmed Karam Omer Yahya Youssef Hazem

Primary key is the book name , foreign key is the book code Book catalogue Book_name Oliver twist A tale of two cities Riad al salihin Around the world in 30 days Jane Eyre Eebdat almoaamen Romeo and juliet Hamlet Severus snape twilight Author_name Charles dickens Charles dickens El emam alnawy Jules verne Charlotte Bront Amr khaled William Shakespeare William Shakespeare Rita Skeeter Stephenie Meyer Price 30 L.E 20 L.E 30 L.E 47 L.E 15 L.E 30 L.E 80 L.E 40 L.E 35 L.E 50 L.E Book_code 1191 1192 1193 1194 1195 1196 1197 1198 1199 1190

Primary key is the book_code Copies Book_Code 1191 1192 1193 1194 1195 1196 1197 1198 1199 1190 Book_Edition 2005, 2003 2001, 2005 2003,2007 2002,2004 2006,2005 2004,2002 2011,2010 2007,2008 2010,2011 2009,2008 Number of copies 5 8 10 4 6 3 2 6 7 5

Primary key is number of sold books and foreign key is book_code Payment No. of sold_books 5 8 3 2 0 4 7 1 5 6 Book_code 1191 1192 1193 1194 1195 1196 1197 1198 1199 1190 Price 30 L.E 20 L.E 30 L.E 47 L.E 15 L.E 30 L.E 80 L.E 40 L.E 35 L.E 50 L.E

You might also like