Lesson 3: Retrieving Data Result-Set Flashcards

1
Q

Keywords

A

A word that is considered a reserved SQL word that is used in a database operation.

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

SELECT

A

A SQL keyword that is used in a query statement to retrieve data rows from database tables (this tells you what rows of data you want pulled example FirstName LastName, City

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

FROM

A

A SQL keyword that is used in a query statement before the table name that identifies the table. Example Where Customer will pull all the info from the customers table

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

WHERE Clause

A

The WHERE clause is used to filter rows and only retrieve those that meet a specified condition. The specified conditon will use math operator symbols Example Where City = ‘Roswell’, Where amount > ‘100’

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

Column Names

A

The column names that were defined when the table was created. Example FirstName LastName

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

Filter Rows

A

Uses the WHERE clause to retrieve only the rows that meet a specified condition instead of all the data rows.

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

Limit Columns

A

A list of column names to retrieve in the SQL query instead of retrieving all the columns in a table.

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

Execute

A

Running a query statement to retrieve a result-set

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

SQL Syntax

A

SQL syntax refers to the rules and guidelines that must be followed as SQL queries are written. The punctuation, spaces, mathematical operators, and special characters have a special meaning when used inside of SQL query statements. Different database systems will use different syntax rules, but the majority of SQL query statements are standard, which means that, as you learn SQL in this course, it can be applied to other database systems.

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

Result-set

A

The data columns and rows retrieved when a SQL query is executed.

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

Example of SQL Syntax Structure

A

Select FirstName, LastName, Email

From Customers

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