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

Database Name

The document describes the structure of 6 database tables for a supermarket. The account table stores customer account information, the customer table stores customer profiles, the itemmaster table stores item catalog data, the materialh table tracks material receipts, the materiald table stores material receipt details, and the product_master table manages product batches. Each table definition includes the column names and data types.
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)
34 views

Database Name

The document describes the structure of 6 database tables for a supermarket. The account table stores customer account information, the customer table stores customer profiles, the itemmaster table stores item catalog data, the materialh table tracks material receipts, the materiald table stores material receipt details, and the product_master table manages product batches. Each table definition includes the column names and data types.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Database Name: Supermarket

Table Name: account Column Name Acid (Primary Key) Fname Lname Address Pass Type Contno Data Type Bigint (Auto increment) Varchar Varchar Varchar Varchar Varchar Varchar Length 10 50 50 250 50 50 20

Table Name: customer Column Name Data Type custid (Primary Key) Bigint (Auto increment) Name Varchar Address Varchar Pincode Varchar Contactnp Varchar Email Varchar Table Name: itemmaster Column Name item_code (Primary Key) item_name item_UOM item_type Data Type Bigint (Auto increment) Varchar Varchar Varchar Length 10 50 50 250 Length 10 50 250 50 50 50

Table Name: materialh Column Name


arrv_no (Primary Key) arrv_date bill_no Supplier po_num receip_value

Data Type Bigint (Auto increment) DateTime Varchar Varchar Varchar Varchar

Length 10 50 250 50 50

bill_date status

DateTime varchar

50

Table Name: materiald Column Name arrv_no (Primary Key)


po_num item_code qnty_no UOM Rate arrv_value

Data Type Bigint (Auto increment) Varchar Varchar Varchar Varchar Varchar Varchar

Length 10 50 50 250 50 50 50

Table Name: product_master Column Name prod_no (Primary Key)


prod_date prod_shift prod_batchno prod_supname product_code prod_quantity

Data Type Bigint (Auto increment) Datetime Varchar Varchar Varchar Varchar Varchar

Length 10 50 250 50 50 50

You might also like