Field Data Type Domain Description Types of Example Link as
Constrains P.K Publisher_ID Integer - Code name of Not null 101 Publisher ,Unique key, P.K Publisher_Name Varchar 25 Name of Not null Nirvana Publisher publication Publisher_Address Varchar 30 Permanent Not null Kathmandu Address of Publisher Publisher_PhoneNo Varchar 12 Publisher Not null, 9840506323 unique phone unique number Publisher_Country Varchar 30 Publisher Not null Nepal country name
Table Name 2:-NewBook_Master
Field Data Domain Description Types Example Link as P.K Type of Key Book_ID Integer - Code name of Not 221 Book null, Unique key, P.K Publisher_ID Interger Code name of Not 101 Publisher_Details Publisher null, (Publisher_ID) F.K Book_Category Varchar 10 Category of Not Romantic Book Null Book_Title Varchar 50 Name of Not Notebook Book null, Rate Money 8 Book Per unit Not null 786 Price Author Varchar 30 Writer of Not null Nicholas Sparks Book ISBNNO Integer 13 International Not null 9876543213451 Standard Book Number Table Name 3:-Publisher_Publish
Field Data Domain Description Types Example Link as P.K
Type of Key Book_ID Integer - Code name F.K 221 NewBook_Master(Book_ID) of Book Publisher_ID Integer - Code F.K 101 Publisher_Details(Publisher_ID) Name of Publisher Quantity Integer - Unit of - 11 Booked order Book_category Varchar 10 Under - Romantic category of books Send_Date Date Date when 11/12/2017 publisher sent booklist to the e-book manager
Table Name 4:-Customer_Details
Field Data Domain Description Types Example Link as
Type of Key P.K Customer_ID Integer - Customer Not 156 Identity null, Number Unique, P.K Customer_FirstName Varchar 20 Customer Not Sangeeta First Name null Customer_LastName Varchar 20 Customer Not Timsina Last Name null Customer_Address Varchar 30 Customer Not Maitidevi-32 Address null Customer_Email Varchar Customer Not Sangita.timsina91@gmail.com Email null Customer_PhoneNo Varchar 10 Customer - 9813125555 Phone Number Customer_Country Varchar 30 Customer Not Nepal Country null Name -Register_Date Date - Date when Not 11/12/2017 member null, was Unique registered Is_member Varchar 8 member or Not Member customer null ,check
Table Name 5:-Order
Field Data Domain Description Types Example Link as P.K
Type of Key Invoice_ID Integer - unique Not 1151 invoice null, identity Unique, Number P.K Book_ID Integer - Code name F.K 221 NewBook_Master(Book_ID) of book Publisher_ID Integer - Code name F.K 101 Publisher_Details(Publisher_ID) of Publisher Order_Date Date - Send order 03/06/ Date 2017 Book_Category Varchar 50 Category Not Romantic of Book null
Table Name 6:-Transaction
Field Data Domain Description Types Example Link as P.K Type of Key Transaction_ID Integer - Customer Not 701 Order null, Identity unique, Number P.K Invoice_ID Integer - Invoice Not 1151 Order(Invoice_ID) Identity Null, Number F.K Transaction_Date Date - Transaction Not 06/06/2017 Date null Is_Paid Varchar 6 Paid or check Paid Unpaid Payment_Type Varchar 4 Visa or check Cash Cash Total Integer Total Not 786 payment null made Table Name 7:-Distribution
Field Data Domain Description Types Example Link as P.K
Type of Key Book_ID Integer - Code Not 221 NewBook_Master(Book_ID) Name of null, Book F.K Customer_ID Integer - Customer Not 156 Customer_Details(Customer_IDd) Identity Null, Number F.K Delivery_date Date - Delivery Not 06/07/2017 Date null Quantity Integer 4 List of Not 5 Book null Ordered Delivery_Status Varchar 3 Yes or No Check Yes
Table Name 8:-Purchase_Transaction
Field Data Domain Description Types Example Link as P.K
Type of Key Publisher_ID Integer - Code name Not 101 Publisher_Details(Publisher_ID) of Publisher null, F.K Invoice_ID Integer - invoice F.K 1151 Order(Invoice_ID) Identity Number Book_ID Integer - Code Name Not 221 NewBook_Master(Book_ID) of Book null, F.K Invoice_Date Date - invoice - 06/07/ issue date 2017 Quantity Varchar 6 Paid or Check Paid unpaid Table Name 9:-Feedback
Field Data Domain Description Types Example Link as P.K
Type of Key Customer_ID Integer - Customer Not 156 Customer_Details(Customer_ID) Identity null, Number F.K Book_ID Integer - Code Name F.K 221 NewBook_Master(Book_ID) of Book Opinion Varchar 200 Your Not Great opinions Null book Rating Varchar 2 Give your check 5 Rating rang as 1-10