Answered step by step
Verified Expert Solution
Link Copied!

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

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Programming With Microsoft Visual Basic 2017

Authors: Diane Zak

8th Edition

1337102121, 9781337517058, 978-1337102124

More Books

Students also viewed these Programming questions

Question

Explain the statement, In the long run, there are no fixed costs.

Answered: 1 week ago