Answered step by step
Verified Expert Solution
Question
1 Approved Answer
When coded within a SELECT clause, which TOP clause will return a result set consisting of the ten largest InvoiceNumbers? Question 1 1 options: TOP
When coded within a SELECT clause, which TOP clause will return a result set consisting of the ten largest InvoiceNumbers? Question options: TOP InvoiceNumber TOP InvoiceTotal TOP PERCENT InvoiceNumber TOP PERCENT WITH TIES InvoiceNumber TOP InvoiceNumber, InvoiceTotal Question point The order of precedence for the logical operators in a WHERE clause is Question options: Not, And, Or And, Or Not Or And, Not Not, Or And Question point 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 $ Question options: PaymentDate IS NULL AND InvoiceTotal PaymentDate IS NOT NULL OR InvoiceTotal NOT PaymentDate IS NULL AND InvoiceTotal PaymentDate IS NOT NULL AND InvoiceTotal Question point When you define a foreign key constraint, you can specify all but one of the following. Which one is it Question options: that no action should be taken and an error should be returned when a related row in a related table is deleted or updated that the deletion of a related row in a primary key table should be cascaded down to the rows in the foreign key table that the insertion of a row in a foreign key table that has a foreign key that isnt matched in the primary key table should be cascaded up to the primary key table that the updating of a primary key in a primary key table should be cascaded down to the rows in the foreign key table Question point Unless you assign a the column name in the result set is the same as the column name in the base table. Question options: unique syntax column alias qualification all of the above Question point A combination of column names and operators that evaluate to a single value is called Question options: a query an expression a predicate a view Question point Which keyword lets you control the number of rows that are returned by a query? Question options: ALL DISTINCT TOP all of the above Question point To sort the records that are retrieved by a SELECT statement in descending sequence what keyword do you code at the end of the ORDER BY clause? Question options: ALL DISTINCT DESC ASC Question point A string expression can consist of Question options: one or more character columns one or more literal values a combination of character columns and literal values all of the above Question point Each of the following column attributes is a column constraint, except Question options: NOT NULL UNIQUE DEFAULT PRIMARY KEY Question point Which of the following best describes cardinality in an ERD? Question options: The specific values an attribute can take The minimum and maximum number of instances of one entity that can be associated with each instance of another entity The number of attributes an entity has The number of entities involved in a relationship Question point To override the order of precedence in an arithmetic expression, you can use Question options: parentheses single quotes double quotes braces Question point Which of the following is not a type of entity in an EntityRelationship Diagram ERD Question options: Strong Entity Weak Entity Dependent Entity Associative Entity Question point Which keyword can you use to retrieve rows in which an expression matches a string pattern called a mask? Question options: OR ORDER BY WHERE LIKE Question point The NOT NULL constraint enforces a column to not accept empty values. Question options: True False
When coded within a SELECT clause, which TOP clause will return a result set consisting of the ten largest InvoiceNumbers?
Question options:
TOP InvoiceNumber
TOP InvoiceTotal
TOP PERCENT InvoiceNumber
TOP PERCENT WITH TIES InvoiceNumber
TOP InvoiceNumber, InvoiceTotal
Question point
The order of precedence for the logical operators in a WHERE clause is
Question options:
Not, And, Or
And, Or Not
Or And, Not
Not, Or And
Question point
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 $
Question options:
PaymentDate IS NULL AND InvoiceTotal
PaymentDate IS NOT NULL OR InvoiceTotal
NOT PaymentDate IS NULL AND InvoiceTotal
PaymentDate IS NOT NULL AND InvoiceTotal
Question point
When you define a foreign key constraint, you can specify all but one of the following. Which one is it
Question options:
that no action should be taken and an error should be returned when a related row in a related table is deleted or updated
that the deletion of a related row in a primary key table should be cascaded down to the rows in the foreign key table
that the insertion of a row in a foreign key table that has a foreign key that isnt matched in the primary key table should be cascaded up to the primary key table
that the updating of a primary key in a primary key table should be cascaded down to the rows in the foreign key table
Question point
Unless you assign a the column name in the result set is the same as the column name in the base table.
Question options:
unique syntax
column alias
qualification
all of the above
Question point
A combination of column names and operators that evaluate to a single value is called
Question options:
a query
an expression
a predicate
a view
Question point
Which keyword lets you control the number of rows that are returned by a query?
Question options:
ALL
DISTINCT
TOP
all of the above
Question point
To sort the records that are retrieved by a SELECT statement in descending sequence what keyword do you code at the end of the ORDER BY clause?
Question options:
ALL
DISTINCT
DESC
ASC
Question point
A string expression can consist of
Question options:
one or more character columns
one or more literal values
a combination of character columns and literal values
all of the above
Question point
Each of the following column attributes is a column constraint, except
Question options:
NOT NULL
UNIQUE
DEFAULT
PRIMARY KEY
Question point
Which of the following best describes cardinality in an ERD?
Question options:
The specific values an attribute can take
The minimum and maximum number of instances of one entity that can be associated with each instance of another entity
The number of attributes an entity has
The number of entities involved in a relationship
Question point
To override the order of precedence in an arithmetic expression, you can use
Question options:
parentheses
single quotes
double quotes
braces
Question point
Which of the following is not a type of entity in an EntityRelationship Diagram ERD
Question options:
Strong Entity
Weak Entity
Dependent Entity
Associative Entity
Question point
Which keyword can you use to retrieve rows in which an expression matches a string pattern called a mask?
Question options:
OR
ORDER BY
WHERE
LIKE
Question point
The NOT NULL constraint enforces a column to not accept empty values.
Question options:
True
False
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started