SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
SQL: Structured Query Language
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Method used to copy multiple records at one time using a SELECT statement
IN
Row
INSERT INTO
Table
2. NOT - AND - OR
ORDER BY
SQL (Structured Query Language)
DISTINCT
Logical Operators
3. Allows a comparison with multiple values from a list.
ASC
Self-Join
IN
Terminating Statements
4. The container - usually a file or set of files - to store organized data
Always define Primary Keys
MIN()
Logical Operators
Database
5. Specifies the tables or views from which rows and columns are retrieved
FROM
ASC
ANY
DBMS - Database Management System
6. Number value with a maximum number of digits of "size" total - with a maximum number of "d" digits to the right of the decimal.
number(size -d)
HAVING
Keyword
varchar(size)
7. Used to select all the information in a specified column.
SQL extensions
INSERT INTO
SELECT *
mysql
8. Allows you to delete selected rows.
Logical Operators
SQL (Structured Query Language)
DELETE
Nested Subquery
9. Combines rows from a SELECT statement's results table into groups in which specified columns have the same value.
DBMS - Database Management System
LIKE
GROUP BY
SQL Statement and Case
10. Limits the rows that appear in the result to those matching a specified condition
Primary Key
GROUP BY
DISTINCT
WHERE
11. Ascending
mysql
Breaking up data
SQL Statement and Case
ASC
12. Prevents duplicate values witihin a table or group of rows from being used in the evaluation of the function's result
Always define Primary Keys
INSERT INTO
DISTINCT
ANY
13. A column or set of columns whose values uniquely identify every row in a table.
Primary Key
SQL (Structured Query Language)
MIN()
HAVING
14. When selecting multiple columns be sure to specify a _____ BETWEEN each column name but NOT after the last column name.
char(size)
MIN()
Comparison Operators
Commas
15. Lets you change the values in one or more selected rows of a table.
UPDATE
Comparison Operators
SELECT
INSERT INTO
16. Usually DBMS specific - these can provide extra functionality or simplified ways to perform specific operations.
varchar(size)
LIKE
SQL extensions
Terminating Statements
17. Allows you to correlate information between different rows of the same table and combine this information in rows of a result table.
Column
Self-Join
IN
AS
18. Alias
Table
AS
mysql
DISTINCT
19. _______ column name FROM table name
AS
COUNT()
Row
SELECT
20. Provides a numerical tally of how many rows meet a specific set of criteria.
AVG()
COUNT()
WHERE
LIKE
21. Although primary keys are not specifically required - most database designers make certain that every table they create has a primary key so that future data manipulation is possible.
SQL Statement and Case
Always define Primary Keys
Database
DISTINCT
22. Takes a single numeric or alphabetic cloumn and finds the HIGHEST constant value within it.
ANY
Primary Key
SQL extensions
MAX()
23. Specify one or more columns on which to order the display.
SUM()
ORDER BY
INSERT INTO
DISTINCT
24. A reserved word that is part of the SQL language. Never name a table or column using a keyword.
Comparison Operators
MIN()
LIKE
Keyword
25. Takes all of the values in that column and adds them together. Only works on columns containing numeric data.
varchar(size)
AVG()
SUM()
Terminating Statements
26. Data must be broken into multiple columns correctly. For example - city - state - and zip should always separate columns.
varchar(size)
UPDATE
Terminating Statements
Breaking up data
27. Lets you use a single- or multiple-character wildcards. Also - this command does not function in Microsoft Access.
LIKE
INSERT INTO
Aggregate Functions
Always define Primary Keys
28. Multiple SQL statements must be separated by semicolons.
mysql
Terminating Statements
Keyword
varchar(size)
29. A popular open source database
ASC
Datatype
mysql
IN
30. Takes average of each of the numeric values in the column.Can only be used in conjuction with the DISTINCT keyword and only works on numeric columns.
Nested Subquery
AVG()
DESC
SELECT
31. A type of allowed data. Every table column has a datatype that restricts specific data in that column.
Row
Always define Primary Keys
Datatype
SELECT Statement
32. A record in a table
Row
HAVING
Aggregate Functions
char(size)
33. Primary way to do a query in SQL
COUNT()
AVG()
HAVING
SELECT Statement
34. SQL is a language NOT an _______
application
Use of Whitespace
varchar(size)
Logical Operators
35. All extra whitespace within a SQL statement is is ignored when that statement is processed.
ANY
WHERE
AVG()
Use of Whitespace
36. SQL statements are case- insensitive
IN
SQL Statement and Case
DESC
Self-Join
37. = Equals - < Less Than - > Greater Than - <= Less Than or Equal To - >= Greater Than or Equal To - <> Not Equal - ! Negation of
HAVING
Simple Subquery
Comparison Operators
DELETE
38. Descending
HAVING
INSERT INTO
SELECT
DESC
39. A language designed specifically for communicating with databases.
ASC
SQL (Structured Query Language)
Column
Nested Subquery
40. A structured list of data of a specific type
Database
Use of Whitespace
Table
Comparison Operators
41. Variable-length character string. Max size is specified in parenthesis.
varchar(size)
SQL (Structured Query Language)
DBMS - Database Management System
char(size)
42. Used to nest subqueries within another subquery.
ASC
DBMS - Database Management System
Nested Subquery
ANY
43. Denotes that the search condition is TRUE for at least one element that the subquery returns.
LIKE
Use of Whitespace
ANY
mysql
44. COUNT() - MAX() - MIN() - SUM() and AVG()
ORDER BY
Aggregate Functions
DBMS - Database Management System
Self-Join
45. Fixed-length character string. Size is specified in parenthesis. Max 255 bytes.
Row
Logical Operators
DESC
char(size)
46. Limits the output of the established groups into the derived result group.
HAVING
Nested Subquery
SELECT Statement
Self-Join
47. Takes a single numeric or alphabetic cloumn and finds the LOWEST constant value within it.
Keyword
MIN()
ASC
DELETE
48. A single field in a table. All tables are made up of one or more columns.
mysql
Column
Table
Keyword
49. Database software (an application)
MAX()
number(size -d)
DBMS - Database Management System
INSERT INTO
50. Simplest type of subquery.
MAX()
Simple Subquery
Row
DELETE