Package deal
WGU C170 COMPILATION BUNDLE
WGU C170 COMPILATION BUNDLE
[Show more]WGU C170 COMPILATION BUNDLE
[Show more]What is a table? 
A table is a persistent representation of a logical relation that is a relation whose contents can be saved for permanent use. 
 
 
 
What are the characteristics of a relational table? 
The characteristics of a relational table are that a table is perceived as a two-dimensional st...
Preview 4 out of 33 pages
Add to cartWhat is a table? 
A table is a persistent representation of a logical relation that is a relation whose contents can be saved for permanent use. 
 
 
 
What are the characteristics of a relational table? 
The characteristics of a relational table are that a table is perceived as a two-dimensional st...
elf-study activity 
Flashcards 
Learn 
Test 
Match 
 
 
A salesperson is authorized to sell many products and a product can be sold by many salespersons. 
 
Which kind of binary relationship does this scenario describe? 
 
A One-to-one 
B One-to-many 
C One-to-one binary 
D Many-to-many 
 
 
D 
 
 
...
Preview 4 out of 91 pages
Add to cartelf-study activity 
Flashcards 
Learn 
Test 
Match 
 
 
A salesperson is authorized to sell many products and a product can be sold by many salespersons. 
 
Which kind of binary relationship does this scenario describe? 
 
A One-to-one 
B One-to-many 
C One-to-one binary 
D Many-to-many 
 
 
D 
 
 
...
Domain 
In data modeling, the construct used to organize and describe an attribute's set of possible values. 
 
 
Primary key (PK) 
An identifier composed of one or more attributes that uniquely identifies a row. Also, a candidate key selected as a unique entity identifier. A minimal superkey. 
 
 ...
Preview 3 out of 22 pages
Add to cartDomain 
In data modeling, the construct used to organize and describe an attribute's set of possible values. 
 
 
Primary key (PK) 
An identifier composed of one or more attributes that uniquely identifies a row. Also, a candidate key selected as a unique entity identifier. A minimal superkey. 
 
 ...
domain 
In data modeling, the construct used to organize and describe an attribute's set of possible values 
 
 
 
superkey 
An attribute or attributes that uniquely identify each entity in a table. Any composite key with this is also this. 
 
 
 
candidate key 
A minimal superkey; that is, a key t...
Preview 2 out of 7 pages
Add to cartdomain 
In data modeling, the construct used to organize and describe an attribute's set of possible values 
 
 
 
superkey 
An attribute or attributes that uniquely identify each entity in a table. Any composite key with this is also this. 
 
 
 
candidate key 
A minimal superkey; that is, a key t...
Create Database Syntax 
CREATE DATABASE db_name; 
 
 
 
Simple SFW query syntax 
SELECT * FROM db_name WHERE column_name operator value; 
 
 
 
Cardinality: Inside or outside? 
Outside 
 
 
 
Modality: Inside or outside? 
Inside 
 
 
 
What commands are used with data definition? 
create, alter, dro...
Preview 1 out of 3 pages
Add to cartCreate Database Syntax 
CREATE DATABASE db_name; 
 
 
 
Simple SFW query syntax 
SELECT * FROM db_name WHERE column_name operator value; 
 
 
 
Cardinality: Inside or outside? 
Outside 
 
 
 
Modality: Inside or outside? 
Inside 
 
 
 
What commands are used with data definition? 
create, alter, dro...
Key 
they are used to ensure that each row in a table is uniquely identifiable. They are also used to establish relationships among tables and to ensure the integrity of the data. A key consists of one or more attributes that determine other attributes. For example, an invoice number identifies all ...
Preview 1 out of 2 pages
Add to cartKey 
they are used to ensure that each row in a table is uniquely identifiable. They are also used to establish relationships among tables and to ensure the integrity of the data. A key consists of one or more attributes that determine other attributes. For example, an invoice number identifies all ...
Add New Row 
INSERT INTO table_name (column1, column2, ...) 
VALUES (value1, value2, value3, ...); 
 
 
 
Update Row 
UPDATE table_name 
SET column1 = value1, column2 = value2, ... 
WHERE condition; 
 
 
 
Delete Row 
DELETE FROM table_name 
WHERE condition; 
 
 
 
Inner Join 
SELECT column_name(s) ...
Preview 1 out of 2 pages
Add to cartAdd New Row 
INSERT INTO table_name (column1, column2, ...) 
VALUES (value1, value2, value3, ...); 
 
 
 
Update Row 
UPDATE table_name 
SET column1 = value1, column2 = value2, ... 
WHERE condition; 
 
 
 
Delete Row 
DELETE FROM table_name 
WHERE condition; 
 
 
 
Inner Join 
SELECT column_name(s) ...
A salesperson is authorized to sell many products and a product can be sold by many salespersons. 
 
Which kind of binary relationship does this scenario describe? 
Many-to-many 
 
 
 
Refer to Diagram #2 
 
Which kind of relationship is displayed in this entity-relationship diagram? 
Many-to-many u...
Preview 2 out of 13 pages
Add to cartA salesperson is authorized to sell many products and a product can be sold by many salespersons. 
 
Which kind of binary relationship does this scenario describe? 
Many-to-many 
 
 
 
Refer to Diagram #2 
 
Which kind of relationship is displayed in this entity-relationship diagram? 
Many-to-many u...
Access plan 
A set of instructions generated at application compilation time that is created and managed by a DBMS. The access plan predetermines how an application's query will access the database at run time. 
 
 
 
Alias 
An alternative name for a column or table in a SQL statement. 
 
 
 
ALTER...
Preview 2 out of 15 pages
Add to cartAccess plan 
A set of instructions generated at application compilation time that is created and managed by a DBMS. The access plan predetermines how an application's query will access the database at run time. 
 
 
 
Alias 
An alternative name for a column or table in a SQL statement. 
 
 
 
ALTER...
A salesperson is authorized to sell many products and a product can be sold by many salespersons. 
 
Which kind of binary relationship does this scenario describe? 
 
One-to-one 
One-to-many 
Many-to-many 
One-to-one binary 
Many-to-many 
 
 
 
Which two examples are attributes? 
 
Choose 2 answers ...
Preview 3 out of 22 pages
Add to cartA salesperson is authorized to sell many products and a product can be sold by many salespersons. 
 
Which kind of binary relationship does this scenario describe? 
 
One-to-one 
One-to-many 
Many-to-many 
One-to-one binary 
Many-to-many 
 
 
 
Which two examples are attributes? 
 
Choose 2 answers ...
If integer values are relatively small, what should be used instead of INT? 
SMALLINT 
 
 
 
What is the SQL command that allows a user to list the contents of a table? 
SELECT 
 
 
 
What is the process the DBMS uses to verify that only registered users access the database? 
Authentication 
 
 
 
W...
Preview 1 out of 3 pages
Add to cartIf integer values are relatively small, what should be used instead of INT? 
SMALLINT 
 
 
 
What is the SQL command that allows a user to list the contents of a table? 
SELECT 
 
 
 
What is the process the DBMS uses to verify that only registered users access the database? 
Authentication 
 
 
 
W...
A database model 
is a conceptual framework for database software 
 
 
 
The relational model 
is a database model based on mathematical principles, with three parts: 
1. A data structure that prescribes how data is organized. 
2. Operations that manipulate data structures. 
3. Rules that govern val...
Preview 2 out of 13 pages
Add to cartA database model 
is a conceptual framework for database software 
 
 
 
The relational model 
is a database model based on mathematical principles, with three parts: 
1. A data structure that prescribes how data is organized. 
2. Operations that manipulate data structures. 
3. Rules that govern val...
The order of the rows and columns is important to the DBMS. 
 
True or False 
False 
 
 
 
PRODUCT yields all possible pairs of rows from two tables, also known as the _______ product. 
Cartesian 
 
 
 
According to Codd's ______ rule of relation database, "Application programs and ad hoc faciliti...
Preview 4 out of 46 pages
Add to cartThe order of the rows and columns is important to the DBMS. 
 
True or False 
False 
 
 
 
PRODUCT yields all possible pairs of rows from two tables, also known as the _______ product. 
Cartesian 
 
 
 
According to Codd's ______ rule of relation database, "Application programs and ad hoc faciliti...
AREA 
In DB2, a named section of permanent storage space that is reserved to store the database. 
 
 
 
associative entity 
See composite entity. 
 
 
 
bridge entity 
See composite entity. 
 
 
 
candidate key 
A minimal superkey; that is, a key that does not contain a subset of attributes that is ...
Preview 4 out of 37 pages
Add to cartAREA 
In DB2, a named section of permanent storage space that is reserved to store the database. 
 
 
 
associative entity 
See composite entity. 
 
 
 
bridge entity 
See composite entity. 
 
 
 
candidate key 
A minimal superkey; that is, a key that does not contain a subset of attributes that is ...
CREATE TABLE syntax 
DDL 
CREATE TABLE tableName ( 
colName dataType constraint 
INDEX indexName (colName) 
PRIMARY KEY (colName, colName) 
or 
colName dataType PRIMARY KEY 
FOREIGN KEY (colName, colName) 
REFERENCES tableName (colName) 
); 
 
 
 
CREATE INDEX syntax 
DDL 
CREATE [UNIQUE] INDEX inde...
Preview 1 out of 4 pages
Add to cartCREATE TABLE syntax 
DDL 
CREATE TABLE tableName ( 
colName dataType constraint 
INDEX indexName (colName) 
PRIMARY KEY (colName, colName) 
or 
colName dataType PRIMARY KEY 
FOREIGN KEY (colName, colName) 
REFERENCES tableName (colName) 
); 
 
 
 
CREATE INDEX syntax 
DDL 
CREATE [UNIQUE] INDEX inde...
1.1.1 - Conceptual Schema - ER Model 
 
Tables: Customer, DonutOrder, Donut 
Customer: 
PK - CustomerID 
Rest are customer related fields 
 
DonutOrder: 
FK - CustomerID, 
FK - DonutID 
Qty, SpecialNotes 
 
Donut: 
PK - DonutID 
Rest are donut fields 
 
Relationships: 
Customer - 1:n Identifying - D...
Preview 2 out of 6 pages
Add to cart1.1.1 - Conceptual Schema - ER Model 
 
Tables: Customer, DonutOrder, Donut 
Customer: 
PK - CustomerID 
Rest are customer related fields 
 
DonutOrder: 
FK - CustomerID, 
FK - DonutID 
Qty, SpecialNotes 
 
Donut: 
PK - DonutID 
Rest are donut fields 
 
Relationships: 
Customer - 1:n Identifying - D...
A salesperson is authorized to sell many products and a product can be sold by many salespersons. 
Which kind of binary relationship does this scenario describe? 
Many-to-many 
 
 
 
Which two examples are attributes? 
An employee number 
A meeting code 
 
 
 
Which delete rule sets column values in...
Preview 4 out of 53 pages
Add to cartA salesperson is authorized to sell many products and a product can be sold by many salespersons. 
Which kind of binary relationship does this scenario describe? 
Many-to-many 
 
 
 
Which two examples are attributes? 
An employee number 
A meeting code 
 
 
 
Which delete rule sets column values in...
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Stuvia is a marketplace, so you are not buying this document from us, but from seller FREEMANSHARP. Stuvia facilitates payment to the seller.
No, you only buy these notes for $37.49. You're not tied to anything after your purchase.
4.6 stars on Google & Trustpilot (+1000 reviews)
67866 documents were sold in the last 30 days
Founded in 2010, the go-to place to buy study notes for 14 years now