You are on page 1of 4

Our Lady of Fatima University

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:

Falcon, Andrea Jill S


BSIT 2A1-Y3
October 20, 2020
Our Lady of Fatima University
Quezon City
College of Computer Studies
Bachelor of Science in Information Technology

Table Name: Sales.Order

SQL:
Select * From Sales.Orders
Where orderdate LIKE '%2015-06%';

Screenshot:

Table Name: Sales.Order

SQL:

Screenshot:
Our Lady of Fatima University
Quezon City
College of Computer Studies
Bachelor of Science in Information Technology

Table Name: HR.Employees

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:

You might also like