Quiz
DML and DDL (Module 4)
Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.
Fragen in diesem Quiz (14)
1These are statements are used to define the database structure or schema.
- AData Definition Language (DDL)
- BData Manipulation Language (DML)
- CData Control Language (DCL)
2These are statements are used for managing data within schema objects.
- AData Manipulation Language (DML)
- BData Definition Language (DDL)
- CData Control Language (DCL)
3Every time you create table, views, and other database objects, a DDL statement is being executed on the background.
- ARichtig
- BFalsch
4Select All the DDL Statements
- ACREATE
- BALTER
- CDROP
- DTRUNCATE
- ESELECT
- FINSERT
- GUPDATE
5Select All DML Statements
- ACREATE
- BALTER
- CDROP
- DSELECT
- EINSERT
- FDELETE
6The AND operator requires both conditions to be true while the OR operator only needs one of the conditions to be true.
- ARichtig
- BFalsch
7[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.
- AWHERE
8When updating/deleting records in a table, it is recommended to include a where statement.
- ARichtig
- BFalsch
9To eliminate the duplicates you can include the ________ keyword within your SELECT clause.
- ADISTINCT
- BWHERE
- CUNIQUE
- DONLY
10Aside from its arithmetic operation, you can also use the plus (+) symbol to concatenate string values
- ARichtig
- BFalsch
11I 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?
- ASELECT * FROM Presidents WHERE lname = 'Adams'
- BSELECT lname FROM Presidents WHERE lname = 'Adams'
- CSELECT ALL FROM Presidents where lname = 'Adams'
- DSELECT * FROM Presidents where lname = Adams
- ESELECT * FROM Presidents where lastname = 'Adams'
12To check for a null value in a column, the WHERE clause should be : "...WHERE <Column name> IS NOT NULL"
- ARichtig
- BFalsch
13The WHERE clause can be used after the ORDER BY clause
- ARichtig
- BFalsch
14I 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]- AORDER BY start_date desc
Informationen
- Beschreibung
- Advent level 1 SQL Quiz am DML and DDL (Module 4), erstellt von aries cantos am 21/06/2017.
- Autor
- aries cantos
- Sprache
- English
- Aufrufe
- 69
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz