MITS4003: Case Studies: Database Systems
MITS4003: Case Studies: Database Systems
– Create a report that shows the product name and supplier id for all
products supplied by Mayumi's and Pavlova, Ltd.
SELECT ProductName, SupplierID
FROM Products
WHERE SupplierID IN (SELECT SupplierID
FROM Suppliers
WHERE CompanyName IN ('Mayumi''s', 'Pavlova, Ltd'));
MITS4003 [Lesson 13] Copyright © 2020 VIT, All Rights Reserved 12
Case Study based on Queries (Cont…)
– Create a report that shows all products by name that are in the Dairy
Products category
SELECT ProductName
FROM Products
WHERE CategoryID = (SELECT CategoryID
FROM Categories
WHERE CategoryName = 'Dairy Products');
– Create a report showing employee orders.
SELECT Employees.EmployeeID, Employees.FirstName,
Employees.LastName, Orders.OrderID, Orders.OrderDate
FROM Employees JOIN Orders ON
(Employees.EmployeeID = Orders.EmployeeID)
ORDER BY Orders.OrderDate;
MITS4003 [Lesson 13] Copyright © 2020 VIT, All Rights Reserved 13
MITS4003
Revision: Database Systems
• Create Statement
• Create Database Statement
• Drop Database Statement
• Create Table Statement
• Truncate Table Statement
• Drop Table Statement
• Alter Table Statement
• INSERT INTO Statement
• Update Statement
• Delete Statement
• Analysis of Data
• Why Data Mining?
• What is Data Mining?
• Data Mining in easier terms….
• Data Mining and Querying
• Data Mining
• What Kinds of Data Can Be Mined?
• Data Mining Application Areas
• Data Mining Steps to Discover Knowledge
• Introduction
• Centralized and Client–Server Architectures
• Server System Architectures
• Parallel Systems
• Distributed Systems