forked from brianchiang-tw/SQL_for_DataScience
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathModule1_Quiz
88 lines (47 loc) · 1.61 KB
/
Module1_Quiz
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#_1.
Select the jobs below that may use SQL in their work (select all that apply).
DBA
Data Scientist
Data Analyst
QA Engineer
Backend Developer
#_2.
How does a data scientist and DBA differ in how they use SQL?
DBAs manage the databse for other user.
#_3.
Which of the following statements are True of Entity Relationship Diagrams?
They are usually a representtion of a business process
They usually are represented in a visual format
They identify the Prigamry Keys
They shows you the relationships between tables.
#_4.
Select the query below that will retrieve all columns from the customers tables
SELECT * FROM customers
#_5.
Select the query that will retrieve only the Customer First Name, Last Name ,and Company
SELECT FirstName, LastName, Company FROM customers
#_6.
The ER disgram below is depicting what kind of relationship between the EMPLOYEES and CUSTOMERS tables?
One-to-many
#_7.
The data model depicted in the ER diagram below could be described as a
Relational model
#_8.
When using the "CREATE TABLE" command and creating new columns for the table,
which of the following statements is true?
You must assign a data type to each column.
#_9.
Look at the values in the two columns below.
Based on the values in each column, which column could potentially be used as primary key?
Column 1 Column 2
5 2
6 4
1 5
2 5
34 32
8 6
9 4
Column_#1
#_10.
In order to retrieve data from a table with SQLm every SQL statement must contain?
SELECT