Question: 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

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

1 Expert Approved Answer
Step: 1 Unlock

5 Get data from the location table excluding duplicate cities SELECT DISTINCT City FROM L... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!