Using the CAP database handout. Write the relational algebra
statement to answer the following question. Then write the SQL
statement to answer the same question.
Get aids of agents who place individual orders in dollar value
greater than $500 for customers living in Kyoto.
Dear Student ,
As per the requirement submitted above , kindly find the below solution.
Question :
SQL Query :
Select aid from orders,customers where orders.cid=customers.cid and dollars > 500 and city=’Kyoto’ ;
Explanation :
NOTE : PLEASE FEEL FREE TO PROVIDE FEEDBACK ABOUT THE SOLUTION.
Using the CAP database handout. Write the relational algebra statement to answer the following question. Then...
SQL 3) List aid of Agents that placed an order for customer c003 or customer c006. 4) List pid of Products that were Ordered for customer c003 or customer c006. 5) List the sum in dollars of all orders ResuitsMessages cname city cid 2 Basics Dallas c002 12 3 Allied las c003 8 ACME Duluth c004 8 5 ACME Kyoto c006 0 aid aname city 1a01Smith New York 6 2 a02 Jones Newark 3 a03 Brown Tokyo 7 4a04 Gray...