Question
BITS SQL 4B Copy and paste tested SQL code under each question. 1. List client name and balance of all clients with a balance greater
BITS SQL 4B Copy and paste
tested SQL code under each question.
1. List client name and balance of all clients with a balance greater than the average balance of all clients from Easton
2. List client name and city of every client whose name contains the word Pizza or Shop.
3. List task ID, task description and price of all tasks with a price greater than that of a task with task ID WA33.
4. List client name and city of every client whose name ends with Pasta.
5. List client name and balance of all clients with a balance less than the average balance of all clients from either Sunland or Lizton.
6. List task ID, description, and price of all tasks with a price less than the average price of all tasks containing the word 'software' in the description.
7. What is the average credit limit of all clients?
8. List task description and price of all tasks with a price greater than the average price of all tasks in the DRM category.
9. What is the average balance of all clients with a credit limit of 7500?
10. List client name, balance, and consultant last name of every client whose credit limit is greater than the maximum credit limit of clients with a name starting with a letter S.
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