-
Notifications
You must be signed in to change notification settings - Fork 7
/
census_metadata_drop.sql
178 lines (142 loc) · 7.52 KB
/
census_metadata_drop.sql
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
DROP TABLE IF EXISTS acs2007_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2007_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2007_1yr.census_topics;
DROP TABLE IF EXISTS acs2007_1yr.census_table_topics;
DROP TABLE IF EXISTS acs2007_3yr.census_table_metadata;
DROP TABLE IF EXISTS acs2007_3yr.census_column_metadata;
DROP TABLE IF EXISTS acs2007_3yr.census_topics;
DROP TABLE IF EXISTS acs2007_3yr.census_table_topics;
DROP TABLE IF EXISTS acs2008_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2008_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2008_1yr.census_topics;
DROP TABLE IF EXISTS acs2008_1yr.census_table_topics;
DROP TABLE IF EXISTS acs2008_3yr.census_table_metadata;
DROP TABLE IF EXISTS acs2008_3yr.census_column_metadata;
DROP TABLE IF EXISTS acs2008_3yr.census_topics;
DROP TABLE IF EXISTS acs2008_3yr.census_table_topics;
DROP TABLE IF EXISTS acs2009_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2009_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2009_1yr.census_topics;
DROP TABLE IF EXISTS acs2009_1yr.census_table_topics;
DROP TABLE IF EXISTS acs2009_3yr.census_table_metadata;
DROP TABLE IF EXISTS acs2009_3yr.census_column_metadata;
DROP TABLE IF EXISTS acs2009_3yr.census_topics;
DROP TABLE IF EXISTS acs2009_3yr.census_table_topics;
DROP TABLE IF EXISTS acs2010_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2010_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2010_1yr.census_topics;
DROP TABLE IF EXISTS acs2010_1yr.census_table_topics;
DROP TABLE IF EXISTS acs2010_3yr.census_table_metadata;
DROP TABLE IF EXISTS acs2010_3yr.census_column_metadata;
DROP TABLE IF EXISTS acs2010_3yr.census_topics;
DROP TABLE IF EXISTS acs2010_3yr.census_table_topics;
DROP TABLE IF EXISTS acs2010_5yr.census_table_metadata;
DROP TABLE IF EXISTS acs2010_5yr.census_column_metadata;
DROP TABLE IF EXISTS acs2010_5yr.census_topics;
DROP TABLE IF EXISTS acs2010_5yr.census_table_topics;
DROP TABLE IF EXISTS acs2011_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2011_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2011_1yr.census_topics;
DROP TABLE IF EXISTS acs2011_1yr.census_table_topics;
DROP TABLE IF EXISTS acs2011_3yr.census_table_metadata;
DROP TABLE IF EXISTS acs2011_3yr.census_column_metadata;
DROP TABLE IF EXISTS acs2011_3yr.census_topics;
DROP TABLE IF EXISTS acs2011_3yr.census_table_topics;
DROP TABLE IF EXISTS acs2011_5yr.census_table_metadata;
DROP TABLE IF EXISTS acs2011_5yr.census_column_metadata;
DROP TABLE IF EXISTS acs2011_5yr.census_topics;
DROP TABLE IF EXISTS acs2011_5yr.census_table_topics;
DROP TABLE IF EXISTS acs2012_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2012_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2012_1yr.census_topics;
DROP TABLE IF EXISTS acs2012_1yr.census_table_topics;
DROP TABLE IF EXISTS acs2012_3yr.census_table_metadata;
DROP TABLE IF EXISTS acs2012_3yr.census_column_metadata;
DROP TABLE IF EXISTS acs2012_3yr.census_topics;
DROP TABLE IF EXISTS acs2012_3yr.census_table_topics;
DROP TABLE IF EXISTS acs2012_5yr.census_table_metadata;
DROP TABLE IF EXISTS acs2012_5yr.census_column_metadata;
DROP TABLE IF EXISTS acs2012_5yr.census_topics;
DROP TABLE IF EXISTS acs2012_5yr.census_table_topics;
DROP TABLE IF EXISTS acs2013_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2013_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2013_1yr.census_topics;
DROP TABLE IF EXISTS acs2013_1yr.census_table_topics;
DROP TABLE IF EXISTS acs2013_3yr.census_table_metadata;
DROP TABLE IF EXISTS acs2013_3yr.census_column_metadata;
DROP TABLE IF EXISTS acs2013_3yr.census_topics;
DROP TABLE IF EXISTS acs2013_3yr.census_table_topics;
DROP TABLE IF EXISTS acs2013_5yr.census_table_metadata;
DROP TABLE IF EXISTS acs2013_5yr.census_column_metadata;
DROP TABLE IF EXISTS acs2013_5yr.census_topics;
DROP TABLE IF EXISTS acs2013_5yr.census_table_topics;
DROP TABLE IF EXISTS acs2014_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2014_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2014_1yr.census_topics;
DROP TABLE IF EXISTS acs2014_1yr.census_table_topics;
DROP TABLE IF EXISTS acs2014_5yr.census_table_metadata;
DROP TABLE IF EXISTS acs2014_5yr.census_column_metadata;
DROP TABLE IF EXISTS acs2014_5yr.census_topics;
DROP TABLE IF EXISTS acs2014_5yr.census_table_topics;
DROP TABLE IF EXISTS acs2015_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2015_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2015_1yr.census_topics;
DROP TABLE IF EXISTS acs2015_1yr.census_table_topics;
DROP TABLE IF EXISTS acs2015_5yr.census_table_metadata;
DROP TABLE IF EXISTS acs2015_5yr.census_column_metadata;
DROP TABLE IF EXISTS acs2015_5yr.census_topics;
DROP TABLE IF EXISTS acs2015_5yr.census_table_topics;
DROP TABLE IF EXISTS acs2016_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2016_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2016_1yr.census_topics;
DROP TABLE IF EXISTS acs2016_1yr.census_table_topics;
DROP TABLE IF EXISTS acs2016_5yr.census_table_metadata;
DROP TABLE IF EXISTS acs2016_5yr.census_column_metadata;
DROP TABLE IF EXISTS acs2016_5yr.census_topics;
DROP TABLE IF EXISTS acs2016_5yr.census_table_topics;
DROP TABLE IF EXISTS acs2017_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2017_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2017_1yr.census_topics;
DROP TABLE IF EXISTS acs2017_1yr.census_table_topics;
DROP TABLE IF EXISTS acs2017_5yr.census_table_metadata;
DROP TABLE IF EXISTS acs2017_5yr.census_column_metadata;
DROP TABLE IF EXISTS acs2017_5yr.census_topics;
DROP TABLE IF EXISTS acs2017_5yr.census_table_topics;
DROP TABLE IF EXISTS acs2018_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2018_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2018_1yr.census_topics;
DROP TABLE IF EXISTS acs2018_1yr.census_table_topics;
DROP TABLE IF EXISTS acs2018_5yr.census_table_metadata;
DROP TABLE IF EXISTS acs2018_5yr.census_column_metadata;
DROP TABLE IF EXISTS acs2018_5yr.census_topics;
DROP TABLE IF EXISTS acs2018_5yr.census_table_topics;
DROP TABLE IF EXISTS acs2019_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2019_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2019_1yr.census_topics;
DROP TABLE IF EXISTS acs2019_1yr.census_table_topics;
DROP TABLE IF EXISTS acs2019_5yr.census_table_metadata;
DROP TABLE IF EXISTS acs2019_5yr.census_column_metadata;
DROP TABLE IF EXISTS acs2019_5yr.census_topics;
DROP TABLE IF EXISTS acs2019_5yr.census_table_topics;
DROP TABLE IF EXISTS acs2020_5yr.census_table_metadata;
DROP TABLE IF EXISTS acs2020_5yr.census_column_metadata;
DROP TABLE IF EXISTS acs2020_5yr.census_topics;
DROP TABLE IF EXISTS acs2020_5yr.census_table_topics;
DROP TABLE IF EXISTS acs2021_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2021_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2021_1yr.census_topics;
DROP TABLE IF EXISTS acs2021_1yr.census_table_topics;
DROP TABLE IF EXISTS acs2021_5yr.census_table_metadata;
DROP TABLE IF EXISTS acs2021_5yr.census_column_metadata;
DROP TABLE IF EXISTS acs2021_5yr.census_topics;
DROP TABLE IF EXISTS acs2021_5yr.census_table_topics;
DROP TABLE IF EXISTS acs2021_1yr_tables.census_table_metadata;
DROP TABLE IF EXISTS acs2021_1yr_tables.census_column_metadata;
DROP TABLE IF EXISTS acs2022_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2022_1yr.census_column_metadata;
DROP TABLE IF EXISTS acs2022_5yr.census_table_metadata;
DROP TABLE IF EXISTS acs2022_5yr.census_column_metadata;
DROP TABLE IF EXISTS acs2022_5yr.census_topics;
DROP TABLE IF EXISTS acs2022_5yr.census_table_topics;
DROP TABLE IF EXISTS acs2023_1yr.census_table_metadata;
DROP TABLE IF EXISTS acs2023_1yr.census_column_metadata;