You are on page 1of 20

Unormalized Form

staffID
staffUsername
staffPassword
staffFirstName
staffMiddleName
staffLastName
staffAddress
staffContactNo
staffBirthdate
customerID
customerUsername
customerPassword
customerFirstName
customerMiddleName
customerLastName
customerAddress
customerContactNo
customerBirthdate
serviceID
serviceType
servicePrice
jobID
daterecieved
datepickup
weight
totalPrice
itemID
item
qty
transactionID
Cash
TotalPrice
Change
transDate

1st Normal Form


staffID
staffUsername
staffPassword
staffFirstName
staffMiddleName
staffLastName
staffAddress
staffContactNo
staffBirthdate
customerID
customerUsername
customerPassword
customerFirstName
customerMiddleName
customerLastName
customerAddress
customerContactNo
customerBirthdate
serviceID
serviceType
servicePrice
jobID
daterecieved
datepickup
weight
totalPrice
itemID
item
qty
transactionID
Cash
TotalPrice
Change
transDate

2nd Noral Form


staff_tbl
staffID (PK)
staffUsername
staffPassword
staffFirstName
staffMiddleName
staffLastName
staffAddress
staffContactNo
staffBirthdate
customer_tbl
customerID (PK)
customerUsername
customerPassword
customerFirstName
customerMiddleName
customerLastName
customerAddress
customerContactNo
customerBirthdate
service_tbl
serviceID (PK)
serviceType
servicePrice
job_tbl
jobID (PK)
daterecieved
datepickup
weight
totalPrice
item_tbl
itemID (PK)
item
qty
trans_tbl
transactionID (PK)
Cash
TotalPrice
Change
transDate

3rd Normal Form


staff_bl
staffID (PK)
staffUsername
staffPassword
staffFirstName
staffMiddleName
staffLastName
staffAddress
staffContactNo
staffBirthdate
customer_tbl
customerID (PK)
customerUsername
customerPassword
customerFirstName
customerMiddleName
customerLastName
customerAddress
customerContactNo
customerBirthdate
service_tbl
serviceID (PK)
serviceType
servicePrice
job_tbl
jobID (PK)
daterecieved
datepickup
weight
totalPrice
staffID (FK)
customerID (FK)
serviceID(FK)
item_tbl
itemID (PK)
item
qty
jobID (FK)
trans_tbl
transactionID (PK)
Cash
TotalPrice
Change
transDate
customerID

Unormalized Form
staffID

staffUsername

staffPassword

1st Normal Form


staffID

staffUsername

staffPassword

staffUsername

staffPassword

2nd Normal Form


staff_tbl
staffID
PK
customer_tbl
customerID
PK
service_tbl
serviceID
PK
job_tbl
jobID
PK
item_tbl
itemID
PK
trans_tbl
transactionID
PK
3rd Normal Form
staff_tbl
staffID
PK
customer_tbl
customerID
PK
service_tbl
serviceID
PK
job_tbl
jobID
PK

customerUsername customerPassword

serviceType

servicePrice

daterecieved

datepickup

item

qty

Cash

TotalPrice

staffUsername

staffPassword

customerUsername customerPassword

serviceType

servicePrice

daterecieved

datepickup

item_tbl
itemID
PK
trans_tbl
transactionID
PK

item

qty

Cash

TotalPrice

staffFirstName

staffMiddleName

staffLastName

staffFirstName

staffMiddleName

staffLastName

staffFirstName

staffMiddleName

staffLastName

customerFirstName customerMiddleName

weight

totalPrice

Change

transDate

staffFirstName

staffMiddleName

customerLastName

staffLastName

customerFirstName customerMiddleName

customerLastName

weight

staffID
FK

totalPrice

jobID
FK
Change

transDate

customerID

staffAddress

staffContacto

staffBirthdate

staffAddress

staffContacto

staffBirthdate

staffAddress

staffContacto

staffBirthdate

customerAddress

customerContactNcustomerBirthdate

staffAddress

staffContacto

customerAddress

customerContactNcustomerBirthdate

customerID
FK

serviceID
FK

staffBirthdate

customerID

customerUsername customerPassword

customerID

customerUsername customerPassword

customerFirstName

customerMiddleName

customerLastName

customerFirstName

customerMiddleName

customerLastName

customerAddress

customerContactNo

customerBirthdate

serviceID

customerAddress

customerContactNo

customerBirthdate

serviceID

serviceType

servicePrice

jobID

daterecieved

datepickup

serviceType

servicePrice

jobID

daterecieved

datepickup

weight

totalPrice itemID

item

qty

transactioCash

weight

totalPrice itemID

item

qty

transactioCash

TotalPrice Change

transDate

TotalPrice Change

transDate

You might also like