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

Art Gallery Database

The document describes the normalization of attributes for an art gallery database including tables for artists, artworks, exhibitions, rentals, orders, and customers. It lists the attributes, data types, field sizes, constraints, and whether normalization is required for each table. Default values are also specified for some city fields. The tables will be used to store information about artists, their artworks, exhibitions of the artworks, rental and purchase orders, and customer details.

Uploaded by

Blen Tenaw
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
118 views

Art Gallery Database

The document describes the normalization of attributes for an art gallery database including tables for artists, artworks, exhibitions, rentals, orders, and customers. It lists the attributes, data types, field sizes, constraints, and whether normalization is required for each table. Default values are also specified for some city fields. The tables will be used to store information about artists, their artworks, exhibitions of the artworks, rental and purchase orders, and customer details.

Uploaded by

Blen Tenaw
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Art gallery database

Attributes

1) Artist: Artist-Id, A-F name, A-L name, A-age, A-date of birth, A-sex, A-address, A-city, A-sub city,
A-woreda, A-HNO, A-phone number,
2) Artwork: Artwork-ID, Year, Title, Price, Description, Type
3) Exhibition: Exhibition-no, Name gallery, start date, End date, E-address, E-city, E-sub city, E-
woreda
4) Rental: Rental-no, rental start date, Rental End Date, rental price
5) Order to Buy: Order-no, Order price, Order Date
6) Customer: Customer-ID, C-F name, C-L name, Email, C-sex, C-age, C-phone number, C-address,
C-city, C-sub city, C-woreda, C-HNO
NORMALIZATION FOR ARTIST

Attribute Datatype Field size constraint Normalization default size


required or not
required

Artist ID text 9 Req


A-First name text 25 Req
A-last name text 25 Req
A-Age no - Req
A-sex text 1 Req
A-city text 25 Req A.A
A-subcity text 25 Req
A-woreda no 25 Req
A-HNO no 5 Req
A-cellphone 1 text 17 Req
A-cellphone 2 text 17 Not Req

Artwork ID text 9 Req

NORMALIZATION FOR ARTWORK

Attribute Data type Field size constraint Normalization Default size


req or not req
Artwork ID text 9 Req
Year no 4 Req
Title text 25 Req
Price No - Req
Description text 50 Req
Type text 25 Req
Exhibition No text 9 req
NORMALIZATION FOR EXIHIBITION

Attribute Data type Field size constraint Req or not req Default value

Exhibition No text 9 Req

Name text 25 Req


Start date Date/Time 8 req

End date Date/Time 8 Req


E-city text 25 Req Addis Ababa

E-subcity text 25 Req

E-woreda no - Req
Rental No Number 9 Req

NORMALIZATION FOR RENTAL

Attribute Data type Field size constraint Normalization Default size


req or not req
Rental No Number 9 Req

Rental start Date/Time 8 Req


date
Rental end date Date/Time 8 Req

Rental price no - Req

Order No text 9 Req


NORMALIZATION FOR ORDER TO BUY

Attribute Data type Field size constraint Normalization Default size


req or not req
Order No text 9 Req
Order price no - Req
Order date Date/Time 8 Req
Costumer ID text 9 Req

NORMALIZATION FOR CUSTOMER

Attribute Data type Field size constraint Req or not req Default value
Costumer ID text 9 Req
c-Fname text 25 Req
C-Lname text 25 Req
Email text 25 Req
C-sex text 1 Req
C-age no - >18 Req
C-city text 25 Req A.A
C-subcity text 25 Req
C-woreda no - Req
C-cell phone 1 text 17 Req
Artist ID text 9 Req

You might also like