Professional Documents
Culture Documents
Databse Management System
Databse Management System
Databse Management System
PAINTING
Paint_Type Base_Materials Style Price
STATUE
Material_Type Height Weight Style Price
Creating Tables
DATABASE MANAGEMENT SYSTEM
Art_Object
Painting
Statue
Inserting Values
Tables
Art_Object
Painting
Statue
Queries
Retrieve the names of the artist who have worked on abstract style
>select artist_name
Artist_name
karthik
Retrieve the price of the painting have the base material as fiber and its paint type as water
>select price
DATABASE MANAGEMENT SYSTEM
>from painting
price
22000
21000
>where artist_name=’sahitya’;
>select id_no,artist_name,year_created
>from art_object
>where id_no>1
>order by year_created;
Create view paint_info consisting of id no, artist name, paint type, price
>select id_no,artist_name,paint_type,price
>where a.title=p.style;
>update art_object
>set artist_name=’ibrahim’
>where id_no=1;