You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: solution/0100-0199/0175.Combine Two Tables/README_EN.md
-29
Original file line number
Diff line number
Diff line change
@@ -6,74 +6,45 @@
6
6
7
7
<p>Table: <code>Person</code></p>
8
8
9
-
10
-
11
9
<pre>
12
10
13
11
+-------------+---------+
14
-
15
12
| Column Name | Type |
16
-
17
13
+-------------+---------+
18
-
19
14
| PersonId | int |
20
-
21
15
| FirstName | varchar |
22
-
23
16
| LastName | varchar |
24
-
25
17
+-------------+---------+
26
18
27
19
PersonId is the primary key column for this table.
28
20
29
21
</pre>
30
22
31
-
32
-
33
23
<p>Table: <code>Address</code></p>
34
24
35
-
36
-
37
25
<pre>
38
26
39
27
+-------------+---------+
40
-
41
28
| Column Name | Type |
42
-
43
29
+-------------+---------+
44
-
45
30
| AddressId | int |
46
-
47
31
| PersonId | int |
48
-
49
32
| City | varchar |
50
-
51
33
| State | varchar |
52
-
53
34
+-------------+---------+
54
35
55
36
AddressId is the primary key column for this table.
56
37
57
38
</pre>
58
39
59
-
60
-
61
-
<p> </p>
62
-
63
-
64
-
65
40
<p>Write a SQL query for a report that provides the following information for each person in the Person table, regardless if there is an address for each of those people:</p>
0 commit comments