Frage 1
Frage
Microsoft SQL Server uses:
Frage 2
Frage
The COUNT function is designed to tally the number of non-null "values" of an attribute and is often used in conjunction with the DISTINCT clause.
Frage 3
Frage
With the exception of the database creation process, most RDBMS vendors use SQL that deviates little from the ANSI standard SQL.
Frage 4
Frage
Which clause is specifically used with aggregate functions?
Antworten
-
WHERE
-
DISTINCT
-
HAVING
-
ORDER BY
Frage 5
Frage
The underscore wildcard is used just like % but instead of matching multiple characters, the underscore matches just a single character.
Frage 6
Frage
Which SQL statement is used to return only different values?
Antworten
-
SELECT UNIQUE
-
SELECT DIFFERENT
-
SELECT DISTINCT
-
All of the above
Frage 7
Frage
Which SQL keyword is used to sort the result-set?
Antworten
-
SORT
-
SORT BY
-
ORDER
-
ORDER BY
Frage 8
Frage
Which one of the following is NOT part of DDL?
Antworten
-
SELECT INTO
-
CREATE
-
ALTER
-
TRUNCATE
Frage 9
Frage
CAST is unique to T-SQL.
Frage 10
Frage
Which one of the following JOIN includes all rows from the second table and matching rows from the first table?
Antworten
-
Inner Join
-
Left Outer Join
-
Right Outer Join
-
Full Outer Join
Frage 11
Frage
What is the most common type of join?
Antworten
-
Inner Join
-
Left Outer Join
-
Right Outer Join
-
Full Outer Join
-
Self Join
Frage 12
Frage
Which SQL statement is used to create a table in a database?
Antworten
-
CREATE TABLE
-
CREATE DB
-
CREATE DATABASE TABLE
-
CREATE DATABASE TAB
Frage 13
Frage
Which SQL statements uses the keyword SET?
Antworten
-
SELECT
-
UPDATE
-
MODIFY
-
DELETE
Frage 14
Frage
A table may be joined to itself.
Frage 15
Frage
The FULL OUTER JOIN syntax is not supported by Microsoft Access.
Frage 16
Frage
A set of SQL statements (one or more) typically grouped together to perform a specific routine is called ____________.
Antworten
-
Views
-
Cursors
-
Stored Procedures
-
Indexes
Frage 17
Frage
According to the rules of precedence, which of the following computations should be completed first?
Antworten
-
performing additions and subtractions
-
performing multiplications and divisions
-
performing operations within parentheses
-
performing power operations
Frage 18
Frage
The special operator used to check whether an attribute is within a range of values is ___________.
Frage 19
Frage
To list the contents of a table, you must use the DISPLAY command.
Frage 20
Frage
The SQL data manipulation command HAVING:
Antworten
-
restricts the selection of rows based on a conditional expression.
-
restricts the selection of grouped rows based on a condition.
-
modifies an attribute's value in one or more table's rows.
-
groups the selected rows based on one or more attributes.
Frage 21
Frage
You can call a stored procedure from within itself.
Frage 22
Frage
A temporary stored procedure with global scope has the following prefix:
Frage 23
Frage
Which one of the following is used to prevent SQL injection attacks?
Antworten
-
Stored Procedures
-
Triggers
-
User-Defined Functions
-
Views
Frage 24
Frage
-- Using a variable with CONCAT
DECLARE @a VARCHAR(30) = 'My birthday is on '
DECLARE @b DATE = '1980/08/25'
SELECT CONCAT (@a, @b) AS RESULT;
The above query will yield an error.
Frage 25
Frage
Which type of JOIN reflects is the following statement:
All rows from the left side of the join, even if there is not a match, and all rows from the right side, even if there is not a match, show up in the results.
Antworten
-
INNER JOIN
-
LEFT OUTER JOIN
-
FULL OUTER JOIN
-
RIGHT OUTER JOIN
-
MERGE