BASIC DATABASE
QUERIES
WILD CARD
JOINS
ADVANCE
100

Two-dimensional structure with rows and columns.

What is a table?


100

Specifies how data is sorted in a results set.


What is the ORDER BY clause?


100

'Invented' the relational database.


Who is E.F. Codd?


100

This type of join returns only matching records from both tables

What is INNER JOIN?

100

This clause groups data by one or more columns.

What is GROUP BY?

200

A type of database that 'relates' tables to each other.

What is a relational database?


200

In a SQL query, specifies the table that data is selected from.

What is the FROM clause?


200

Use the syntax /* */ or --

How do you add comments to SQL?


200

This type of join returns all records from the right table and matching records from the left table.

What is RIGHT JOIN or RIGHT OUTER JOIN?

200

This clause filters grouped data based on conditions.

What is HAVING?

300

This uniquely identifies a row in a table.

What is a primary key?


300

Selects everything from the PERSON table.


What does the following query do? SELECT * FROM PERSON;


300

Click the 'EXECUTE' command on the toolbar.

How do you 'run' a SQL Query?


300

This type of join returns all records from the left table and matching records from the right table.

What is LEFT JOIN or LEFT OUTER JOIN?

300

A query within a query, used for complex conditions.

What is SUBQUERY?

400

Contains the smallest unit of meaningful information in a row/record.

What is a field?


400

Allows you to specify pattern matches for data retrieval values.


What does IN allow you to do in SQL?


400

This SQL function returns the number of rows in a result set.

What is COUNT()?

400

 This type of join returns all records from both tables, with null values in unmatched rows.

What is FULL OUTER JOIN?

400

This type of subquery is used with the IN or NOT IN operators.

What is Multiple-Row Subquery?

500

Processing is divided between client and server.

What is a client-server system?


500

WHERE Weight is between 2000 and 3000 OR Where Weight is > 1999 and < 3001 OR WHERE Weight is >= to 2000 and <=3000


What WHERE clause will select weight values between 2000 and 3000?


500

This SQL keyword is used to filter data based on a specified condition

What is WHERE?

500

 This clause is used to specify the join condition in a SQL query.

What is ON?

500

This is a BONUS questions

Is this a BONUS?