Part 3
Part 3 will require you to create your own SQL statements to satisfy the information requirements as outlined in this lab. Prior to completing this part of the lab; You should add additional test data to your database as needed in order to test your SQL statements.
Select Queries
Note: Do not use any foreign keys in the select list for any SQL statement.
S2_8
Create a list of customer names and their respective credit card numbers, credit card expiry date, city and province in the result set. Sort the information by city within province.
S2_9
Create a list of manufacturers names where the manufacturer name ends in ‘E’. Sort the information by manufacturers name in descending order.
S2_10
Create a distinct list of customer names for customers that live in Manitoba or British Columbia.
S2_11
Create a list of inventory items, MSRP price, price paid from the order details and calculate the difference between the two prices.
S2_12
Create a list of ship-to-city, order dates and ship dates. Sort the information by Ship-to-city and order dates.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more