Professional Documents
Culture Documents
Quezon City
College of Computer Studies
Bachelor of Science in Information Technology
IMGT 211
INFORMATION MANAGEMENT WITH LAB
Laboratory #5
Asynchronous Session Activity
Submitted by:
SQL:
Select * From Sales.Orders
Where orderdate LIKE '%2015-06%';
Screenshot:
SQL:
Screenshot:
Our Lady of Fatima University
Quezon City
College of Computer Studies
Bachelor of Science in Information Technology
SQL:
Select LastName
From HR.Employees
Where 2 = LEN(LastName) - LEN(REPLACE(LastName,'e',''));
Screenshot:
Our Lady of Fatima University
Quezon City
College of Computer Studies
Bachelor of Science in Information Technology
Table Name:
SQL:
Select orderid, SUM (qty*unitprice) as totalvalue
From Sales.OrderDetails
Group By orderid
Having SUM(qty*unitprice) >10000
Order By totalvalue DESC, orderid;
Screenshot: