Course Solutions Uncategorized (Solved) : Consider Following Relational Schemas Singer Singerid Number 4 Singername Varchar2 20 City Q31677100 . . . .

(Solved) : Consider Following Relational Schemas Singer Singerid Number 4 Singername Varchar2 20 City Q31677100 . . . .

 

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

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Create Function Reduce Takes String Argument Prints Reduced Characters String Line Using P Q32396251 . . . .(Solved) : Create Function Reduce Takes String Argument Prints Reduced Characters String Line Using P Q32396251 . . . .

<p style="margin-left:36pt;">Create a function<strong>reduce</strong>, which takes a string as its argument and<strong>prints</strong> the reduced characters of the string oneach line.(using python)</p><p style="margin-left:36pt;">For example:</p><p style="margin-left:36pt;">>>>reduce("robot")</p><p style="margin-left:36pt;">robot</p><p style="margin-left:36pt;">robo</p><p style="margin-left:36pt;">rob</p><p style="margin-left:36pt;">ro</p><p style="margin-left:36pt;">r</p><p style="margin-left:36pt;"/><p