Professional Documents
Culture Documents
11.
Select, Insert, Update, and Delete statements can be referred
to as ______________ statements.
DML
12.
When a column in a table is defined, it is given a data _________
that determines what kind of data it can store.
type
13.
primary key
18.
In the join shown here: SELECT VendorName AS Vendor,
InvoiceDate AS Date
FROM Vendors AS V JOIN Invoices AS I ON V.VendorID = I.VendorID
The name V is known as a/an ____________________________________.
correlation name (or table alias)
19.
To override the order of precedence in an arithmetic
expression, you can use parenthesis.
True
20.
When coded in a WHERE clause, which of the following search
conditions will not return a result set that includes all invoices with
an InvoiceTotal value of $1000 or less?
InvoiceTotal IN (0,1000)
21.
The most common type of relationship between two tables is
a/an ___________________ relationship.
one-to-many
22.
+
32.
If you want to retrieve all the rows that satisfy the join
condition plus the unmatched rows in the first table, you use a/an
_______________ join.
left outer
33.
When coded in a WHERE clause, which search condition will
return invoices when PaymentDate is not null and InvoiceTotal is
greater than or equal to $500?
PaymentDate IS NOT NULL AND InvoiceTotal >= 500
34.
When you code a SELECT statement, you must code the four
main clauses in the following order
SELECT, FROM, WHERE, ORDER BY
35.
Which of the following expressions will not compute 10% of the
balance due if balance due is the invoice total minus the credit total
minus the payment total?
InvoiceTotal - CreditTotal - PaymentTotal / 10
36.
The ________________ clause of the SELECT statement names the
table that contains the data to be retrieved.
FROM
37.
In most cases, the join condition of an inner join compares the primary
key of one table to the ____________________ key of another table.
foreign
38.
Unless you assign a/an _____________________________, the column
name in the result set is the same as the column name in the base
table.
alias
39.
To prevent duplicate rows from being returned by a SELECT statement,
you can code the __________________ keyword in the SELECT clause.
DISTINCT