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
Database
INSERT INTO
Self-Join
Primary Key
2. A type of allowed data. Every table column has a datatype that restricts specific data in that column.
Datatype
ANY
UPDATE
char(size)
3. Primary way to do a query in SQL
MIN()
Use of Whitespace
SELECT Statement
Database
4. Limits the output of the established groups into the derived result group.
Logical Operators
Simple Subquery
HAVING
UPDATE
5. A single field in a table. All tables are made up of one or more columns.
Column
AVG()
INSERT INTO
Table
6. A column or set of columns whose values uniquely identify every row in a table.
UPDATE
Primary Key
INSERT INTO
Use of Whitespace
7. Used to nest subqueries within another subquery.
Nested Subquery
SELECT
Comparison Operators
Use of Whitespace
8. Multiple SQL statements must be separated by semicolons.
SELECT
SUM()
Terminating Statements
DELETE
9. The container - usually a file or set of files - to store organized data
varchar(size)
Row
Database
AS
10. Provides a numerical tally of how many rows meet a specific set of criteria.
MAX()
COUNT()
Column
Self-Join
11. Limits the rows that appear in the result to those matching a specified condition
ANY
WHERE
MAX()
DELETE
12. A reserved word that is part of the SQL language. Never name a table or column using a keyword.
ASC
Simple Subquery
Keyword
Row
13. All extra whitespace within a SQL statement is is ignored when that statement is processed.
HAVING
COUNT()
Use of Whitespace
Database
14. A record in a table
SQL (Structured Query Language)
Primary Key
Row
FROM
15. Allows a comparison with multiple values from a list.
application
Simple Subquery
INSERT INTO
IN
16. Takes a single numeric or alphabetic cloumn and finds the HIGHEST constant value within it.
MAX()
Use of Whitespace
DESC
HAVING
17. Alias
Always define Primary Keys
INSERT INTO
AS
SQL (Structured Query Language)
18. When selecting multiple columns be sure to specify a _____ BETWEEN each column name but NOT after the last column name.
Commas
Comparison Operators
Table
SQL (Structured Query Language)
19. Descending
Logical Operators
Nested Subquery
DESC
DELETE
20. Allows you to delete selected rows.
DISTINCT
Datatype
DELETE
varchar(size)
21. Allows you to correlate information between different rows of the same table and combine this information in rows of a result table.
number(size -d)
Self-Join
Terminating Statements
Nested Subquery
22. Variable-length character string. Max size is specified in parenthesis.
DELETE
SELECT *
SUM()
varchar(size)
23. Specify one or more columns on which to order the display.
SELECT
Self-Join
ORDER BY
WHERE
24. Usually DBMS specific - these can provide extra functionality or simplified ways to perform specific operations.
SQL (Structured Query Language)
SQL extensions
Terminating Statements
INSERT INTO
25. Denotes that the search condition is TRUE for at least one element that the subquery returns.
ANY
Logical Operators
mysql
char(size)
26. _______ column name FROM table name
SELECT
Keyword
AS
Datatype
27. A structured list of data of a specific type
mysql
DISTINCT
DESC
Table
28. Database software (an application)
DBMS - Database Management System
Always define Primary Keys
ASC
char(size)
29. COUNT() - MAX() - MIN() - SUM() and AVG()
ASC
IN
UPDATE
Aggregate Functions
30. Combines rows from a SELECT statement's results table into groups in which specified columns have the same value.
GROUP BY
FROM
Terminating Statements
Nested Subquery
31. Data must be broken into multiple columns correctly. For example - city - state - and zip should always separate columns.
Breaking up data
MIN()
DELETE
char(size)
32. Number value with a maximum number of digits of "size" total - with a maximum number of "d" digits to the right of the decimal.
UPDATE
DESC
number(size -d)
DELETE
33. Prevents duplicate values witihin a table or group of rows from being used in the evaluation of the function's result
ORDER BY
DBMS - Database Management System
DISTINCT
Database
34. 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.
number(size -d)
IN
ORDER BY
Always define Primary Keys
35. = Equals - < Less Than - > Greater Than - <= Less Than or Equal To - >= Greater Than or Equal To - <> Not Equal - ! Negation of
DISTINCT
LIKE
Comparison Operators
GROUP BY
36. Fixed-length character string. Size is specified in parenthesis. Max 255 bytes.
application
WHERE
Row
char(size)
37. Simplest type of subquery.
Simple Subquery
SQL Statement and Case
Terminating Statements
varchar(size)
38. Lets you use a single- or multiple-character wildcards. Also - this command does not function in Microsoft Access.
IN
WHERE
MIN()
LIKE
39. Specifies the tables or views from which rows and columns are retrieved
AS
FROM
IN
Simple Subquery
40. SQL statements are case- insensitive
Comparison Operators
Breaking up data
COUNT()
SQL Statement and Case
41. Used to select all the information in a specified column.
Datatype
DISTINCT
SELECT *
Table
42. Lets you change the values in one or more selected rows of a table.
DISTINCT
Primary Key
MIN()
UPDATE
43. NOT - AND - OR
Logical Operators
Terminating Statements
COUNT()
Aggregate Functions
44. SQL is a language NOT an _______
AS
Nested Subquery
WHERE
application
45. A popular open source database
mysql
UPDATE
HAVING
SQL (Structured Query Language)
46. Ascending
ASC
AVG()
GROUP BY
Comparison Operators
47. A language designed specifically for communicating with databases.
SQL (Structured Query Language)
MAX()
Keyword
DESC
48. Takes a single numeric or alphabetic cloumn and finds the LOWEST constant value within it.
MIN()
SUM()
DELETE
FROM
49. 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.
AVG()
application
Terminating Statements
SQL (Structured Query Language)
50. Takes all of the values in that column and adds them together. Only works on columns containing numeric data.
Nested Subquery
Commas
SUM()
Simple Subquery
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests