SQL Flashcards

(10 cards)

1
Q

Keys

A

Fields in a table that are used to identify specific rows

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

Tables

A

Tables are used to store and structure data in SQL. They are organized as rows and columns

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

Statements

A

Is the code used to retrieve or manipulate data in SQL

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

Joins

A

A JOIN clause is used to combine rows from two or more tables, based on a related column between them

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

Updates

A

Statement used to modify the existing records in a table

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

Deletes

A

Deletes a record in a table

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

Stored Procedures

A

A saved statement or group of statements that can be reused. Saves time on repetitive tasks.

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

Primary Key

A

A primary key is the unique identifier for records in a table. Usually it’s just an ID number

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

How do you extract information from a table?

A

You can use a SELECT statement to simply retrieve information or even SELECT INTO OUTFILE to extract the information into a document.

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

What is a JOIN statement?

A

A statement that joins 2 or more rows from tables

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