-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathModule4_Quiz
119 lines (68 loc) · 1.45 KB
/
Module4_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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#_1:
Q:
Which of the following are supported in SQL when dealing with strings? (Select all that apply)
A:
Upper
Trim
Lower
Concatenate
Substring
#_2:
Q:
What will the result of the following statement be?
SELECT SUBSTR('You are beautiful.', 3)
A:
u are beautiful.
#_3:
Q:
What are the results of the following query?
select * orders
where order_date = ‘2017-07-15’
Additional information:
Orders = integer
Order_date = datetime
A:
You won't get any results.
#_4:
Q:
Case statements can only be used for which of the following statements (select all that apply)?
A:
INSERT
DELETE
UPDATE
SELECT
#_5:
Q:
Which of the following is FALSE regarding views?
A:
Views will remain after the database connection has ended
#_6:
Q:
You are only allowed to have one condition in a case statement. True or false?
A:
False
#_7:
Q:
Select the correct SQL syntax for creating a view.
A:
CREATE VIEW
customers AS
SELECT *
FROM customers
WHERE Name LIKE '%I'
#_8:
Q:
Profiling data is helpful for which of the following? (Select all that apply)
A:
Filter out unwanted data elements
Understanding your data
#_9:
Q:
What is the most important step before beginning to write queries?
A:
Understanding your data
#_10:
Q:
When debugging a query, what should you always remember to do first?
A:
Start simple and break it down first