0% found this document useful (0 votes)
79 views8 pages

Type - Id Number PK User - Name Text

The document describes the structure of multiple database tables, including fields, data types, and primary keys. It includes tables for users, customers, categories, products, orders, order details, and user activities with fields like user_id, cust_id, cat_id, prod_id, order_id, id, and type_id. Data types are numbers, text, dates, and booleans and primary keys are marked for each table.

Uploaded by

Rohan Jain
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 XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views8 pages

Type - Id Number PK User - Name Text

The document describes the structure of multiple database tables, including fields, data types, and primary keys. It includes tables for users, customers, categories, products, orders, order details, and user activities with fields like user_id, cust_id, cat_id, prod_id, order_id, id, and type_id. Data types are numbers, text, dates, and booleans and primary keys are marked for each table.

Uploaded by

Rohan Jain
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 XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Field Name Data Type Description

Type_id Number PK
User_name Text
Field Name Data Type Description

User_id Number PK
User_name Text
password Text
Type_id Number
Last_login date/time
Active yes/no
Mobile_no Number
Field Name Data Type Description

Cust_id Number PK
Cust_name Text
Phone_no Number
Address Text
Order_limit Number
Tin_no Number
Company Text
Field Name Data Type Description

Cat_id Number PK
Cat_name Text
Field Name Data Type Description

Prod_id Number PK
Cat_id Text
Prod_name Text
Price Number
Unit Number
Field Name Data Type Description

Order_id Number PK
Order_date date/time
Cust_id Number FK
User_id Number FK
Total_amt Number
Status text
Field Name Data Type Description

Id Number PK
order_id Number FK
Prod_id Number FK
Qty Number
Price Number
Amt Number
Field Name Data Type Description

Id Number PK
user_id Number
Activity_done text
Detail text
Date-time date/time

You might also like