SQL Flashcards

1
Q

Record

A

A single set of related data(row, data item, item)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Attribute

A

A property of a record. A record can have one or more properties.(column, data field, field)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Reading

A

Getting the value of something(getting, querying, selecting)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Database

A

An organized collection of stored and persisted data(db)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

SQL

A

A query and declarative language specifically designed to talk to relational databases(sequel)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Database entity

A

A single concept that needs to be stored in a table and database, such as a kind of person, product, thing, or object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Primary key

A

An attribute dedicated to being a unique identifier for each row in a table(PK)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Result Set

A

A set of rows from a database, as well as metadata about the query such as the column names, and the types and sizes of each column.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Query

A

A request to access data from a database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Compound Condition

A

A condition formed from multiple simple comparisons combined with one of the SQL logical operators: AND, OR, or NOT.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

One to Many Relationship

A

A relationship between two tables in a database where one record in a table can be associated with one or more records in another table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Many to Many Relationship

A

A relationship between two tables in a database where one record in either table can relate to many records in the other table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

One to One Relationship

A

A relationship between two tables in a database where one record in either table can relate to at most one record in the other table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Join Table

A

A table used to connect two other tables in order to establish a many to many relationship.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Entity Relationship Diagram

A

A graphical representation of a data model using entities, their attributes, and relationships between those entities. -> Database Diagram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Foreign Key

A

A column in a database table that comes from another table (also known as the referenced table) who’s value is either a primary key or another unique key in the referenced table.

17
Q

Join

A

A SQL operation which combines columns from one or more tables in a relational database.