Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN: 9781337508841
Author: Carey
Publisher: Cengage
Bartleby Related Questions Icon

Related questions

Question
Customer (cid, name, surname, city, address, phone);
Account (aid, cid, amount, created, comment);
Transfer (tid, from_aid, to_aid, cid, amount, date, descr);
expand button
Transcribed Image Text:Customer (cid, name, surname, city, address, phone); Account (aid, cid, amount, created, comment); Transfer (tid, from_aid, to_aid, cid, amount, date, descr);
a) Write a query that selects the transfers done by customers from Izola in the last
month. For each of the selected transfers, print the target account IDs (to_aid), the
amount and the date. Use relational algebra!
b) Write a query that finds the names, surnames, and phone numbers of
customers who own an account to which there were transfers from more than 1000
source accounts (identified by from_aid) in the previous year. Use SQL!
expand button
Transcribed Image Text:a) Write a query that selects the transfers done by customers from Izola in the last month. For each of the selected transfers, print the target account IDs (to_aid), the amount and the date. Use relational algebra! b) Write a query that finds the names, surnames, and phone numbers of customers who own an account to which there were transfers from more than 1000 source accounts (identified by from_aid) in the previous year. Use SQL!
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
CMPTR
Computer Science
ISBN:9781337681872
Author:PINARD
Publisher:Cengage