• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 4 pages
Exam (elaborations)

MIT Final Examination Study Material - Expert-Verified Solutions

Document preview thumbnail
Preview 1 out of 4 pages

MIT Final Examination Study Material - Expert-Verified Solutions Give names of manufacturers and their cities that are located in cities with names ending with 'City'. - answer - SELECT ManufacturerName, City FROM Manufacturer WHERE City LIKE '%City'; List the information of each sale item where 2 or more items were sold but only for sizes 5, 6, and 7 (Use the keyword IN.) Show all sale item information. - answer - SELECT * FROM SaleItem WHERE Quantity = 2 AND ItemSize IN (5, 6, 7); Give date and the sum of tax and shipping for each sale from December 20th through December 25th of 2015. (use BETWEEN. Name the calculated column SUM) - answer - SELECT SaleDate, (Tax + Shipping) AS SUM FROM Sale WHERE SaleDate BETWEEN '' AND ''; What is the customerID for Sam Gill? - answer - SELECT CustomerID FROM Customer WHERE FirstName = 'Sam' AND LastName = 'Gill'; What are the sales dates and shipping amount of sales with over $55 of shipping charges? - answer - SELECT SaleDate, Shipping FROM Sale WHERE Shipping 55; List the data in the Salaried Employees table about Salaried Employees earning between $40000 and $50000. (use between) - answer - SELECT * FROM SalaryEmployee WHERE Salary BETWEEN 40000 AND 50000; Give full names of customers that have a 'D' as the third character in their last names. Eliminate duplicates. - answer - Select distinct firstname, lastname from Customer where lastname like '__D%' Give names of manufacturers and their cities that are located in cities with names starting with 'C'. - answer - Select ManufacturerName, City from Manufacturer where City like 'C%' Make a list of all Manufacturers including ID, Name, Address1, Address2, City, State and PostalCode. Only include Manafacturers that have data in the Address2 field. - answer - Select ManufacturerID, ManufacturerName, Address1, Address2, City, State, PostalCode From Manufacturer where Address2 is Not Null List productID,product name, and list price for all shoes prices between $5 and $15. In addition, create a new column, NewListPrice, that will show a 7% increase in the list price. Round this new list price to 2 decimal points. - answer - SELECT ProductID, ProductName, ListPrice, ROUND(ListPrice * 1.07, 2) AS NewListPrice FROM Product WHERE ListPrice BETWEEN 5 AND 15; Who are the customers (first and last names) that bought "casual shoes" from the manufacturer named Timberland? (Note category names are lower case, manufacturer names are capitalized in the database.) - answer - Select distinct C.FirstName, C.LastName from Customer C join Sale S on C.CustomerID = S.CustomerID join SaleItem SI on S.SaleID = SI.SaleID join Product P on SI.ProductID = P.ProductID join Manufacturer M on P.ManufacturerID = M.ManufacturerID where Category = 'casual shoes' and ManufacturerName = 'Timberland' Give a list of employees (as Emp_FirstName, Emp_LastName) and their hire dates (as Emp_HireDate) and their Managers (as Mgr_FirstName, Mgr_LastName). Also include the managers hiredates (as Mgr_HireDate) Name the columns as indicated. Only show names and hire dates. - answer - Select nameas emp_firstname,ame as emp_lastname,ate as emp_hiredate,name as mgr_firstname,ame as mgr_lastname,ate as mgr_hiredatefrom employee ejoin employee mon erid = yeeid Which cities are manufacturers from who make boots? - answer - Select distinct Cityfrom Product Pjoin Manufacturer Mon P.ManufacturerID = M.ManufacturerIDand Category = 'boots' What are the names and list prices of products that sold on Valentines Day 2014? - answer - Select distinct ProductName,ListPricefrom Product Pjoin SaleItem SIon P.ProductID = SI.ProductIdjoin Sale S on S.SaleID = SI.SaleIDwhere SaleDate = '' How many customers have information listed in the Customer Table? Name the column NumOfCustomers. - answer - SELECT Count(*) as NumOfCustomers FROM Customer How many produc


Document information

Uploaded on
November 8, 2026
Number of pages
4
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
CA$17.61

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
aldrisraand
3.0
(1)
Sold
16
Followers
0
Items
10197
Last sold
2 hours ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.