Question: Using DB, please convert below RA into SQL statements. Copy and paste sql statement and the result tables. (a) o maxRent > 400 (Client)

Using DB, please convert below RA into SQL statements. Copy and paste sql statement and the result tables. Branch branchNo street B005 BOO B003 B004 B002 Staf staf No fName Name SI 21 SG37 Ann SG14 David SA9 SG5 SL41

Using DB, please convert below RA into SQL statements. Copy and paste sql statement and the result tables. (a) o maxRent > 400 (Client) (b) branchNo, postCode (Branch) (c) o Client.clientNo= Viewing.clientNo ( clientNo,lastName (Client) > T clientNo,propertyNo (Viewing)) (d) city (Branch) - t city (PropertyForRent) (e) city (Branch) U city (PropertyForRent) (f) propertyNo, city (PropertyForRent) xViewing (g) Staff Staff.branchNo-Branch.branch No(o city='London'(Branch)) (h) Find the number of staff working in each branch and the sum of their salaries. Branch branchNo street B005 BOO B003 B004 B002 Staf staf No fName Name SI 21 SG37 Ann SG14 David SA9 SG5 SL41 A14 L94 DG4 PG36 PG21 PG16 PropertyForRent propertyNo street 22 Deer Rd 16 Argyi Stperdeen 103 an 5 Gla gow 32 Man e R Bristol 56 Clover Dr London CO46 CO87 CO40 CO93 Beech Ford Mary Howe Susan Brand Julie positio.. John White Manager M Assistani F S pervisor M Assistanu F Manager F Lee Assistant F CR0 CR76 CR50 CR32 CR50 city London Private Owner ownerNo fName IName Client cllentNo fNa...e IName CR76 John Kay 0207-774-5632 Flat CR56 Aline Stewart 0141-848-1825 Flat Viewing clientN pro..ertyNo city postcode Aberdeen AB/ 5SU 16 Holhead rsyll St London NW2 6 Lawren-e St Glasgow G11 9QX 2 Manor Rd Glasgow G32 4QX Glasgow G12 18 Dale Rd 5 Novar r Glasgow G12 9AX Flat postcoae W1 4EH B2 3SU G11 9QX B:9 1NZ I-W10 6EJ PA14 PG4 te:No CR74 Mike Ritchie 01475-392178 House CR62 Mary Tregear 01224-196720 Flat PG4 PA14 PG36 sex DOB view I 1-Oct-45 10- 'ov-60 24-Mar 53 19-Feb-70 Jun-40 13-Jun-65 con address Joe Keogh 2 Fergus Dr Aberdeen AB2 7SX Carol Farrel 6 Achray St, Glasgow G32 9DX Tina Murphy 63 Well St, Glasgow G42 Tony Shaw 12 Park Pl, Glasgow G4 OQR 24-May-04 too man 0-0 tuu emote sa ary branch No 30000 B005 12000 B003 18000 B003 9000 B007 24000 B003 9000 B005 type House Flat Flat Flat House preType maxRent 25-May-14 14-May-04-c uiri. g room 28-1.p1-04 rooms rert | 4 q 650 CO46 400 CO87 350 CO40 3 ownerNo staf No SA9 SL41 42 350 750 600 375 CO93 5 600 C087 4 450 C093 telNo 01224-861212 0141-357-7419 0141-943-1728 0141-225-7025 Registration clientNo CR 6 CR56 CR74 CRC runchNo BOU5 B003 SG37 SG37 SG 4 BU03 BUO? branchNo B007 B005 B003 B003 B003 B003 st ffNo SL41 SUC7 SG37 SAS duteJo.led J-n-0 11-Ap-0 16-Nov-49 -Mia -00

Step by Step Solution

3.37 Rating (147 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Youve provided a question regarding converting relational algebra expressions into SQL statements ba... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!