0% found this document useful (0 votes)
31 views

Employee: Field Name Data Type Length Primary Key

The document describes the structure of several database tables containing employee, registration, store, department, product, vendor, payment, and billing information with field names, data types, lengths, and primary keys specified for each table. The employee table tracks employee IDs, names, departments, salaries, addresses, emails, and phone numbers. The registration table links employees to registration numbers, passwords, and dates of birth. Other tables include stores, departments, products, vendors, payments made, and billings generated.

Uploaded by

Arunkumar Juluri
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

Employee: Field Name Data Type Length Primary Key

The document describes the structure of several database tables containing employee, registration, store, department, product, vendor, payment, and billing information with field names, data types, lengths, and primary keys specified for each table. The employee table tracks employee IDs, names, departments, salaries, addresses, emails, and phone numbers. The registration table links employees to registration numbers, passwords, and dates of birth. Other tables include stores, departments, products, vendors, payments made, and billings generated.

Uploaded by

Arunkumar Juluri
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Employee

Field Name Data Type length Primary Key


Emp_Id Varchar 10 Yes
Emp_Name Varchar 15 -
Dept_Id Varchar 5 -
Sal Number 5 -
Emp_Address Varchar 120 -
Email Varchar 30 -
Phno Number 10 -

Register Details

Field Name Data Type length Primary Key


Reg_No Number 10 Yes
Emp_Id Varchar 10 -
Password Varchar 10 -
D.O.B Date/Time 10 -

Store

Field Name Data Type length Primary Key


Str_Id Varchar 10 Yes
Str_Name Varchar 15 -
Address Varchar 120 -
Establishment Number 4 -
Department

Field Name Data Type length Primary Key


Dept_Id Varchar 10 Yes
Dept_Name Varchar 15 -

Product

Field Name Data Type length Primary Key


P_Id Varchar 10 Yes
P_Name Varchar 15 -
P_Quantity Number 3 -
P_Price Number 5 -

Vendor

Field Name Data Type length Primary Key


V_Id Varchar 10 Yes
V_Name Varchar 15 -
Phno Number 10 -
Email Varchar 30 -
Payment

Field Name Data Type length Primary Key


Paid Varchar 3 Yes
Ptype Varchar 10 -
Pamnt Number 10 -

Billing

Field Name Data Type length Primary Key


Bill_No Autonumber 10 Yes
Ptype Varchar 10 -
Pamnt Number 10 -
Date Date/Time 10 -

You might also like