Answered step by step
Verified Expert Solution
Question
1 Approved Answer
5. Write a SQL statement to get data from location table excluding the duplicates cities. (5 points) 6. Write a query to finds customer
5. Write a SQL statement to get data from location table excluding the duplicates cities. (5 points) 6. Write a query to finds customer whose first names start with 'An' and last names are not 'Ky' and return the position of 'd' in each first name; and sort results by their first names in ascending order. (5 points) 7. Write a query to display street address of the location where the postal_code status is unknown and display only first 10 records. (5 points) 8. Write a query to display the budget of projects, based on the following logic: if the budget is less than 2000000, display the budget group as LOW, from 2000000 to 4000000 as MIDDLE, from 4000000 as HIGH, order by project name in ascending order. (5 points).
Step by Step Solution
★★★★★
3.38 Rating (157 Votes )
There are 3 Steps involved in it
Step: 1
5 Get data from the location table excluding duplicate cities SELECT DISTINCT City FROM L...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