Consider the following relational schemas
Singer(singerid: number(4); singer_name: varchar2(20); city:varchar2(15); street: varchar2(10); city: varchar2(15))
Sings(singerid: number(4); lyricid: number(4))
Lyric( lyricid: number(4); duration: number(3); dor: date;lyric_writer: varchar2(20); movie: varchar2(25))
Note: ‘dor’ stands for ‘date of recording’.
Do the following
1. Create the above tables with primary on appropriate fields.Enforce the foreign keys on the fields of ‘Sings’ table.
2. Ensure that duration of each lyric should be not less than 5minsand not more than 7 mins. Also ensure that field ‘singer_name’should not be null. Eliminate ‘street’ field.
3. Add at least 6 records to each table as per the requirements ofqueries given below
4. Display lyricid sung by each singer
PayPal Gateway not configured
PayPal Gateway not configured