• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 8 pages
Exam (elaborations)

CS6400 - Exam 3 UPDATED ACTUAL Questions and CORRECT Answers

Document preview thumbnail
Preview 2 out of 8 pages

CS6400 - Exam 3 UPDATED ACTUAL Questions and CORRECT Answers Natural Join - CORRECT ANSWER- The result of this is the set of all combinations of tuples in R and S that are equal on their common attribute names. A special case of an equijoin. Left Outer Join - CORRECT ANSWER- A construct operator which results in the set of all combinations of tuples in R and S that are equal on their common attribute names, in addition (loosely speaking) to tuples in R that have no matching tuples in S

Content preview

CS6400 - Exam 3 UPDATED ACTUAL
Questions and CORRECT Answers
Natural Join - CORRECT ANSWER✔✔- The result of this is the set of all combinations of
tuples in R and S that are equal on their common attribute names. A special case of an
equijoin.


Left Outer Join - CORRECT ANSWER✔✔- A construct operator which results in the set of
all combinations of tuples in R and S that are equal on their common attribute names, in
addition (loosely speaking) to tuples in R that have no matching tuples in S.


Insert - CORRECT ANSWER✔✔- A basic SQL operation in which new records are added to
a table.


Delete - CORRECT ANSWER✔✔- A basic SQL operation in which existing records are
removed from a table.


Update - CORRECT ANSWER✔✔- A basic SQL operation in which existing records are
changed in a table.


Select * - CORRECT ANSWER✔✔- A basic SQL operation in which existing records are
chosen from a table.


Select Distinct - CORRECT ANSWER✔✔- A basic SQL operation in which only unique
existing records are chosen from a table.


Intersect - CORRECT ANSWER✔✔- Set operator which includes all tuples that are in both
R and S.


Union - CORRECT ANSWER✔✔- Set operator which includes all tuples that are either in R
or in S or in both R and S. Duplicates are removed.


Union All - CORRECT ANSWER✔✔- set operator which includes all tuples that are either
in R or in S or in both R and S. Duplicates are not removed.

, Count(*) - CORRECT ANSWER✔✔- SQL function which returns the number of rows that
matches the specified criteria.


Group By - CORRECT ANSWER✔✔- SQL operator which rolls up the result set by one or
more columns.


Equijoin - CORRECT ANSWER✔✔- A theta join using the equality operator



Difference / Minus - CORRECT ANSWER✔✔- Set operator which includes all tuples that
are in R but not in S


Theta Join - CORRECT ANSWER✔✔- A construct operator which allows for arbitrary
comparison relationships (such as >=)


Inner Join - CORRECT ANSWER✔✔- Requires each row in the two joined tables to have
matching column values.


Cartesian Product - CORRECT ANSWER✔✔- A construct operator which results in the set
of all combinations of tuples in R and S


Reflexive Inference Rule - CORRECT ANSWER✔✔- If Y is a subset of X, then X -> Y. i.e.
EG -> G


Augmentation Inference Rule - CORRECT ANSWER✔✔- If X -> Y, then XZ -> YZ for any
Z i.e. E->A, therefore EG->AG


Transitive Inference Rule - CORRECT ANSWER✔✔- If X -> Y and Y -> Z, then X -> Z,
i.e. B->E, E->A, therefore B->A


Decomposition Inference Rule - CORRECT ANSWER✔✔- If X -> YZ then X -> Y and X -
>Z

Document information

Uploaded on
November 20, 2024
Number of pages
8
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

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.
STANFORDGRADESS
4.0
(240)
Sold
1669
Followers
108
Items
121810
Last sold
9 hours 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