Sie sind auf Seite 1von 2

The condition in a WHERE clause can refer to only one value.

False
The ADD command is used to enter one row of data or to add multiple rows as a re
sult of a query.
False
SQL provides the AS keyword, which can be used to assign meaningful column names
to the results of queries using the SQL built-in functions.
True
The SELECT command, with its various clauses, allows users to query the data con
tained in the tables and ask many different questions or ad hoc queries.
True
A SELECT statement within another SELECT statement and enclosed in square bracke
ts ([...]) is called a subquery.
False
The rows of the result relation produced by a SELECT statement can be sorted, bu
t only by one column.
False
There is an equivalent join expression that can be substituted for all subquery
expressions.
False
SQL is a programming language.
False
SELECT DISTINCT is used if a user wishes to see duplicate columns in a query.
False
Indexes can usually be created for both primary and secondary keys.
True
Each index consumes extra storage space and also requires overhead maintenance t
ime whenever indexed data change value.
False
The HAVING clause acts like a WHERE clause, but it identifies groups that meet a
criterion, rather than rows.
False
SQL is a data sublanguage.
True
The qualifier DISTINCT must be used in an SQL statement when we want to eliminat
e duplicate rows.
True
DISTINCT and its counterpart, ALL, can be used more than once in a SELECT statem
ent.
False
The result of every SQL query is a table.
True
COUNT(field_name) tallies only those rows that contain a value; it ignores all n
ull values.

True
SUM, AVG, MIN, and MAX can only be used with numeric columns.
True
The format SELECT-FROM-WHERE is the fundamental framework of SQL SELECT statemen
ts.
True
Indexes may be created or dropped at any time.
True
The SQL statement: SELECT Number1 + Number 2 AS Total FROM NUMBER_TABLE; adds tw
o numbers from each row together and lists the results in a column named Total.
True
ORDER BY can be combined with the SELECT statements.
True
Data manipulation language (DML) commands are used to define a database, includi
ng creating, altering, and dropping tables and establishing constraints.
False
Scalar aggregate are multiple values returned from an SQL query that includes an
aggregate function.
False
The keyword LIKE can be used in a WHERE clause to refer to a range of values.
False
The SQL statement: SELECT Name, COUNT(*) FROM NAME_TABLE; counts the number of n
ame rows and displays this total in a table with a single row and a single colum
n.
False
The SQL keyword GROUP BY instructs the DBMS to group together those rows that ha
ve the same value in a column.
True
The wildcard asterisk (*) is the SQL-92 standard for indicating "any sequence of
characters."
True
SQL provides five built-in functions: COUNT, SUM, AVG, MAX, MIN.
True
The keyword BETWEEN can be used in a WHERE clause to refer to a range of values.
True
To establish a range of values, < and > can be used.
True
If you are going to use a combination of three or more AND and OR conditions, it
is often easier to use the NOT and NOT IN operators.
True

Das könnte Ihnen auch gefallen