Zusammenfassung der Ressource
Frage 1
Frage
These are statements are used to define the database structure or schema.
Antworten
-
Data Definition Language (DDL)
-
Data Manipulation Language (DML)
-
Data Control Language (DCL)
Frage 2
Frage
These are statements are used for managing data within schema objects.
Antworten
-
Data Manipulation Language (DML)
-
Data Definition Language (DDL)
-
Data Control Language (DCL)
Frage 3
Frage
Every time you create table, views, and other database objects, a DDL statement is being executed on the background.
Frage 4
Frage
Select All the DDL Statements
Antworten
-
CREATE
-
ALTER
-
DROP
-
TRUNCATE
-
SELECT
-
INSERT
-
UPDATE
Frage 5
Frage
Select All DML Statements
Antworten
-
CREATE
-
ALTER
-
DROP
-
SELECT
-
INSERT
-
DELETE
Frage 6
Frage
The AND operator requires both conditions to be true while the OR operator only needs one of the conditions to be true.
Frage 7
Frage
[blank_start]WHERE[blank_end] Specifies the conditions that must be met for a row to be included in the result set. This clause is optional and is used to filter the information returned.
Frage 8
Frage
When updating/deleting records in a table, it is recommended to include a where statement.
Frage 9
Frage
To eliminate the duplicates you can include the ________ keyword within your SELECT clause.
Antworten
-
DISTINCT
-
WHERE
-
UNIQUE
-
ONLY
Frage 10
Frage
Aside from its arithmetic operation, you can also use the plus (+) symbol to concatenate string values
Frage 11
Frage
I want to retrieve ALL records from the table named "Presidents" where the last name is "Adams". The last name column is labeled as "lname". What is the correct query that I should use?
Antworten
-
SELECT * FROM Presidents WHERE lname = 'Adams'
-
SELECT lname FROM Presidents WHERE lname = 'Adams'
-
SELECT ALL FROM Presidents where lname = 'Adams'
-
SELECT * FROM Presidents where lname = Adams
-
SELECT * FROM Presidents where lastname = 'Adams'
Frage 12
Frage
To check for a null value in a column, the WHERE clause should be : "...WHERE <Column name> IS NOT NULL"
Frage 13
Frage
The WHERE clause can be used after the ORDER BY clause
Frage 14
Frage
I want to order the results from the "Presidents" in descending order by the column, start_date. Complete the following query:
SELECT * FROM Presidents [blank_start]ORDER BY start_date desc[blank_end]