Chapter 2 Flashcards
SQL includes a data definition language, a data manipulation language, and SQL/Persistent stored modules
True
SQL stands for Standard Query Language
False
SQL is only a data manipulation language (DML)
False
The American National Standards Institute (ANSI) maintains the standards for SQL
True
SQL was developed by IBM in the late 70s
True
SQL is not a complete programming language. Rather it is a data sub language.
True
In addition to being a data sub language, SQL is also a programming language, like java or C#
False
SQL commands can be embedded in application programs
True
SQL although very popular has never become a national standard
False
The SQL keyword SELECT is used to specify the columns to be listed in the query results
True
The SQL keyword WHERE is used to specify the tables that contain(s) the data to be retrieved
False
The SQL keyword FROM is used to specify the table to be used
True
SQL can only query a single table
False
SQL statements end with a colon
False
The columns to be obtained by an SQL command are listed after the FROM keyword
False
To remove duplicate rows from the result of a query, specify the SQL DISTINCT keyword
True
To obtain all columns, use an asterisk (*) wild card character instead of listing all the column names
True
The SQL WHERE clause contains the condition that specifies which rows are to be selected
True
The result of an SQL SELECT operation can contain duplicate rows
True
To have SQL automatically eliminate duplicate rows from a result, use the keyword DISTINCT with the FROM keyword
False
An asterisk (*) following the SELECT verb means that all columns are to be displayed
True
The WHERE clause contains the condition that specifies which columns are to be selected
False
SQL is a
Data sub language, product of IBM, national standard, combination that includes a data definition language and a data manipulation language
When making an SQL query, we are using SQL as a(n)
DML
In an SQL query, which SQL keyword actually creates the query
SELECT
In an SQL query, which SQL keyword is used to specify the table(s) to be used?
FROM
In an SQL query, which SQL keyword must be used to remove duplicate rows from the result table?
DISTINCT
In an SQL query, which of the follows symbols is used by ANSI SQL to represent all the columns in a single table?
- (asterisk)
The rows of the result table can be sorted by the values in one or more columns
true
sorting is specified by the use of the SORT BY phrase
False
To sort the rows of the result table, the ORDER BY clause is specified
False
Columns can be sorted in descending sequence by using the SQL DESC keyword
True