Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Database: join and union Part I- SQL JOIN & UNION 1. For all the transactions whose amounts exceed $110, display transaction ID, the amount of
Database: join and union Part I- SQL JOIN & UNION 1. For all the transactions whose amounts exceed $110, display transaction ID, the amount of the transaction, customer ID, and the available balance in the account associated with the transaction. 2. Find how many accounts were opened in each branch. Display the branch name and the number of accounts only if the branch has more than 5 accounts. 3. For a the transactions, retrieve transaction ID, amount of the transaction, customer ID, customer full mailing address and the available balance of the accounts associated with the transactions. (Hint: join 3 tables, use concat for full mailing address) 4. Retrieve the first name and last name of all presidents from the employee table and the officer table. (Hint: UNION) Part II - Client-Server Architecture For this part, use the world database in ist274csusb server. 1. Find the country codes of countries where population is over 200,000,000 or where Spanish is spoken by over 95% of the population. (Hint: UNION) 2. Retrieve the country name and life expectancy of countries that speak Chinese as an official language. (Hint: Use subquery or JOIN)
Database: join and union
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started