0% found this document useful (0 votes)
63 views2 pages

DBTABLES

The document describes the structure of 4 database tables: 1) An items table with columns for item code, path, name, quantity, description, and cost. 2) A customer registration table with columns for name, user ID, password, address, city, state, pin code, and email. 3) A login table with user ID and password columns. 4) A bank database table with columns for credit number, password, amount, and ID.

Uploaded by

api-3734530
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 DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views2 pages

DBTABLES

The document describes the structure of 4 database tables: 1) An items table with columns for item code, path, name, quantity, description, and cost. 2) A customer registration table with columns for name, user ID, password, address, city, state, pin code, and email. 3) A login table with user ID and password columns. 4) A bank database table with columns for credit number, password, amount, and ID.

Uploaded by

api-3734530
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 DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Table1. Table for available items in the shop.

ITEMLIST
Name Constraints Type

ITEMCODE PRIMARY KEY VARCHAR2(10)


ITEMPATH VARCHAR2(100)
ITEMNAME NOT NULL VARCHAR2(10)
TOTAL_NUM NOT NULL NUMBER(4)
ITEMDESCRIPTION NOT NULL VARCHAR2(30)
COST NUMBER(8,2)

Table2. RegistrationTable

CUSTREGISTRATION
Name Constraint Type

NAME NOT NULL VARCHAR2 (15)


USERID PRIMARY KEY VARCHAR2 (20)
PASSWORD NOT NULL VARCHAR2 (8)
ADDRESS NOT NULL VARCHAR2 (30)
CITY NOT NULL VARCHAR2 (30)
STATE NOT NULL VARCHAR2 (20)
PIN CODE NOT NULL VARCHAR2 (6)
E-MAIL NOY NULL VARCHAR2 (30)
Table 3. Login Table
LOGIN

Name Constraint Type

USERID PRIMARY KEY VARCHAR2(20)


PASSWORD NOT NULL VARCHAR2(8)

Table 4. Bank Database


BANKDB

Name Constraint Type

CREDITNO NOTNULL VARCHAR2(20)


PASSWORD NOTNULL VARCHAR2(8)
AMOUNT NUMBER(10,2)
ID NOTNULL NUMBER(20)

You might also like