Lesson 8:Retrieving Data From Multiple Tables Flashcards
Subquery
A subquery is a query embedded in another query
SELECT Subquery
A SELECT subquery is embedded as another SELECT statement inside of a query
Outer Query
The main query that has an inner query embedded inside it.
Inner Query
This is a subquery; the query that is embedded inside another query.
IN
The IN conditional operator is a shorthand for multiple OR conditions. IN is used to filter records.
NOT
The NOT conditional operator is used to display a row if the condition is not true.
NOT IN
NOT IN combines the NOT and IN conditional operators. It will filter the result-set and retrieve rows that are NOT equal to the listed IN criteria.
OR
Or is a conditional operator where there are two or more conditions but only one must be true for the condition to be true.
AND
AND is a conditional operator for two or more conditions but both or all the conditions must be true for the condition to be true.
LIKE
The LIKE operator is used in the WHERE clause to find a specified pattern in a column. It is usually used with a wildcard.
Wildcard
A wildcard is a character that substitutes for one or more characters in a string. You have been using the * wildcard.
% Wildcard
Represents zero or more characters.
_ Wildcard
Represents a single character.