You are on page 1of 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)