For each information request below, formulate a single SQL query to produce the required information. In each case, you should display only the columns requested. Be sure that your queries do not produce duplicate records unless otherwise directed.
List the information in the SaleItem table concerning green sneakers. Use the first letter of each table name as alias names. (Note: Colors are capitalized while categories are not. ) Note: Your answer should dynamically include all current columns in the saleItem table and any future changes to columns.
Bookmark question for laterList the information contained in the SaleItem table concerning the sales of slippers (whose category is slippers). Categories are not capitalized in the database. Note: Your answer should dynamically include all current columns and any future changes to columns
Bookmark question for laterList the information contained in the SaleItem table plus the product name and category concerning the sales of sneakers and the sales of casual shoes (categories) whose sale price is equal to $100. (Categories are not capitalized in the database.) Note: Your answer should dynamically include all current columns in SaleItem and any future changes to columns, plus the product name and category.
Bookmark question for laterList the states of customers who have purchases in January of 2015. Only show states and sort them alphabetically.1Open in Advanced EditorSave Answer Test Query
Bookmark question for laterWhat are the first and last names and postal codes of customers living in California who made purchases in January 2015? (States appear in the database as standard abbreviations, e.g. Alaska appears as “AK”). Show customer first name, last name, and postal code.
Bookmark question for laterWho are all the customers in Washington who made purchases in 2015? Sort by LastName. Only show first and last names.
Bookmark question for laterWhat categories of shoes were have been sold whose SalePrice is over $100. Only show categories.
Bookmark question for laterList the categories and colors of shoes manufactured by Puma. Sort the results by category then by color. Show only category and color.
Bookmark question for laterWhat are the names of manufacturers of heels with a list price of $50 or more? Only show manufacturer names.
Bookmark question for laterList Salaried employees whos salary is greater than $40,000. Show Employee first name, last name, hiredate and salary. Sort the data by hire date.
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