Test - DML - SELECT Statement - DE Courseware - Elearn

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

6/13/22, 3:27 PM Test | DML: SELECT Statement | DE Courseware | eLearn

 Course is completed. The course result can no longer be changed.

Data & Analytics. Introduction to SQL


Home  Course  SQL Foundation 
DML: SELECT Statement 
Test

COURSE DISCUSSION PROGRESS

Test

1/1 point
Choose all advantages of SQL from the following statements:

DBMS-independent

Complexity

Standardized

Unpredictable performance of complex queries

Requires procedural extensions

Declarative



Submit

https://elearn.epam.com/courses/course-v1:RD_CIS+DE+ENG/courseware/54b1a00a131a423381f3b4614f751d34/0a505eb2b7e442299b8f108f4eaf6… 1/7
6/13/22, 3:27 PM Test | DML: SELECT Statement | DE Courseware | eLearn

1/1 point

 Keyboard Help
Relate the definitions of each property of database transaction with the corresponding name:

determines how the changes of a


the entire the database
Isolation
and when Atomicity Consistency Durability
succesful
transaction takes must be
changes made by transaction stored
place at once or consistent before
one transaction in the system
doesn’t happen at and after the
become visible to even in case of
all transaction
the other failure


Reset

Feedback
 Good work!

1/1 point
Choose the wrong statement(s):

"--" characters in SQL means single line comment

SQL commands can span multiple rows

SQL is case-sensitive language

In SQL string literals are quoted using single quotes.



Submit

https://elearn.epam.com/courses/course-v1:RD_CIS+DE+ENG/courseware/54b1a00a131a423381f3b4614f751d34/0a505eb2b7e442299b8f108f4eaf6… 2/7
6/13/22, 3:27 PM Test | DML: SELECT Statement | DE Courseware | eLearn

1/1 point

 Keyboard Help
Relate examples of data with the following data types:

false congratulate, 1324354.25 great job


great job
BOOLEAN TEXT FLOAT4 VARCHAR(9)

11:05:30 785612 7856.12 192233720368

TIME INT DECIMAL (6,2) BIGSERIAL


Reset

Feedback
 Good work!

1/1 point

Choose the result of the following query to tables 'A' and 'B'

https://elearn.epam.com/courses/course-v1:RD_CIS+DE+ENG/courseware/54b1a00a131a423381f3b4614f751d34/0a505eb2b7e442299b8f108f4eaf6… 3/7
6/13/22, 3:27 PM Test | DML: SELECT Statement | DE Courseware | eLearn

https://elearn.epam.com/courses/course-v1:RD_CIS+DE+ENG/courseware/54b1a00a131a423381f3b4614f751d34/0a505eb2b7e442299b8f108f4eaf6… 4/7
6/13/22, 3:27 PM Test | DML: SELECT Statement | DE Courseware | eLearn

Submit

1/1 point
Choose the result of the following query to tables 'A'

https://elearn.epam.com/courses/course-v1:RD_CIS+DE+ENG/courseware/54b1a00a131a423381f3b4614f751d34/0a505eb2b7e442299b8f108f4eaf6… 5/7
6/13/22, 3:27 PM Test | DML: SELECT Statement | DE Courseware | eLearn

Submit

1/1 point
Choose all right statements about Common Table Expression:

CTE improves readability (no need to read the query upside down)

 CTE prohibits reusing the same subquery multiple times without duplicating
Navigation

In PosgreSQL, CTEs can be thought of "materilized" subqueries

CTEs are defined using the WHERE clause

For simple single-use subqueries CTEs are not needed


https://elearn.epam.com/courses/course-v1:RD_CIS+DE+ENG/courseware/54b1a00a131a423381f3b4614f751d34/0a505eb2b7e442299b8f108f4eaf6… 6/7
6/13/22, 3:27 PM Test | DML: SELECT Statement | DE Courseware | eLearn

Submit

https://elearn.epam.com/courses/course-v1:RD_CIS+DE+ENG/courseware/54b1a00a131a423381f3b4614f751d34/0a505eb2b7e442299b8f108f4eaf6… 7/7

You might also like