Consider the following ACTORS, FILMS and ACTEDIN relations for this problem. АСTORS FILMS SSNO FName LName YearOfBirth Gender Film FilmTitle Number Lengthin Production OfPrices Mins Yearof No 1 Bruce...


Consider the following ACTORS, FILMS and ACTEDIN relations for this problem.<br>АСTORS<br>FILMS<br>SSNO FName<br>LName<br>YearOfBirth<br>Gender<br>Film FilmTitle<br>Number Lengthin<br>Production OfPrices Mins<br>Yearof<br>No<br>1<br>Bruce<br>Willis<br>1955<br>male<br>1<br>The Sixth Sense<br>1999<br>32<br>107<br>Milla<br>Jονοvich<br>1975<br>female<br>2<br>Sin City<br>2005<br>31<br>124<br>3<br>Clint<br>Eastwood 1930<br>male<br>3<br>The Fifth Element<br>1997<br>126<br>4<br>Turkan<br>Sray<br>1945<br>female<br>4<br>Unforgiven<br>1992<br>40<br>131<br>Kevin<br>Costner<br>1955<br>male<br>5<br>A Perfect World<br>1993<br>22<br>138<br>Robert<br>De Niro<br>1943<br>male<br>6.<br>A Bronx Tale<br>1993<br>1<br>177<br>7<br>Yilmaz<br>Guney<br>1937<br>male<br>The Godfather I|<br>7<br>1974<br>16<br>202<br>8.<br>Al<br>Pacino<br>1940<br>male<br>8<br>Once Upon a Time in America<br>1984<br>13<br>229<br>9<br>Danny<br>Devito<br>1944<br>male<br>9<br>One Flew Over the Cuckoo's Nest 1975<br>35<br>131<br>10<br>Jack<br>Nicholson 1937<br>male<br>10<br>The Departed<br>2006<br>94<br>151<br>11<br>Tarik<br>Akan<br>1949<br>male<br>11<br>The Shining<br>1980<br>3<br>146<br>12<br>Kadir<br>Inanir<br>1949<br>male<br>12<br>Titanic<br>1997<br>121<br>194<br>13<br>Selvi Boylum Al Yazmalim<br>1977<br>90<br>АСТEDIN<br>14<br>Yol<br>1982<br>6<br>114<br>SSNO<br>FilmNo<br>Character<br>15<br>Inception<br>2010<br>148<br>148<br>1<br>1<br>Dr. Malcolm Crowe<br>1<br>2<br>Hartigan<br>1<br>3<br>Korben Dallas<br>2<br>3<br>Leeloo<br>3<br>4<br>Bill Munny<br>3<br>Chief Red Garnett<br>4<br>13<br>Asya<br>Robert 'Butch' Haynes<br>6.<br>Lorenzo<br>7<br>Vito Corleone<br>8<br>David 'Noodles' Aaronson<br>7<br>Michael Corleone<br>9<br>Martini<br>10<br>R.P. McMuphy<br>10<br>10<br>Frank Costello<br>10<br>11<br>Jack Torrance<br>Seyit Ali<br>11<br>14<br>12<br>13<br>Ilyas<br>2.<br>

Extracted text: Consider the following ACTORS, FILMS and ACTEDIN relations for this problem. АСTORS FILMS SSNO FName LName YearOfBirth Gender Film FilmTitle Number Lengthin Production OfPrices Mins Yearof No 1 Bruce Willis 1955 male 1 The Sixth Sense 1999 32 107 Milla Jονοvich 1975 female 2 Sin City 2005 31 124 3 Clint Eastwood 1930 male 3 The Fifth Element 1997 126 4 Turkan Sray 1945 female 4 Unforgiven 1992 40 131 Kevin Costner 1955 male 5 A Perfect World 1993 22 138 Robert De Niro 1943 male 6. A Bronx Tale 1993 1 177 7 Yilmaz Guney 1937 male The Godfather I| 7 1974 16 202 8. Al Pacino 1940 male 8 Once Upon a Time in America 1984 13 229 9 Danny Devito 1944 male 9 One Flew Over the Cuckoo's Nest 1975 35 131 10 Jack Nicholson 1937 male 10 The Departed 2006 94 151 11 Tarik Akan 1949 male 11 The Shining 1980 3 146 12 Kadir Inanir 1949 male 12 Titanic 1997 121 194 13 Selvi Boylum Al Yazmalim 1977 90 АСТEDIN 14 Yol 1982 6 114 SSNO FilmNo Character 15 Inception 2010 148 148 1 1 Dr. Malcolm Crowe 1 2 Hartigan 1 3 Korben Dallas 2 3 Leeloo 3 4 Bill Munny 3 Chief Red Garnett 4 13 Asya Robert 'Butch' Haynes 6. Lorenzo 7 Vito Corleone 8 David 'Noodles' Aaronson 7 Michael Corleone 9 Martini 10 R.P. McMuphy 10 10 Frank Costello 10 11 Jack Torrance Seyit Ali 11 14 12 13 Ilyas 2.
For the following Relational Algebra / SQL statements, specify the output of each query. (do<br>not explain how each query will be executed, but specify the output to be obtained when the<br>query is executed).<br>(a) R1: ACTORS WHERE YearOfBirth > 1948<br>C: R1 [ LName ]<br>(b)<br>SELECT FilmTitle<br>FROM FILMS<br>WHERE (LengthInMins BETWEEN 100 AND 200) AND<br>FilmTitle LIKE '[^ATO]%'<br>ORDER BY FilmTitle<br>(c)<br>R1: ACTORS WHERE YearofBirth < 1940 OR Gender = 'female'<br>R2(SSNO, FName, LName): RI [ SSN0, FName, LName ]<br>R3: R2 NATURAL-JOIN ACTEDIN OVER SSNO<br>C: R3 [ LName, Character ]<br>

Extracted text: For the following Relational Algebra / SQL statements, specify the output of each query. (do not explain how each query will be executed, but specify the output to be obtained when the query is executed). (a) R1: ACTORS WHERE YearOfBirth > 1948 C: R1 [ LName ] (b) SELECT FilmTitle FROM FILMS WHERE (LengthInMins BETWEEN 100 AND 200) AND FilmTitle LIKE '[^ATO]%' ORDER BY FilmTitle (c) R1: ACTORS WHERE YearofBirth < 1940 or gender = 'female' r2(ssno, fname, lname): ri [ ssn0, fname, lname ] r3: r2 natural-join actedin over ssno c: r3 [ lname, character ] 1940="" or="" gender='female' r2(ssno,="" fname,="" lname):="" ri="" [="" ssn0,="" fname,="" lname="" ]="" r3:="" r2="" natural-join="" actedin="" over="" ssno="" c:="" r3="" [="" lname,="" character="">
Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here