0% found this document useful (0 votes)
26 views6 pages

Employee Master: Field Name Datatyp e Size Constraint Description

The document describes the structure of multiple database tables used to store information for employees, customers, products, purchase orders, sales bills, suppliers, stock, and shopping cart items. The tables include fields for IDs, names, addresses, dates, quantities, totals and other relevant details. Primary and foreign keys are specified to link records between the different tables.

Uploaded by

javed9890
Copyright
© © All Rights Reserved
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)
26 views6 pages

Employee Master: Field Name Datatyp e Size Constraint Description

The document describes the structure of multiple database tables used to store information for employees, customers, products, purchase orders, sales bills, suppliers, stock, and shopping cart items. The tables include fields for IDs, names, addresses, dates, quantities, totals and other relevant details. Primary and foreign keys are specified to link records between the different tables.

Uploaded by

javed9890
Copyright
© © All Rights Reserved
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/ 6

employee master

Field Datatyp Size Constraint Description


name e
empid Number 4 Primary key Employee id
empnam Text 30 Employee name
e
Empadd Text 50 Employee address
Empdob Number 8 Employee date of birth
Empgen text 8 Employee gender
Empcont Number 10 Employee contact number

customer master
Field Datatyp Size Constraint Description
name e
custid Number 4 Primary key Customer id
custnam Text 30 Customer name
e
Custadd Text 50 Customer address
Custdob Number 8 Customer date of birth
Custgen text 8 Customer gender
Custcont Number 10 Customer contact number
cd,dvd master
Field Datatype Size Constraint Description
name
pid Number 4 Primary key Product id
pnam Text 30 Product name
e
ptype Text 30 Product type ( song/movie )
plang text 30 Product language
pprise number 8 Product prise
cddvd text 5 CD or DVD

purchase order master


Field Datatyp Size Constraint Description
name e
ordid Number 4 Primary key Order id
orddate date 8 Order date
Ordtime Date/time 4 Order time
suppid Number 4 Foreign key Supplier id
suppnam Text 30 Supplier name
e
suppadd Text 50 Supplier address
amt Number 8 Amount ( Total )
purchase order transaction
Field name Datatyp Size Constraint Description
e
Trno Number 4 Primary key Transaction number
Pid Number 4 Foreign key Product id
Ordid Number 4 Foreign key Order id
Prise Number 8 Prise
Qty Number 8 Quantity
Total Number 8 Total

sales bill master


Field name Datatype Size Constraint Description
Billno Number 4 Primary key Bill number
Billdate date 8 Bill date
Billtime Date/time 4 Bill time
Custid Number 4 Foreign key Customer id
Amt Number 8 Amount ( Total )

sales bill transaction


Field name Datatyp Size Constraint Description
e
Trno Number 4 Primary key Transaction number
Pid Number 4 Foreign key Product id
Prise Number 8 Prise
Qty Number 8 Quantity
Total Number 8 Total
cid number 4 Foreign key Customer id

purchase bill
Field name Datatype Size Constraint Description
billno Number 4 Primary key Bill number
ordid Number 4 Foreign key Order id
Prise Number 8 Prise
Qty Number 8 Quantity
Total Number 8 Total
pid number 4 Foreign key Product id
pname Text 30 Product name
mop Text 20 Mode of payment
bname Text 20 Bank name
chno Number 4 Cheque number

supplier master
Field name Datatype Size Constraint Description
suppid Number 4 Primary key Supplier id
suppname Text 30 Supplier name
suppadd Text 50 Supplier address
suppcont Number 10 Supplier contact
number
suppmail text 25 Supplier mail address
pid Number 4 Foreign key Product id

stock master
Field name Datatype Size Constraint Description
pid Number 4 Primary key Product id
stock number 4 Stock

cd,dvd cart
Field name Datatyp Size Constraint Description
e
cid Number 4 Primary key Cart id
pid Number 4 Foreign key Product id
pname Text 30 Product name
ptype Text 30 Product type ( song /
movie )
plang Text 30 Product language
prise Number 8 Prise
cddvd text 5 CD or DVD

You might also like