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
Document preview thumbnail
Preview 2 out of 11 pages
Exam (elaborations)

CIS 3050 BANK 1 EXAM QUESTIONS AND ANSWERS 100% CORRECT

Document preview thumbnail
Preview 2 out of 11 pages

CIS 3050 BANK 1 EXAM QUESTIONS AND ANSWERS 100% CORRECT ...

Content preview

CIS 3050 BANK 1 EXAM QUESTIONS AND ANSWERS
100% CORRECT


The ________ operator is used to combine the output from multiple queries into a single
result table.

A) Intersect

B) Divide

C) Collate

D) Union - answer D

A ________ is a temporary table used in the FROM clause of an SQL query.

A) correlated subquery

B) derived table

C) view table

D) trigger - answer B

In order for two queries to be UNION-compatible, they must:

A) both have the same number of lines in their SQL statements.

B) both output compatible data types for each column and return the same number of
rows.

C) both return at least one row.

D) both return exactly one row. - answer B

The UNION clause is used to:

A) combine the output from multiple queries into a single result table.

B) join two tables together to form one table.

C) find all rows that do not match in two tables.

D) find all rows that are in one table, but not the other. - answer A

Establishing IF-THEN-ELSE logical processing within an SQL statement can be
accomplished by:

A) using the if-then-else construct.

, B) using the immediate if statement.

C) using the CASE key word in a statement.

D) using a subquery. - answer C



All of the following are guidelines for better query design EXCEPT:

A) understand how indexes are used in query processing.

B) use a lot of self-joins.

C) write simple queries.

D) retrieve only the data that you need. - answer B

A join operation:

A) brings together data from two different fields.

B) causes two tables with a common domain to be combined into a single table or view.

C) causes two disparate tables to be combined into a single table or view.

D) is used to combine indexing operations. - answer B

A join in which the joining condition is based on equality between values in the common
columns is called a(n):

A) equi-join.

B) unilateral join.

C) natural join.

D) both A and C. - answer D

The following code is an example of a(n):

SELECT Customer_T.CustomerID, Order_T.CustomerID, CustomerName, OrderID

FROM Customer_T, Order_T

WHERE Customer_T.CustomerID = Order_T. CustomerID;

A) equi-join.

B) subquery.

C) Full Outer JOIN.

Document information

Uploaded on
August 26, 2025
Number of pages
11
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$19.49

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.
Zayla
3.4
(18)
Sold
121
Followers
13
Items
15796
Last sold
1 week 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