SQL Intro Flashcards

1
Q

What is SQL

A

Structured Query Language - programming language designed for working with databases

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

Data Value

A

One piece of a record, i.e. a single cell value

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

Record

A

A full set of data values, i.e. a row

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

Field

A

Column in a table containing specific information about every record in the table

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

Tabular Data

A

Data stored on tables

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

Entity

A

The smallest unit that can contain a meaningful set of data

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

Database Designer

A

Lays the foundation for your system. They will do this by first drawing a Entity-Relationship (ER) Diagram and/or Relational Schema

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

Entity-Relationship (ER) Diagram

A

Shows the different entities and their relationships within the system

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

Relational Schema

A

An existing idea of how the database must be organized. It is useful if you are certain of the structure/organization of the database you are designing. They are blueprints for databases

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

Data Manipulation

A

Using database to extract business insights

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

Database Management

A

Refers to all the steps a business manager takes to design, create, and manipulate a database

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

Database Administration

A

Daily care and maintenance of the database

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

Primary Key - what is it and can there be more than one in a table? Do all tables need a primary key?

A

Column or set of columns whose value exists and is unique for every record in a table. Each table can only have one primary key. Cannot have null values. Not all tables require a primary key.

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

Foreign Key (FK) - What is it, and can it have repeating and/or null values?

A

Identifies the relationship between tables, not the tables themselves. Repeating and/or Null values are allwoed

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

Unique Key - what is it, and can it contain null values? Can there be more than one Unique Key?

A

Used whenever you want to specify that there should not be duplicate values in a given field, but that that field is NOT a Primary Key. In this case, Null Values are allowed. THere can be more than one Unique Key

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

Relationships

A

Tell you how much of the data from a FK field can be seen in a PK of the table the data is related to and vice versa