Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Exam 2 Review SQL REVISED AND UPDATED FOR 2026/2027 ACTUAL EXAM COMPLETE QUESTIONS AND CORRECT DETAILED ANSWERS (VERIFIED ANSWERS) |ALREADY GRADED A+||BRAND NEW!!

Rating
-
Sold
-
Pages
8
Grade
A+
Uploaded on
06-05-2026
Written in
2025/2026

Exam 2 Review SQL REVISED AND UPDATED FOR 2026/2027 ACTUAL EXAM COMPLETE QUESTIONS AND CORRECT DETAILED ANSWERS (VERIFIED ANSWERS) |ALREADY GRADED A+||BRAND NEW!!

Institution
RPT121i SQL II
Course
RPT121i SQL II

Content preview

Exam 2 Review SQL

- Physical Database Design - ANS-• specification storage era necessities
• specification/ advent of appropriate report structures

• Multivalued attribute: - ANS-characteristic that could have more than one
cost for an entity-example.

• What is a database? - ANS-a shared series of logically associated continual facts, designed
to satisfy the needs of multiple users generally inside an
business enterprise.

24. List, in alphabetical order, the names of all personnel (managers)
who are now managing human beings with talent ID BS12; list
each manager's call handiest once, despite the fact that that supervisor manages
several human beings with this ability. - ANS-pick distinct b.EmployeeName as 'Manager'
from employee_t a, employee_t b, employeeskills_t
wherein a.EmployeeId = b.EmployeeSupervisor and employeeskills_t.Skillid= 'BS12' and
a.Employeename<b.Employeename order by using b.Employeename desc

25. Display the salesclerk call, product finish, and total
amount offered (label as TotSales) for each finish by way of every
salesclerk. - ANS-choose salespersonname, productfinish, Sum(orderedquantity) as 'TotSales'
from salesperson_t, product_t, orderline_t, territory_t, doesbusinessIin_t, customer_t, order_t
where product_t.Productid= orderline_t.Productid and
salesperson_t.Salesterritoryid=territory_t.Territoryid and
territory_t.Territoryid=doesbusinessIin_t.Territoryid and
doesbusinessIin_t.Customerid=customer_t.Customerid and
customer_t.Customerid=order_t.Customerid and order_t.Orderid=orderline_t.Orderid
institution via productfinish, salespersonname

26. Write a query to listing the variety of merchandise produced in
every paintings center (label as TotalProducts). If a piece middle
does not produce any merchandise, display the end result with a
total of 0. - ANS-choose WorkCenterId, Count (ProducedIn_t.ProductID) as 'TotalProducts' from
ProducedIn_t left outer be a part of Product_t on Product_t.ProductID=Product_t.ProductID
organization with the aid of WorkCenterId

27. The manufacturing supervisor at PVFC is concerned approximately aid
for purchased parts in products owned through customers.
A easy analysis he wants executed is to decide for every

, purchaser how many vendors are in the identical nation as that
patron. Develop a listing of all the PVFC clients with the aid of call
with the variety of companies inside the equal kingdom as that purchaser.
(Label this computed end result NumVendors.) - ANS-pick CustomerName, depend (VendorId)
from Vendor_t, Customer_t where Customer_t.CustomerState=Vendor_t.VendorState group
with the aid of CustomerName

28. Display the order IDs for customers who have now not made
any charge, yet, on that order. Use the set command
UNION, INTERSECT, or MINUS for your question. - ANS-pick OrderID from Order_t
besides
pick OrderID from Payment_t

29. Display the names of the states in which customers are living
however for which there is no shop clerk living in that country.
There are several ways to write this query. Try to write down it
without any WHERE clause. Write this query two methods,
the use of the set command UNION, INTERSECT, or MINUS
and now not the use of any of these instructions. Which changed into the maximum
herbal approach for you, and why? - ANS-choose customerstate
from customer_t
Except
pick SalespersonState
from Salesperson_t

choose awesome customerstate
from customer_t, salesperson_t
wherein SalespersonState < > customerstate

30. Write an SQL query to produce a list of all the products (i.E.,
product description) and the wide variety of instances every product
has been ordered. - ANS-choose ProductDescription, sum (OrderedQuantity) from Product_t,
OrderLine_t where Product_t.ProductID=Orderline_t.ProductID institution by way of
ProductDescription

31. Display the customer ID, name, and order ID for all consumer
orders. For the ones customers who do now not have any
orders, include them inside the show once. - ANS-pick Customer_t.CustomerID,
CustomerName, OrderID from Customer_t left outer be a part of Order_t on
Customer_t.CustomerID=Order_t.CustomerID

32. Display the EmployeeID and EmployeeName for those
personnel who do no longer possess the talent Router. Display the

Written for

Institution
RPT121i SQL II
Course
RPT121i SQL II

Document information

Uploaded on
May 6, 2026
Number of pages
8
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$12.99
Get access to the full document:

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


Also available in package deal

Get to know the seller

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.
Legitexams Teachme2-tutor
Follow You need to be logged in order to follow users or courses
Sold
67
Member since
1 year
Number of followers
1
Documents
1251
Last sold
12 hours ago

Welcome To my Store My Goal is to help you achieve your desired grades by providing credible study materials I'm happy to help you with quality documents On this page you will find quality study guides, Exams assignments, Research papers and Test Banks all verified correct . you'll find past and recent revised and verified study materials . Stay here and You'll find everything you need to pass !!! . I always ensure my documents are of high standards Be assured to get good grades and always leave a review after a purchase Refer a friend SUCCESS!!!!

Read more Read less
3.2

26 reviews

5
12
4
1
3
3
2
0
1
10

Recently viewed by you

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