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 1 out of 2 pages
Exam (elaborations)

PY4E: Chapter 15 (Part 2) Multi-table Relational SQL- Questions and Answers

Document preview thumbnail
Preview 1 out of 2 pages

PY4E: Chapter 15 (Part 2) Multi-table Relational SQL- Questions and Answers

Content preview

PY4E: Chapter 15 (Part 2) Multi-table Relational
SQL- Questions and Answers

Which of the following is NOT a good rule to follow when developing a database model?
Use a person's email address as their primary key



If our user interface (i.e., like iTunes) has repeated strings on one column of the user interface,
how should we model this properly in a database? Make a table that maps the strings in
the column to numbers and then use those numbers in the column



Which of the following is the label we give a column that the "outside world" uses to look up a
particular row? Logical key



What is the label we give to a column that is an integer and used to point to a row in a different
table? Foreign key



What SQLite keyword is added to primary keys in a CREATE TABLE statement to indicate that
the database is to provide a value for the column when records are inserted?
AUTOINCREMENT



What is the SQL keyword that reconnects rows that have foreign keys with the corresponding
data in the table that the foreign key points to? JOIN




What happens when you JOIN two tables together without an ON clause? The number of
rows you get is the number of rows in the first table times the number of rows in the second table

Document information

Uploaded on
February 12, 2025
Number of pages
2
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$8.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.
StudyLoom01
4.2
(34)
Sold
133
Followers
35
Items
6912
Last sold
2 weeks 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