luulinh90s commited on
Commit
8431e47
1 Parent(s): 8873a5c
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. htmls_POS_mod2/FN/test-100.html +125 -0
  2. htmls_POS_mod2/FN/test-1000.html +403 -0
  3. htmls_POS_mod2/FN/test-1005.html +153 -0
  4. htmls_POS_mod2/FN/test-1026.html +266 -0
  5. htmls_POS_mod2/FN/test-1035.html +189 -0
  6. htmls_POS_mod2/FN/test-1038.html +264 -0
  7. htmls_POS_mod2/FN/test-1039.html +164 -0
  8. htmls_POS_mod2/FN/test-1041.html +286 -0
  9. htmls_POS_mod2/FN/test-1063.html +383 -0
  10. htmls_POS_mod2/FN/test-1077.html +358 -0
  11. htmls_POS_mod2/FN/test-1078.html +358 -0
  12. htmls_POS_mod2/FN/test-108.html +347 -0
  13. htmls_POS_mod2/FN/test-1080.html +405 -0
  14. htmls_POS_mod2/FN/test-1081.html +358 -0
  15. htmls_POS_mod2/FN/test-1099.html +376 -0
  16. htmls_POS_mod2/FN/test-1108.html +165 -0
  17. htmls_POS_mod2/FN/test-1119.html +181 -0
  18. htmls_POS_mod2/FN/test-1128.html +573 -0
  19. htmls_POS_mod2/FN/test-1140.html +178 -0
  20. htmls_POS_mod2/FN/test-1155.html +388 -0
  21. htmls_POS_mod2/FN/test-1157.html +350 -0
  22. htmls_POS_mod2/FN/test-1159.html +255 -0
  23. htmls_POS_mod2/FN/test-1165.html +281 -0
  24. htmls_POS_mod2/FN/test-1167.html +149 -0
  25. htmls_POS_mod2/FN/test-117.html +150 -0
  26. htmls_POS_mod2/FN/test-118.html +274 -0
  27. htmls_POS_mod2/FN/test-1188.html +227 -0
  28. htmls_POS_mod2/FN/test-1190.html +425 -0
  29. htmls_POS_mod2/FN/test-1191.html +249 -0
  30. htmls_POS_mod2/FN/test-1197.html +1073 -0
  31. htmls_POS_mod2/FN/test-1201.html +331 -0
  32. htmls_POS_mod2/FN/test-1205.html +116 -0
  33. htmls_POS_mod2/FN/test-1213.html +261 -0
  34. htmls_POS_mod2/FN/test-1218.html +447 -0
  35. htmls_POS_mod2/FN/test-1227.html +377 -0
  36. htmls_POS_mod2/FN/test-1231.html +292 -0
  37. htmls_POS_mod2/FN/test-124.html +139 -0
  38. htmls_POS_mod2/FN/test-1240.html +233 -0
  39. htmls_POS_mod2/FN/test-125.html +138 -0
  40. htmls_POS_mod2/FN/test-1250.html +245 -0
  41. htmls_POS_mod2/FN/test-1251.html +336 -0
  42. htmls_POS_mod2/FN/test-1253.html +277 -0
  43. htmls_POS_mod2/FN/test-126.html +116 -0
  44. htmls_POS_mod2/FN/test-1260.html +873 -0
  45. htmls_POS_mod2/FN/test-1261.html +683 -0
  46. htmls_POS_mod2/FN/test-127.html +124 -0
  47. htmls_POS_mod2/FN/test-1271.html +295 -0
  48. htmls_POS_mod2/FN/test-1274.html +383 -0
  49. htmls_POS_mod2/FN/test-128.html +138 -0
  50. htmls_POS_mod2/FN/test-1294.html +421 -0
htmls_POS_mod2/FN/test-100.html ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the vcpc and vctp of 7.62 mm (0.3in) fn mag 60 - 20 machine gun are the same for vcrt 20 mm (79in) rh - 202 autocannon , and so is the vcpc and vcrt of 75 km / h (47 mph) for vctp 75 km / h (47 mph)</h3>
24
+ <h3>Input Table: tam (tank)</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'vcpc' is '7.62 mm (0.3in) fn mag 60 - 20 machine gun'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>vctp</td>
32
+ <td>vca_155</td>
33
+ <td>vctm</td>
34
+ <td>vcpc</td>
35
+ <td>vclc</td>
36
+ <td>vcrt</td>
37
+ </tr>
38
+ <tr>
39
+ <td>28.2 t (31.1 tons )</td>
40
+ <td>40t (44.1tons)</td>
41
+ <td>26t (28.7tons)</td>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25t (27.6tons)</span></td>
43
+ <td>32t (35.3tons)</td>
44
+ <td>32t (35.3tons)</td>
45
+ </tr>
46
+ <tr>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20 mm (79in) rh - 202 autocannon</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">155 mm (6.1in) l / 41 howitzer</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">120 mm (4.72in) mortar</span></td>
50
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7.62 mm (0.3in) fn mag 60 - 20 machine gun</span></td>
51
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">160 mm (6.3in) or 350 mm (13.8in) rockets</span></td>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7.62 mm (0.3in) fn mag 60 - 20 machine gun</span></td>
53
+ </tr>
54
+ <tr>
55
+ <td>km (mi)</td>
56
+ <td>-</td>
57
+ <td>km (mi)</td>
58
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
59
+ <td>km (mi)</td>
60
+ <td>km (mi)</td>
61
+ </tr>
62
+ <tr>
63
+ <td>24hp / t (23hp / ton)</td>
64
+ <td>18hp / t ( 16.5hp / ton)</td>
65
+ <td>28.8hp / t (25.1hp / ton)</td>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28.8hp / t (25.1hp / ton)</span></td>
67
+ <td>22.5hp / t (20.4hp / ton)</td>
68
+ <td>22.5hp / t (20.4hp / ton)</td>
69
+ </tr>
70
+ <tr>
71
+ <td>75 km / h (47 mph)</td>
72
+ <td>55 km / h (34 mph)</td>
73
+ <td>75 km / h (47 mph)</td>
74
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">75 km / h (47 mph)</span></td>
75
+ <td>75 km / h (47 mph)</td>
76
+ <td>75 km / h (47 mph)</td>
77
+ </tr>
78
+ </table>
79
+ </div>
80
+ <hr/>
81
+ <div class="step">
82
+ <div class="step-title">Step 2: Select rows where 'vcrt' is '20 mm (79in) rh - 202 autocannon'.</div>
83
+ <div class="content" id="step-0">
84
+ <table>
85
+ <tr>
86
+ <td>vctp</td>
87
+ <td>vca_155</td>
88
+ <td>vctm</td>
89
+ <td>vcpc</td>
90
+ <td>vclc</td>
91
+ <td>vcrt</td>
92
+ </tr>
93
+ <tr>
94
+ <td>20 mm (79in) rh - 202 autocannon</td>
95
+ <td>155 mm (6.1in) l / 41 howitzer</td>
96
+ <td>120 mm (4.72in) mortar</td>
97
+ <td>7.62 mm (0.3in) fn mag 60 - 20 machine gun</td>
98
+ <td>160 mm (6.3in) or 350 mm (13.8in) rockets</td>
99
+ <td>7.62 mm (0.3in) fn mag 60 - 20 machine gun</td>
100
+ </tr>
101
+ </table>
102
+ </div>
103
+ </div>
104
+ <hr/>
105
+ <div class="step">
106
+ <div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
107
+ <div class="content" id="step-1">
108
+ <table>
109
+ <tr>
110
+ <td>vctp</td>
111
+ <td>vca_155</td>
112
+ <td>vctm</td>
113
+ <td>vcpc</td>
114
+ <td>vclc</td>
115
+ <td>vcrt</td>
116
+ </tr>
117
+ </table>
118
+ </div>
119
+ </div>
120
+ <hr/>
121
+
122
+ </div>
123
+ </div>
124
+ <hr/>
125
+ </body></html>
htmls_POS_mod2/FN/test-1000.html ADDED
@@ -0,0 +1,403 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> in tokyo , japan , hikaru sato 's match ended before round 2</h3>
24
+ <h3>Input Table: katsuya inoue</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'location' is 'tokyo' and 'opponent' is 'hikaru sato'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>res</td>
32
+ <td>record</td>
33
+ <td>opponent</td>
34
+ <td>method</td>
35
+ <td>event</td>
36
+ <td>round</td>
37
+ <td>time</td>
38
+ <td>location</td>
39
+ </tr>
40
+ <tr>
41
+ <td>loss</td>
42
+ <td>19 - 9 - 4</td>
43
+ <td>naoyuki kotani</td>
44
+ <td>submission (armbar)</td>
45
+ <td>9999-01-01</td>
46
+ <td>9999-01-01</td>
47
+ <td>9999-01-01</td>
48
+ <td>9999-01-01</td>
49
+ </tr>
50
+ <tr>
51
+ <td>loss</td>
52
+ <td>19 - 8 - 4</td>
53
+ <td>kota okazawa</td>
54
+ <td>ko (punch)</td>
55
+ <td>9999-01-01</td>
56
+ <td>9999-01-01</td>
57
+ <td>9999-01-01</td>
58
+ <td>9999-01-01</td>
59
+ </tr>
60
+ <tr>
61
+ <td>win</td>
62
+ <td>19 - 7 - 4</td>
63
+ <td>katsuhiko nagata</td>
64
+ <td>decision (unanimous)</td>
65
+ <td>9999-01-01</td>
66
+ <td>9999-01-03</td>
67
+ <td>9999-01-01</td>
68
+ <td>9999-01-01</td>
69
+ </tr>
70
+ <tr>
71
+ <td>loss</td>
72
+ <td>18 - 7 - 4</td>
73
+ <td>maximo blanco</td>
74
+ <td>tko (strikes)</td>
75
+ <td>9999-01-01</td>
76
+ <td>9999-01-02</td>
77
+ <td>9999-01-01</td>
78
+ <td>9999-01-01</td>
79
+ </tr>
80
+ <tr>
81
+ <td>draw</td>
82
+ <td>18 - 6 - 4</td>
83
+ <td>mizuto hirota</td>
84
+ <td>draw</td>
85
+ <td>9999-01-01</td>
86
+ <td>9999-01-03</td>
87
+ <td>9999-01-01</td>
88
+ <td>9999-01-01</td>
89
+ </tr>
90
+ <tr>
91
+ <td>win</td>
92
+ <td>17 - 6 - 3</td>
93
+ <td>koji oishi</td>
94
+ <td>decision (unanimous)</td>
95
+ <td>9999-01-01</td>
96
+ <td>9999-01-03</td>
97
+ <td>9999-01-01</td>
98
+ <td>9999-01-01</td>
99
+ </tr>
100
+ <tr>
101
+ <td>win</td>
102
+ <td>18 - 6 - 3</td>
103
+ <td>daisuke hanazawa</td>
104
+ <td>decision (unanimous)</td>
105
+ <td>9999-01-01</td>
106
+ <td>9999-01-03</td>
107
+ <td>9999-01-01</td>
108
+ <td>9999-01-01</td>
109
+ </tr>
110
+ <tr>
111
+ <td>loss</td>
112
+ <td>16 - 6 - 3</td>
113
+ <td>nick diaz</td>
114
+ <td>tko (corner stoppage)</td>
115
+ <td>9999-01-01</td>
116
+ <td>9999-01-01</td>
117
+ <td>9999-01-01</td>
118
+ <td>9999-01-01</td>
119
+ </tr>
120
+ <tr>
121
+ <td>draw</td>
122
+ <td>16 - 5 - 3</td>
123
+ <td>djamal kurbanov</td>
124
+ <td>draw</td>
125
+ <td>9999-01-01</td>
126
+ <td>9999-01-03</td>
127
+ <td>9999-01-01</td>
128
+ <td>9999-01-01</td>
129
+ </tr>
130
+ <tr>
131
+ <td>win</td>
132
+ <td>16 - 5 - 2</td>
133
+ <td>satoru kitaoka</td>
134
+ <td>decision (split)</td>
135
+ <td>9999-01-01</td>
136
+ <td>9999-01-03</td>
137
+ <td>9999-01-01</td>
138
+ <td>9999-01-01</td>
139
+ </tr>
140
+ <tr>
141
+ <td>draw</td>
142
+ <td>15 - 5 - 2</td>
143
+ <td>shigetoshi iwase</td>
144
+ <td>draw</td>
145
+ <td>2007-01-01</td>
146
+ <td>9999-01-03</td>
147
+ <td>9999-01-01</td>
148
+ <td>9999-01-01</td>
149
+ </tr>
150
+ <tr>
151
+ <td>win</td>
152
+ <td>15 - 5 - 1</td>
153
+ <td>fabricio nascimento</td>
154
+ <td>tko (punches)</td>
155
+ <td>2007-01-01</td>
156
+ <td>9999-01-02</td>
157
+ <td>9999-01-01</td>
158
+ <td>9999-01-01</td>
159
+ </tr>
160
+ <tr>
161
+ <td>win</td>
162
+ <td>14 - 5 - 1</td>
163
+ <td>koji oishi</td>
164
+ <td>ko (punches)</td>
165
+ <td>9999-01-01</td>
166
+ <td>9999-01-02</td>
167
+ <td>9999-01-01</td>
168
+ <td>9999-01-01</td>
169
+ </tr>
170
+ <tr>
171
+ <td>x loss</td>
172
+ <td>13 - 5 - 1</td>
173
+ <td>yoshiyuki yoshida</td>
174
+ <td>ko (punch)</td>
175
+ <td>9999-01-01</td>
176
+ <td>9999-01-01</td>
177
+ <td>9999-01-01</td>
178
+ <td>9999-01-01</td>
179
+ </tr>
180
+ <tr>
181
+ <td>win</td>
182
+ <td>13 - 4 - 1</td>
183
+ <td>takefume hanai</td>
184
+ <td>tko (punches)</td>
185
+ <td>9999-01-01</td>
186
+ <td>9999-01-02</td>
187
+ <td>9999-01-01</td>
188
+ <td>9999-01-01</td>
189
+ </tr>
190
+ <tr>
191
+ <td>x loss</td>
192
+ <td>12 - 4 - 1</td>
193
+ <td>daizo ishige</td>
194
+ <td>decision (unanimous)</td>
195
+ <td>9999-01-06</td>
196
+ <td>9999-01-03</td>
197
+ <td>9999-01-01</td>
198
+ <td>9999-01-01</td>
199
+ </tr>
200
+ <tr>
201
+ <td>win</td>
202
+ <td>12 - 3 - 1</td>
203
+ <td>kim haeng ki</td>
204
+ <td>tko (punches)</td>
205
+ <td>9999-03-01</td>
206
+ <td>9999-01-03</td>
207
+ <td>9999-01-01</td>
208
+ <td>9999-01-01</td>
209
+ </tr>
210
+ <tr>
211
+ <td>draw</td>
212
+ <td>11 - 3 - 1</td>
213
+ <td>satoru kitaoka</td>
214
+ <td>draw</td>
215
+ <td>9999-01-01</td>
216
+ <td>9999-01-03</td>
217
+ <td>9999-01-01</td>
218
+ <td>9999-01-01</td>
219
+ </tr>
220
+ <tr>
221
+ <td>win</td>
222
+ <td>11 - 3</td>
223
+ <td>daisuke hanazawa</td>
224
+ <td>decision (majority)</td>
225
+ <td>9999-01-04</td>
226
+ <td>9999-01-03</td>
227
+ <td>9999-01-01</td>
228
+ <td>9999-01-01</td>
229
+ </tr>
230
+ <tr>
231
+ <td>x loss</td>
232
+ <td>10 - 3</td>
233
+ <td>akira kikuchi</td>
234
+ <td>tko (punches)</td>
235
+ <td>9999-01-02</td>
236
+ <td>9999-01-01</td>
237
+ <td>9999-01-01</td>
238
+ <td>9999-01-01</td>
239
+ </tr>
240
+ <tr>
241
+ <td>win</td>
242
+ <td>10 - 2</td>
243
+ <td>kenji arai</td>
244
+ <td>ko (punch)</td>
245
+ <td>9999-01-01</td>
246
+ <td>9999-01-02</td>
247
+ <td>9999-01-01</td>
248
+ <td>9999-01-01</td>
249
+ </tr>
250
+ <tr>
251
+ <td>win</td>
252
+ <td>9 - 2</td>
253
+ <td>heath sims</td>
254
+ <td>tko (punches)</td>
255
+ <td>9999-01-01</td>
256
+ <td>9999-01-01</td>
257
+ <td>9999-01-01</td>
258
+ <td>9999-01-01</td>
259
+ </tr>
260
+ <tr>
261
+ <td>win</td>
262
+ <td>8 - 2</td>
263
+ <td>kyle noke</td>
264
+ <td>decision (split)</td>
265
+ <td>9999-01-01</td>
266
+ <td>9999-01-03</td>
267
+ <td>9999-01-01</td>
268
+ <td>9999-01-01</td>
269
+ </tr>
270
+ <tr>
271
+ <td>win</td>
272
+ <td>7 - 2</td>
273
+ <td>satoru kitaoka</td>
274
+ <td>decision (unanimous)</td>
275
+ <td>9999-01-01</td>
276
+ <td>9999-01-03</td>
277
+ <td>9999-01-01</td>
278
+ <td>9999-01-01</td>
279
+ </tr>
280
+ <tr>
281
+ <td>win</td>
282
+ <td>6 - 2</td>
283
+ <td>takuya wada</td>
284
+ <td>decision (unanimous)</td>
285
+ <td>9999-01-01</td>
286
+ <td>9999-01-03</td>
287
+ <td>9999-01-01</td>
288
+ <td>9999-01-01</td>
289
+ </tr>
290
+ <tr>
291
+ <td>win</td>
292
+ <td>5 - 2</td>
293
+ <td>hikaru sato</td>
294
+ <td>tko (punches)</td>
295
+ <td>9999-01-01</td>
296
+ <td>9999-01-01</td>
297
+ <td>9999-01-01</td>
298
+ <td>9999-01-01</td>
299
+ </tr>
300
+ <tr>
301
+ <td>win</td>
302
+ <td>4 - 2</td>
303
+ <td>ichiro kanai</td>
304
+ <td>decision (majority)</td>
305
+ <td>9999-01-01</td>
306
+ <td>9999-01-02</td>
307
+ <td>9999-01-01</td>
308
+ <td>9999-01-01</td>
309
+ </tr>
310
+ <tr>
311
+ <td>x loss</td>
312
+ <td>3 - 2</td>
313
+ <td>eiji ishikawa</td>
314
+ <td>decision (majority)</td>
315
+ <td>9999-01-01</td>
316
+ <td>9999-01-02</td>
317
+ <td>9999-01-01</td>
318
+ <td>9999-01-01</td>
319
+ </tr>
320
+ <tr>
321
+ <td>win</td>
322
+ <td>3 - 1</td>
323
+ <td>taro minato</td>
324
+ <td>decision (unanimous)</td>
325
+ <td>9999-01-12</td>
326
+ <td>9999-01-02</td>
327
+ <td>9999-01-01</td>
328
+ <td>9999-01-01</td>
329
+ </tr>
330
+ <tr>
331
+ <td>win</td>
332
+ <td>2 - 1</td>
333
+ <td>ichiro kanai</td>
334
+ <td>decision (unanimous)</td>
335
+ <td>9999-01-07</td>
336
+ <td>9999-01-02</td>
337
+ <td>9999-01-01</td>
338
+ <td>9999-01-01</td>
339
+ </tr>
340
+ <tr>
341
+ <td>win</td>
342
+ <td>1 - 1</td>
343
+ <td>motohiro tachihara</td>
344
+ <td>decision (unanimous)</td>
345
+ <td>9999-01-05</td>
346
+ <td>9999-01-02</td>
347
+ <td>9999-01-01</td>
348
+ <td>9999-01-01</td>
349
+ </tr>
350
+ <tr>
351
+ <td>x loss</td>
352
+ <td>0 - 1</td>
353
+ <td>yoshinori oniki</td>
354
+ <td>tko (strikes)</td>
355
+ <td>9999-01-04</td>
356
+ <td>9999-01-01</td>
357
+ <td>9999-01-09</td>
358
+ <td>9999-01-01</td>
359
+ </tr>
360
+ </table>
361
+ </div>
362
+ <hr/>
363
+ <div class="step">
364
+ <div class="step-title">Step 2: Select rows where the match ended before round 2 by comparing the 'round' column to '2'.</div>
365
+ <div class="content" id="step-0">
366
+ <table>
367
+ <tr>
368
+ <td>res</td>
369
+ <td>record</td>
370
+ <td>opponent</td>
371
+ <td>method</td>
372
+ <td>event</td>
373
+ <td>round</td>
374
+ <td>time</td>
375
+ <td>location</td>
376
+ </tr>
377
+ </table>
378
+ </div>
379
+ </div>
380
+ <hr/>
381
+ <div class="step">
382
+ <div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is greater than or equal to 1, otherwise return FALSE.</div>
383
+ <div class="content" id="step-1">
384
+ <table>
385
+ <tr>
386
+ <td>res</td>
387
+ <td>record</td>
388
+ <td>opponent</td>
389
+ <td>method</td>
390
+ <td>event</td>
391
+ <td>round</td>
392
+ <td>time</td>
393
+ <td>location</td>
394
+ </tr>
395
+ </table>
396
+ </div>
397
+ </div>
398
+ <hr/>
399
+
400
+ </div>
401
+ </div>
402
+ <hr/>
403
+ </body></html>
htmls_POS_mod2/FN/test-1005.html ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the competition on august 15th , 2012 , which resulted in a win , was played at a baku , azerbaijam venue</h3>
24
+ <h3>Input Table: branimir subašić</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where the 'competition' is 'win'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>date</td>
32
+ <td>venue</td>
33
+ <td>score</td>
34
+ <td>result</td>
35
+ <td>competition</td>
36
+ </tr>
37
+ <tr>
38
+ <td>2007-03-07</td>
39
+ <td>shymkent , kazakhstan</td>
40
+ <td>0 - 1</td>
41
+ <td>win</td>
42
+ <td>friendly</td>
43
+ </tr>
44
+ <tr>
45
+ <td>2007-06-02</td>
46
+ <td>baku , azerbaijan</td>
47
+ <td>1 - 3</td>
48
+ <td>lost</td>
49
+ <td>uefa euro 2008 qualifying</td>
50
+ </tr>
51
+ <tr>
52
+ <td>2007-08-22</td>
53
+ <td>dushanbe , tajikistan</td>
54
+ <td>2 - 3</td>
55
+ <td>win</td>
56
+ <td>friendly</td>
57
+ </tr>
58
+ <tr>
59
+ <td>2007-09-12</td>
60
+ <td>baku , azerbaijan</td>
61
+ <td>1 - 1</td>
62
+ <td>draw</td>
63
+ <td>friendly</td>
64
+ </tr>
65
+ <tr>
66
+ <td>2008-06-04</td>
67
+ <td>andorra la vella , andorra</td>
68
+ <td>1 - 2</td>
69
+ <td>win</td>
70
+ <td>friendly</td>
71
+ </tr>
72
+ <tr>
73
+ <td>2008-11-19</td>
74
+ <td>baku , azerbaijan</td>
75
+ <td>1 - 1</td>
76
+ <td>draw</td>
77
+ <td>friendly</td>
78
+ </tr>
79
+ <tr>
80
+ <td>2012-08-15</td>
81
+ <td>baku , azerbaijan</td>
82
+ <td>3 - 0</td>
83
+ <td>win</td>
84
+ <td>friendly</td>
85
+ </tr>
86
+ </table>
87
+ </div>
88
+ <hr/>
89
+ <div class="step">
90
+ <div class="step-title">Step 2: Select rows where the 'result' is 'win'.</div>
91
+ <div class="content" id="step-0">
92
+ <table>
93
+ <tr>
94
+ <td>date</td>
95
+ <td>venue</td>
96
+ <td>score</td>
97
+ <td>result</td>
98
+ <td>competition</td>
99
+ </tr>
100
+ </table>
101
+ </div>
102
+ </div>
103
+ <hr/>
104
+ <div class="step">
105
+ <div class="step-title">Step 3: Select rows where the 'venue' is 'baku, azerbaijan'.</div>
106
+ <div class="content" id="step-1">
107
+ <table>
108
+ <tr>
109
+ <td>date</td>
110
+ <td>venue</td>
111
+ <td>score</td>
112
+ <td>result</td>
113
+ <td>competition</td>
114
+ </tr>
115
+ </table>
116
+ </div>
117
+ </div>
118
+ <hr/>
119
+ <div class="step">
120
+ <div class="step-title">Step 4: Select rows where the 'date' is '2012-08-15'.</div>
121
+ <div class="content" id="step-2">
122
+ <table>
123
+ <tr>
124
+ <td>date</td>
125
+ <td>venue</td>
126
+ <td>score</td>
127
+ <td>result</td>
128
+ <td>competition</td>
129
+ </tr>
130
+ </table>
131
+ </div>
132
+ </div>
133
+ <hr/>
134
+ <div class="step">
135
+ <div class="step-title">Step 5: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
136
+ <div class="content" id="step-3">
137
+ <table>
138
+ <tr>
139
+ <td>date</td>
140
+ <td>venue</td>
141
+ <td>score</td>
142
+ <td>result</td>
143
+ <td>competition</td>
144
+ </tr>
145
+ </table>
146
+ </div>
147
+ </div>
148
+ <hr/>
149
+
150
+ </div>
151
+ </div>
152
+ <hr/>
153
+ </body></html>
htmls_POS_mod2/FN/test-1026.html ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> windows live messenger version 14 and made by microsoft was relased on 2010 - 11 - 17 under the category of social networking</h3>
24
+ <h3>Input Table: list of zune applications</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'title' is 'windows live messenger'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>title</td>
32
+ <td>developer</td>
33
+ <td>category</td>
34
+ <td>release_date</td>
35
+ <td>version</td>
36
+ </tr>
37
+ <tr>
38
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alarm clock</span></td>
39
+ <td>microsoft</td>
40
+ <td>utilities</td>
41
+ <td>2010-12-16</td>
42
+ <td>1.1</td>
43
+ </tr>
44
+ <tr>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">calculator</span></td>
46
+ <td>microsoft</td>
47
+ <td>utilities</td>
48
+ <td>2009-09-01</td>
49
+ <td>1.0</td>
50
+ </tr>
51
+ <tr>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">calendar</span></td>
53
+ <td>matchbox</td>
54
+ <td>utilities</td>
55
+ <td>2011-07-29</td>
56
+ <td>1.0.0.3</td>
57
+ </tr>
58
+ <tr>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chord finder</span></td>
60
+ <td>microsoft</td>
61
+ <td>utilities</td>
62
+ <td>2010-11-17</td>
63
+ <td>1.0</td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">drum machine hd</span></td>
67
+ <td>dino games</td>
68
+ <td>utilities</td>
69
+ <td>2010-10-20</td>
70
+ <td>1.0</td>
71
+ </tr>
72
+ <tr>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">email</span></td>
74
+ <td>microsoft</td>
75
+ <td>utilities</td>
76
+ <td>2011-04-01</td>
77
+ <td>1.1.0.1</td>
78
+ </tr>
79
+ <tr>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">facebook</span></td>
81
+ <td>matchbox</td>
82
+ <td>social networking</td>
83
+ <td>2010-12-16</td>
84
+ <td>1.4</td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">fan prediction</span></td>
88
+ <td>ihwy , inc</td>
89
+ <td>entertainment</td>
90
+ <td>2011-06-23</td>
91
+ <td>1.0</td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">fingerpaint</span></td>
95
+ <td>babaroga</td>
96
+ <td>entertainment</td>
97
+ <td>2011-07-29</td>
98
+ <td>1.1</td>
99
+ </tr>
100
+ <tr>
101
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">level</span></td>
102
+ <td>microsoft</td>
103
+ <td>utilities</td>
104
+ <td>2011-06-23</td>
105
+ <td>1.0</td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">metronome</span></td>
109
+ <td>dino games</td>
110
+ <td>utilities</td>
111
+ <td>2010-09-09</td>
112
+ <td>1.0</td>
113
+ </tr>
114
+ <tr>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">msn money</span></td>
116
+ <td>microsoft</td>
117
+ <td>utilities</td>
118
+ <td>2010-07-29</td>
119
+ <td>1.0</td>
120
+ </tr>
121
+ <tr>
122
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">notes</span></td>
123
+ <td>microsoft</td>
124
+ <td>utilities</td>
125
+ <td>2011-06-23</td>
126
+ <td>1.0</td>
127
+ </tr>
128
+ <tr>
129
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">piano</span></td>
130
+ <td>microsoft</td>
131
+ <td>entertainment</td>
132
+ <td>2009-11-01</td>
133
+ <td>1.0</td>
134
+ </tr>
135
+ <tr>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">shuffle by album</span></td>
137
+ <td>microsoft</td>
138
+ <td>utilities</td>
139
+ <td>2011-02-18</td>
140
+ <td>1.1</td>
141
+ </tr>
142
+ <tr>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stopwatch</span></td>
144
+ <td>microsoft</td>
145
+ <td>utilities</td>
146
+ <td>2010-08-05</td>
147
+ <td>1.1</td>
148
+ </tr>
149
+ <tr>
150
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">twitter</span></td>
151
+ <td>matchbox</td>
152
+ <td>social networking</td>
153
+ <td>2010-12-16</td>
154
+ <td>1.6</td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">weather</span></td>
158
+ <td>microsoft</td>
159
+ <td>utilities</td>
160
+ <td>2009-09-01</td>
161
+ <td>1.0</td>
162
+ </tr>
163
+ <tr>
164
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">windows live messenger</span></td>
165
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">microsoft</span></td>
166
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">social networking</span></td>
167
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2010-11-17</span></td>
168
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1.4</span></td>
169
+ </tr>
170
+ <tr>
171
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">zune reader</span></td>
172
+ <td>microsoft</td>
173
+ <td>utilities</td>
174
+ <td>2011-02-18</td>
175
+ <td>1.2</td>
176
+ </tr>
177
+ </table>
178
+ </div>
179
+ <hr/>
180
+ <div class="step">
181
+ <div class="step-title">Step 2: Select rows where 'version' is '14'.</div>
182
+ <div class="content" id="step-0">
183
+ <table>
184
+ <tr>
185
+ <td>title</td>
186
+ <td>developer</td>
187
+ <td>category</td>
188
+ <td>release_date</td>
189
+ <td>version</td>
190
+ </tr>
191
+ <tr>
192
+ <td>windows live messenger</td>
193
+ <td>microsoft</td>
194
+ <td>social networking</td>
195
+ <td>2010-11-17</td>
196
+ <td>1.4</td>
197
+ </tr>
198
+ </table>
199
+ </div>
200
+ </div>
201
+ <hr/>
202
+ <div class="step">
203
+ <div class="step-title">Step 3: Select rows where 'developer' is 'microsoft'.</div>
204
+ <div class="content" id="step-1">
205
+ <table>
206
+ <tr>
207
+ <td>title</td>
208
+ <td>developer</td>
209
+ <td>category</td>
210
+ <td>release_date</td>
211
+ <td>version</td>
212
+ </tr>
213
+ </table>
214
+ </div>
215
+ </div>
216
+ <hr/>
217
+ <div class="step">
218
+ <div class="step-title">Step 4: Select rows where 'release_date' is '2010-11-17'.</div>
219
+ <div class="content" id="step-2">
220
+ <table>
221
+ <tr>
222
+ <td>title</td>
223
+ <td>developer</td>
224
+ <td>category</td>
225
+ <td>release_date</td>
226
+ <td>version</td>
227
+ </tr>
228
+ </table>
229
+ </div>
230
+ </div>
231
+ <hr/>
232
+ <div class="step">
233
+ <div class="step-title">Step 5: Select rows where 'category' is 'social networking'.</div>
234
+ <div class="content" id="step-3">
235
+ <table>
236
+ <tr>
237
+ <td>title</td>
238
+ <td>developer</td>
239
+ <td>category</td>
240
+ <td>release_date</td>
241
+ <td>version</td>
242
+ </tr>
243
+ </table>
244
+ </div>
245
+ </div>
246
+ <hr/>
247
+ <div class="step">
248
+ <div class="step-title">Step 6: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
249
+ <div class="content" id="step-4">
250
+ <table>
251
+ <tr>
252
+ <td>title</td>
253
+ <td>developer</td>
254
+ <td>category</td>
255
+ <td>release_date</td>
256
+ <td>version</td>
257
+ </tr>
258
+ </table>
259
+ </div>
260
+ </div>
261
+ <hr/>
262
+
263
+ </div>
264
+ </div>
265
+ <hr/>
266
+ </body></html>
htmls_POS_mod2/FN/test-1035.html ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> february 21 had a score of 5 - 4</h3>
24
+ <h3>Input Table: 2003 - 04 philadelphia flyers season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'february' is '9999-02-21'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>game</td>
32
+ <td>february</td>
33
+ <td>opponent</td>
34
+ <td>score</td>
35
+ <td>record</td>
36
+ <td>points</td>
37
+ </tr>
38
+ <tr>
39
+ <td>54</td>
40
+ <td>9999-01-02</td>
41
+ <td>tampa bay lightning</td>
42
+ <td>1 - 2</td>
43
+ <td>26 - 12 - 11 - 5</td>
44
+ <td>68</td>
45
+ </tr>
46
+ <tr>
47
+ <td>55</td>
48
+ <td>9999-01-04</td>
49
+ <td>washington capitals</td>
50
+ <td>5 - 1</td>
51
+ <td>27 - 12 - 11 - 5</td>
52
+ <td>70</td>
53
+ </tr>
54
+ <tr>
55
+ <td>56</td>
56
+ <td>9999-01-05</td>
57
+ <td>atlanta thrashers</td>
58
+ <td>5 - 1</td>
59
+ <td>28 - 12 - 11 - 5</td>
60
+ <td>72</td>
61
+ </tr>
62
+ <tr>
63
+ <td>57</td>
64
+ <td>9999-01-10</td>
65
+ <td>new jersey devils</td>
66
+ <td>4 - 1</td>
67
+ <td>29 - 12 - 11 - 5</td>
68
+ <td>74</td>
69
+ </tr>
70
+ <tr>
71
+ <td>58</td>
72
+ <td>9999-01-12</td>
73
+ <td>new york rangers</td>
74
+ <td>2 - 1</td>
75
+ <td>30 - 12 - 11 - 5</td>
76
+ <td>76</td>
77
+ </tr>
78
+ <tr>
79
+ <td>59</td>
80
+ <td>9999-01-14</td>
81
+ <td>new york rangers</td>
82
+ <td>6 - 2</td>
83
+ <td>31 - 12 - 11 - 5</td>
84
+ <td>78</td>
85
+ </tr>
86
+ <tr>
87
+ <td>60</td>
88
+ <td>9999-01-16</td>
89
+ <td>san jose sharks</td>
90
+ <td>2 - 5</td>
91
+ <td>31 - 13 - 11 - 5</td>
92
+ <td>78</td>
93
+ </tr>
94
+ <tr>
95
+ <td>61</td>
96
+ <td>9999-01-17</td>
97
+ <td>tampa bay lightning</td>
98
+ <td>2 - 5</td>
99
+ <td>31 - 14 - 11 - 5</td>
100
+ <td>78</td>
101
+ </tr>
102
+ <tr>
103
+ <td>62</td>
104
+ <td>9999-01-19</td>
105
+ <td>boston bruins</td>
106
+ <td>3 - 4</td>
107
+ <td>31 - 15 - 11 - 5</td>
108
+ <td>78</td>
109
+ </tr>
110
+ <tr>
111
+ <td>63</td>
112
+ <td>9999-01-21</td>
113
+ <td>atlanta thrashers</td>
114
+ <td>5 - 4</td>
115
+ <td>32 - 15 - 11 - 5</td>
116
+ <td>80</td>
117
+ </tr>
118
+ <tr>
119
+ <td>64</td>
120
+ <td>9999-01-24</td>
121
+ <td>chicago blackhawks</td>
122
+ <td>3 - 1</td>
123
+ <td>33 - 15 - 11 - 5</td>
124
+ <td>82</td>
125
+ </tr>
126
+ <tr>
127
+ <td>65</td>
128
+ <td>9999-01-26</td>
129
+ <td>ottawa senators</td>
130
+ <td>1 - 1 ot</td>
131
+ <td>33 - 15 - 12 - 5</td>
132
+ <td>83</td>
133
+ </tr>
134
+ <tr>
135
+ <td>66</td>
136
+ <td>9999-01-28</td>
137
+ <td>boston bruins</td>
138
+ <td>2 - 3 ot</td>
139
+ <td>33 - 15 - 12 - 6</td>
140
+ <td>84</td>
141
+ </tr>
142
+ <tr>
143
+ <td>67</td>
144
+ <td>9999-01-29</td>
145
+ <td>detroit red wings</td>
146
+ <td>2 - 4</td>
147
+ <td>33 - 16 - 12 - 6</td>
148
+ <td>84</td>
149
+ </tr>
150
+ </table>
151
+ </div>
152
+ <hr/>
153
+ <div class="step">
154
+ <div class="step-title">Step 2: Select rows where 'score' is '5 - 4'.</div>
155
+ <div class="content" id="step-0">
156
+ <table>
157
+ <tr>
158
+ <td>game</td>
159
+ <td>february</td>
160
+ <td>opponent</td>
161
+ <td>score</td>
162
+ <td>record</td>
163
+ <td>points</td>
164
+ </tr>
165
+ </table>
166
+ </div>
167
+ </div>
168
+ <hr/>
169
+ <div class="step">
170
+ <div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
171
+ <div class="content" id="step-1">
172
+ <table>
173
+ <tr>
174
+ <td>game</td>
175
+ <td>february</td>
176
+ <td>opponent</td>
177
+ <td>score</td>
178
+ <td>record</td>
179
+ <td>points</td>
180
+ </tr>
181
+ </table>
182
+ </div>
183
+ </div>
184
+ <hr/>
185
+
186
+ </div>
187
+ </div>
188
+ <hr/>
189
+ </body></html>
htmls_POS_mod2/FN/test-1038.html ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> takamiyama had the longest time range between his first and last record , 13 years</h3>
24
+ <h3>Input Table: list of sumo record holders</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by the 'first' column in ascending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>name</td>
32
+ <td>total</td>
33
+ <td>first</td>
34
+ <td>last</td>
35
+ <td>highest_rank</td>
36
+ </tr>
37
+ <tr>
38
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kotonishiki</span></td>
39
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">34</span></td>
40
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1990-09-01</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1999-09-01</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sekiwake</span></td>
43
+ </tr>
44
+ <tr>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kaiō</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">32</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1994-05-01</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000-07-01</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
50
+ </tr>
51
+ <tr>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">musōyama</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">31</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1994-03-01</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000-09-01</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
57
+ </tr>
58
+ <tr>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hasegawa</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1965-11-01</span></td>
62
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1974-09-01</span></td>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sekiwake</span></td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kotomitsuki</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2001-01-01</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2007-07-01</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
71
+ </tr>
72
+ <tr>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">akinoshima</span></td>
74
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27</span></td>
75
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1988-11-01</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000-09-01</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sekiwake</span></td>
78
+ </tr>
79
+ <tr>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">takamiyama</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1969-11-01</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1982-09-01</span></td>
84
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sekiwake</span></td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">takatōriki</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1991-05-01</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000-05-01</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sekiwake</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wakanosato</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2000-11-01</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005-09-01</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sekiwake</span></td>
99
+ </tr>
100
+ <tr>
101
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">daikirin</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1966-11-01</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1970-09-01</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tochiazuma ii</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1997-07-01</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005-01-01</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
113
+ </tr>
114
+ <tr>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kisenosato</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2006-07-01</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2011-09-01</span></td>
119
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
120
+ </tr>
121
+ </table>
122
+ </div>
123
+ <hr/>
124
+ <div class="step">
125
+ <div class="step-title">Step 2: Select the row with the earliest 'first' date.</div>
126
+ <div class="content" id="step-0">
127
+ <table>
128
+ <tr>
129
+ <td>name</td>
130
+ <td>total</td>
131
+ <td>first</td>
132
+ <td>last</td>
133
+ <td>highest_rank</td>
134
+ </tr>
135
+ <tr>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hasegawa</span></td>
137
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
138
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1965-11-01</span></td>
139
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1974-09-01</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sekiwake</span></td>
141
+ </tr>
142
+ <tr>
143
+ <td>daikirin</td>
144
+ <td>22</td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1966-11-01</span></td>
146
+ <td>1970-09-01</td>
147
+ <td>ōzeki</td>
148
+ </tr>
149
+ <tr>
150
+ <td>takamiyama</td>
151
+ <td>27</td>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1969-11-01</span></td>
153
+ <td>1982-09-01</td>
154
+ <td>sekiwake</td>
155
+ </tr>
156
+ <tr>
157
+ <td>akinoshima</td>
158
+ <td>27</td>
159
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1988-11-01</span></td>
160
+ <td>2000-09-01</td>
161
+ <td>sekiwake</td>
162
+ </tr>
163
+ <tr>
164
+ <td>kotonishiki</td>
165
+ <td>34</td>
166
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1990-09-01</span></td>
167
+ <td>1999-09-01</td>
168
+ <td>sekiwake</td>
169
+ </tr>
170
+ <tr>
171
+ <td>takatōriki</td>
172
+ <td>26</td>
173
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1991-05-01</span></td>
174
+ <td>2000-05-01</td>
175
+ <td>sekiwake</td>
176
+ </tr>
177
+ <tr>
178
+ <td>musōyama</td>
179
+ <td>31</td>
180
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1994-03-01</span></td>
181
+ <td>2000-09-01</td>
182
+ <td>ōzeki</td>
183
+ </tr>
184
+ <tr>
185
+ <td>kaiō</td>
186
+ <td>32</td>
187
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1994-05-01</span></td>
188
+ <td>2000-07-01</td>
189
+ <td>ōzeki</td>
190
+ </tr>
191
+ <tr>
192
+ <td>tochiazuma ii</td>
193
+ <td>22</td>
194
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1997-07-01</span></td>
195
+ <td>2005-01-01</td>
196
+ <td>ōzeki</td>
197
+ </tr>
198
+ <tr>
199
+ <td>wakanosato</td>
200
+ <td>26</td>
201
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000-11-01</span></td>
202
+ <td>2005-09-01</td>
203
+ <td>sekiwake</td>
204
+ </tr>
205
+ <tr>
206
+ <td>kotomitsuki</td>
207
+ <td>30</td>
208
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2001-01-01</span></td>
209
+ <td>2007-07-01</td>
210
+ <td>ōzeki</td>
211
+ </tr>
212
+ <tr>
213
+ <td>kisenosato</td>
214
+ <td>22</td>
215
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2006-07-01</span></td>
216
+ <td>2011-09-01</td>
217
+ <td>ōzeki</td>
218
+ </tr>
219
+ </table>
220
+ </div>
221
+ </div>
222
+ <hr/>
223
+ <div class="step">
224
+ <div class="step-title">Step 3: Select rows where the 'name' is 'takamiyama'.</div>
225
+ <div class="content" id="step-1">
226
+ <table>
227
+ <tr>
228
+ <td>name</td>
229
+ <td>total</td>
230
+ <td>first</td>
231
+ <td>last</td>
232
+ <td>highest_rank</td>
233
+ </tr>
234
+ <tr>
235
+ <td>hasegawa</td>
236
+ <td>30</td>
237
+ <td>1965-11-01</td>
238
+ <td>1974-09-01</td>
239
+ <td>sekiwake</td>
240
+ </tr>
241
+ </table>
242
+ </div>
243
+ </div>
244
+ <hr/>
245
+ <div class="step">
246
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
247
+ <div class="content" id="step-2">
248
+ <table>
249
+ <tr>
250
+ <td>name</td>
251
+ <td>total</td>
252
+ <td>first</td>
253
+ <td>last</td>
254
+ <td>highest_rank</td>
255
+ </tr>
256
+ </table>
257
+ </div>
258
+ </div>
259
+ <hr/>
260
+
261
+ </div>
262
+ </div>
263
+ <hr/>
264
+ </body></html>
htmls_POS_mod2/FN/test-1039.html ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the only total that appears more than two times is 22</h3>
24
+ <h3>Input Table: list of sumo record holders</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where the 'total' column is equal to 22.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>name</td>
32
+ <td>total</td>
33
+ <td>first</td>
34
+ <td>last</td>
35
+ <td>highest_rank</td>
36
+ </tr>
37
+ <tr>
38
+ <td>kotonishiki</td>
39
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">34</span></td>
40
+ <td>1990-09-01</td>
41
+ <td>1999-09-01</td>
42
+ <td>sekiwake</td>
43
+ </tr>
44
+ <tr>
45
+ <td>kaiō</td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">32</span></td>
47
+ <td>1994-05-01</td>
48
+ <td>2000-07-01</td>
49
+ <td>ōzeki</td>
50
+ </tr>
51
+ <tr>
52
+ <td>musōyama</td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">31</span></td>
54
+ <td>1994-03-01</td>
55
+ <td>2000-09-01</td>
56
+ <td>ōzeki</td>
57
+ </tr>
58
+ <tr>
59
+ <td>hasegawa</td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
61
+ <td>1965-11-01</td>
62
+ <td>1974-09-01</td>
63
+ <td>sekiwake</td>
64
+ </tr>
65
+ <tr>
66
+ <td>kotomitsuki</td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
68
+ <td>2001-01-01</td>
69
+ <td>2007-07-01</td>
70
+ <td>ōzeki</td>
71
+ </tr>
72
+ <tr>
73
+ <td>akinoshima</td>
74
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27</span></td>
75
+ <td>1988-11-01</td>
76
+ <td>2000-09-01</td>
77
+ <td>sekiwake</td>
78
+ </tr>
79
+ <tr>
80
+ <td>takamiyama</td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27</span></td>
82
+ <td>1969-11-01</td>
83
+ <td>1982-09-01</td>
84
+ <td>sekiwake</td>
85
+ </tr>
86
+ <tr>
87
+ <td>takatōriki</td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26</span></td>
89
+ <td>1991-05-01</td>
90
+ <td>2000-05-01</td>
91
+ <td>sekiwake</td>
92
+ </tr>
93
+ <tr>
94
+ <td>wakanosato</td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26</span></td>
96
+ <td>2000-11-01</td>
97
+ <td>2005-09-01</td>
98
+ <td>sekiwake</td>
99
+ </tr>
100
+ <tr>
101
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">daikirin</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">22</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1966-11-01</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1970-09-01</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tochiazuma ii</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">22</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1997-07-01</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005-01-01</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
113
+ </tr>
114
+ <tr>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kisenosato</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">22</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2006-07-01</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2011-09-01</span></td>
119
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
120
+ </tr>
121
+ </table>
122
+ </div>
123
+ <hr/>
124
+ <div class="step">
125
+ <div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
126
+ <div class="content" id="step-0">
127
+ <table>
128
+ <tr>
129
+ <td>name</td>
130
+ <td>total</td>
131
+ <td>first</td>
132
+ <td>last</td>
133
+ <td>highest_rank</td>
134
+ </tr>
135
+ <tr>
136
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">daikirin</span></td>
137
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">22</span></td>
138
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1966-11-01</span></td>
139
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1970-09-01</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">ōzeki</span></td>
141
+ </tr>
142
+ <tr>
143
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">tochiazuma ii</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">22</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1997-07-01</span></td>
146
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2005-01-01</span></td>
147
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">ōzeki</span></td>
148
+ </tr>
149
+ <tr>
150
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">kisenosato</span></td>
151
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">22</span></td>
152
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2006-07-01</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2011-09-01</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">ōzeki</span></td>
155
+ </tr>
156
+ </table>
157
+ </div>
158
+ </div>
159
+ <hr/>
160
+
161
+ </div>
162
+ </div>
163
+ <hr/>
164
+ </body></html>
htmls_POS_mod2/FN/test-1041.html ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the last record for both the highest totalling name and the lowest totalling name were recorded in the month of september</h3>
24
+ <h3>Input Table: list of sumo record holders</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by the 'total' column in ascending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>name</td>
32
+ <td>total</td>
33
+ <td>first</td>
34
+ <td>last</td>
35
+ <td>highest_rank</td>
36
+ </tr>
37
+ <tr>
38
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kotonishiki</span></td>
39
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">34</span></td>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1990-09-01</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1999-09-01</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sekiwake</span></td>
43
+ </tr>
44
+ <tr>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kaiō</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">32</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1994-05-01</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000-07-01</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
50
+ </tr>
51
+ <tr>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">musōyama</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">31</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1994-03-01</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000-09-01</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
57
+ </tr>
58
+ <tr>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hasegawa</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">30</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1965-11-01</span></td>
62
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1974-09-01</span></td>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sekiwake</span></td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kotomitsuki</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">30</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2001-01-01</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2007-07-01</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
71
+ </tr>
72
+ <tr>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">akinoshima</span></td>
74
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">27</span></td>
75
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1988-11-01</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000-09-01</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sekiwake</span></td>
78
+ </tr>
79
+ <tr>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">takamiyama</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">27</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1969-11-01</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1982-09-01</span></td>
84
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sekiwake</span></td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">takatōriki</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">26</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1991-05-01</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000-05-01</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sekiwake</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wakanosato</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">26</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000-11-01</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005-09-01</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sekiwake</span></td>
99
+ </tr>
100
+ <tr>
101
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">daikirin</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">22</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1966-11-01</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1970-09-01</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tochiazuma ii</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">22</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1997-07-01</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005-01-01</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
113
+ </tr>
114
+ <tr>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kisenosato</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">22</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2006-07-01</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2011-09-01</span></td>
119
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ōzeki</span></td>
120
+ </tr>
121
+ </table>
122
+ </div>
123
+ <hr/>
124
+ <div class="step">
125
+ <div class="step-title">Step 2: Select the row number 1.</div>
126
+ <div class="content" id="step-0">
127
+ <table>
128
+ <tr>
129
+ <td>name</td>
130
+ <td>total</td>
131
+ <td>first</td>
132
+ <td>last</td>
133
+ <td>highest_rank</td>
134
+ </tr>
135
+ <tr>
136
+ <td>daikirin</td>
137
+ <td>22</td>
138
+ <td>1966-11-01</td>
139
+ <td>1970-09-01</td>
140
+ <td>ōzeki</td>
141
+ </tr>
142
+ <tr>
143
+ <td>tochiazuma ii</td>
144
+ <td>22</td>
145
+ <td>1997-07-01</td>
146
+ <td>2005-01-01</td>
147
+ <td>ōzeki</td>
148
+ </tr>
149
+ <tr>
150
+ <td>kisenosato</td>
151
+ <td>22</td>
152
+ <td>2006-07-01</td>
153
+ <td>2011-09-01</td>
154
+ <td>ōzeki</td>
155
+ </tr>
156
+ <tr>
157
+ <td>takatōriki</td>
158
+ <td>26</td>
159
+ <td>1991-05-01</td>
160
+ <td>2000-05-01</td>
161
+ <td>sekiwake</td>
162
+ </tr>
163
+ <tr>
164
+ <td>wakanosato</td>
165
+ <td>26</td>
166
+ <td>2000-11-01</td>
167
+ <td>2005-09-01</td>
168
+ <td>sekiwake</td>
169
+ </tr>
170
+ <tr>
171
+ <td>akinoshima</td>
172
+ <td>27</td>
173
+ <td>1988-11-01</td>
174
+ <td>2000-09-01</td>
175
+ <td>sekiwake</td>
176
+ </tr>
177
+ <tr>
178
+ <td>takamiyama</td>
179
+ <td>27</td>
180
+ <td>1969-11-01</td>
181
+ <td>1982-09-01</td>
182
+ <td>sekiwake</td>
183
+ </tr>
184
+ <tr>
185
+ <td>hasegawa</td>
186
+ <td>30</td>
187
+ <td>1965-11-01</td>
188
+ <td>1974-09-01</td>
189
+ <td>sekiwake</td>
190
+ </tr>
191
+ <tr>
192
+ <td>kotomitsuki</td>
193
+ <td>30</td>
194
+ <td>2001-01-01</td>
195
+ <td>2007-07-01</td>
196
+ <td>ōzeki</td>
197
+ </tr>
198
+ <tr>
199
+ <td>musōyama</td>
200
+ <td>31</td>
201
+ <td>1994-03-01</td>
202
+ <td>2000-09-01</td>
203
+ <td>ōzeki</td>
204
+ </tr>
205
+ <tr>
206
+ <td>kaiō</td>
207
+ <td>32</td>
208
+ <td>1994-05-01</td>
209
+ <td>2000-07-01</td>
210
+ <td>ōzeki</td>
211
+ </tr>
212
+ <tr>
213
+ <td>kotonishiki</td>
214
+ <td>34</td>
215
+ <td>1990-09-01</td>
216
+ <td>1999-09-01</td>
217
+ <td>sekiwake</td>
218
+ </tr>
219
+ </table>
220
+ </div>
221
+ </div>
222
+ <hr/>
223
+ <div class="step">
224
+ <div class="step-title">Step 3: Select rows where the 'last' column is in the month of September.</div>
225
+ <div class="content" id="step-1">
226
+ <table>
227
+ <tr>
228
+ <td>name</td>
229
+ <td>total</td>
230
+ <td>first</td>
231
+ <td>last</td>
232
+ <td>highest_rank</td>
233
+ </tr>
234
+ <tr>
235
+ <td>daikirin</td>
236
+ <td>22</td>
237
+ <td>1966-11-01</td>
238
+ <td>1970-09-01</td>
239
+ <td>ōzeki</td>
240
+ </tr>
241
+ </table>
242
+ </div>
243
+ </div>
244
+ <hr/>
245
+ <div class="step">
246
+ <div class="step-title">Step 4: Select rows where the 'highest_rank' column is 'sekiwake'.</div>
247
+ <div class="content" id="step-2">
248
+ <table>
249
+ <tr>
250
+ <td>name</td>
251
+ <td>total</td>
252
+ <td>first</td>
253
+ <td>last</td>
254
+ <td>highest_rank</td>
255
+ </tr>
256
+ <tr>
257
+ <td>daikirin</td>
258
+ <td>22</td>
259
+ <td>1966-11-01</td>
260
+ <td>1970-09-01</td>
261
+ <td>ōzeki</td>
262
+ </tr>
263
+ </table>
264
+ </div>
265
+ </div>
266
+ <hr/>
267
+ <div class="step">
268
+ <div class="step-title">Step 5: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
269
+ <div class="content" id="step-3">
270
+ <table>
271
+ <tr>
272
+ <td>name</td>
273
+ <td>total</td>
274
+ <td>first</td>
275
+ <td>last</td>
276
+ <td>highest_rank</td>
277
+ </tr>
278
+ </table>
279
+ </div>
280
+ </div>
281
+ <hr/>
282
+
283
+ </div>
284
+ </div>
285
+ <hr/>
286
+ </body></html>
htmls_POS_mod2/FN/test-1063.html ADDED
@@ -0,0 +1,383 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> danny cipriani , born november 2nd 1987 was a fly half</h3>
24
+ <h3>Input Table: 2008 six nations championship squads</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'player' is 'danny cipriani'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>player</td>
32
+ <td>position</td>
33
+ <td>date_of_birth__age_</td>
34
+ <td>caps</td>
35
+ <td>club___province</td>
36
+ </tr>
37
+ <tr>
38
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">george chuter</span></td>
39
+ <td>hooker</td>
40
+ <td>1976-07-09</td>
41
+ <td>19</td>
42
+ <td>leicester</td>
43
+ </tr>
44
+ <tr>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lee mears</span></td>
46
+ <td>hooker</td>
47
+ <td>1979-03-05</td>
48
+ <td>18</td>
49
+ <td>bath</td>
50
+ </tr>
51
+ <tr>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mark regan</span></td>
53
+ <td>hooker</td>
54
+ <td>1972-01-28</td>
55
+ <td>43</td>
56
+ <td>bristol</td>
57
+ </tr>
58
+ <tr>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jason hobson</span></td>
60
+ <td>prop</td>
61
+ <td>1983-02-10</td>
62
+ <td>0</td>
63
+ <td>bristol</td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tim payne</span></td>
67
+ <td>prop</td>
68
+ <td>1979-04-29</td>
69
+ <td>5</td>
70
+ <td>wasps</td>
71
+ </tr>
72
+ <tr>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">andrew sheridan</span></td>
74
+ <td>prop</td>
75
+ <td>1979-11-01</td>
76
+ <td>20</td>
77
+ <td>sale</td>
78
+ </tr>
79
+ <tr>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">matt stevens</span></td>
81
+ <td>prop</td>
82
+ <td>1982-10-01</td>
83
+ <td>20</td>
84
+ <td>bath</td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">phil vickery ( c )</span></td>
88
+ <td>prop</td>
89
+ <td>1976-03-14</td>
90
+ <td>60</td>
91
+ <td>wasps</td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">steve borthwick</span></td>
95
+ <td>lock</td>
96
+ <td>1979-10-12</td>
97
+ <td>32</td>
98
+ <td>bath</td>
99
+ </tr>
100
+ <tr>
101
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">louis deacon</span></td>
102
+ <td>lock</td>
103
+ <td>1980-10-07</td>
104
+ <td>6</td>
105
+ <td>leicester</td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ben kay</span></td>
109
+ <td>lock</td>
110
+ <td>1975-12-14</td>
111
+ <td>53</td>
112
+ <td>leicester</td>
113
+ </tr>
114
+ <tr>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">simon shaw</span></td>
116
+ <td>lock</td>
117
+ <td>1973-09-01</td>
118
+ <td>43</td>
119
+ <td>wasps</td>
120
+ </tr>
121
+ <tr>
122
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tom croft</span></td>
123
+ <td>flanker</td>
124
+ <td>1985-11-07</td>
125
+ <td>0</td>
126
+ <td>leicester</td>
127
+ </tr>
128
+ <tr>
129
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">james haskell</span></td>
130
+ <td>flanker</td>
131
+ <td>1985-04-02</td>
132
+ <td>2</td>
133
+ <td>wasps</td>
134
+ </tr>
135
+ <tr>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">michael lipman</span></td>
137
+ <td>flanker</td>
138
+ <td>1980-01-16</td>
139
+ <td>0</td>
140
+ <td>bath</td>
141
+ </tr>
142
+ <tr>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">magnus lund</span></td>
144
+ <td>flanker</td>
145
+ <td>1983-06-25</td>
146
+ <td>10</td>
147
+ <td>sale</td>
148
+ </tr>
149
+ <tr>
150
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lewis moody</span></td>
151
+ <td>flanker</td>
152
+ <td>1978-06-12</td>
153
+ <td>52</td>
154
+ <td>leicester</td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tom rees</span></td>
158
+ <td>flanker</td>
159
+ <td>1984-09-11</td>
160
+ <td>8</td>
161
+ <td>wasps</td>
162
+ </tr>
163
+ <tr>
164
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joe worsley</span></td>
165
+ <td>flanker</td>
166
+ <td>1977-06-14</td>
167
+ <td>65</td>
168
+ <td>wasps</td>
169
+ </tr>
170
+ <tr>
171
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nick easter</span></td>
172
+ <td>number 8</td>
173
+ <td>1978-08-15</td>
174
+ <td>12</td>
175
+ <td>harlequins</td>
176
+ </tr>
177
+ <tr>
178
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">luke narraway</span></td>
179
+ <td>number 8</td>
180
+ <td>1983-09-07</td>
181
+ <td>0</td>
182
+ <td>gloucester</td>
183
+ </tr>
184
+ <tr>
185
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">danny care</span></td>
186
+ <td>scrum - half</td>
187
+ <td>1987-01-02</td>
188
+ <td>0</td>
189
+ <td>harlequins</td>
190
+ </tr>
191
+ <tr>
192
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lee dickson</span></td>
193
+ <td>scrum - half</td>
194
+ <td>1985-03-29</td>
195
+ <td>0</td>
196
+ <td>newcastle</td>
197
+ </tr>
198
+ <tr>
199
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">andy gomarsall</span></td>
200
+ <td>scrum - half</td>
201
+ <td>1974-07-24</td>
202
+ <td>33</td>
203
+ <td>harlequins</td>
204
+ </tr>
205
+ <tr>
206
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">paul hodgson</span></td>
207
+ <td>scrum - half</td>
208
+ <td>1982-04-25</td>
209
+ <td>0</td>
210
+ <td>london irish</td>
211
+ </tr>
212
+ <tr>
213
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">peter richards</span></td>
214
+ <td>scrum - half</td>
215
+ <td>1978-03-10</td>
216
+ <td>12</td>
217
+ <td>london irish</td>
218
+ </tr>
219
+ <tr>
220
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">richard wigglesworth</span></td>
221
+ <td>scrum - half</td>
222
+ <td>1983-06-09</td>
223
+ <td>0</td>
224
+ <td>sale</td>
225
+ </tr>
226
+ <tr>
227
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">danny cipriani</span></td>
228
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">fly - half</span></td>
229
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1987-11-02</span></td>
230
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
231
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wasps</span></td>
232
+ </tr>
233
+ <tr>
234
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">shane geraghty</span></td>
235
+ <td>fly - half</td>
236
+ <td>1986-08-12</td>
237
+ <td>2</td>
238
+ <td>london irish</td>
239
+ </tr>
240
+ <tr>
241
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">charlie hodgson</span></td>
242
+ <td>fly - half</td>
243
+ <td>1980-11-12</td>
244
+ <td>29</td>
245
+ <td>sale</td>
246
+ </tr>
247
+ <tr>
248
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jonny wilkinson</span></td>
249
+ <td>fly - half</td>
250
+ <td>1979-05-25</td>
251
+ <td>65</td>
252
+ <td>newcastle</td>
253
+ </tr>
254
+ <tr>
255
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">toby flood</span></td>
256
+ <td>centre</td>
257
+ <td>1985-08-01</td>
258
+ <td>12</td>
259
+ <td>newcastle</td>
260
+ </tr>
261
+ <tr>
262
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jamie noon</span></td>
263
+ <td>centre</td>
264
+ <td>1979-05-09</td>
265
+ <td>27</td>
266
+ <td>newcastle</td>
267
+ </tr>
268
+ <tr>
269
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mathew tait</span></td>
270
+ <td>centre</td>
271
+ <td>1986-02-06</td>
272
+ <td>19</td>
273
+ <td>newcastle</td>
274
+ </tr>
275
+ <tr>
276
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mike tindall</span></td>
277
+ <td>centre</td>
278
+ <td>1978-10-18</td>
279
+ <td>54</td>
280
+ <td>gloucester</td>
281
+ </tr>
282
+ <tr>
283
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">paul sackey</span></td>
284
+ <td>wing</td>
285
+ <td>1979-11-08</td>
286
+ <td>10</td>
287
+ <td>wasps</td>
288
+ </tr>
289
+ <tr>
290
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">james simpson - daniel</span></td>
291
+ <td>wing</td>
292
+ <td>1982-05-30</td>
293
+ <td>10</td>
294
+ <td>gloucester</td>
295
+ </tr>
296
+ <tr>
297
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">david strettle</span></td>
298
+ <td>wing</td>
299
+ <td>1983-07-23</td>
300
+ <td>3</td>
301
+ <td>harlequins</td>
302
+ </tr>
303
+ <tr>
304
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lesley vainikolo</span></td>
305
+ <td>wing</td>
306
+ <td>1979-05-04</td>
307
+ <td>5</td>
308
+ <td>gloucester</td>
309
+ </tr>
310
+ <tr>
311
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">iain balshaw</span></td>
312
+ <td>fullback</td>
313
+ <td>1979-04-14</td>
314
+ <td>30</td>
315
+ <td>gloucester</td>
316
+ </tr>
317
+ <tr>
318
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mark cueto</span></td>
319
+ <td>fullback</td>
320
+ <td>1979-12-26</td>
321
+ <td>24</td>
322
+ <td>sale</td>
323
+ </tr>
324
+ </table>
325
+ </div>
326
+ <hr/>
327
+ <div class="step">
328
+ <div class="step-title">Step 2: Select rows where 'date_of_birth__age_' is 'november 2nd 1987'.</div>
329
+ <div class="content" id="step-0">
330
+ <table>
331
+ <tr>
332
+ <td>player</td>
333
+ <td>position</td>
334
+ <td>date_of_birth__age_</td>
335
+ <td>caps</td>
336
+ <td>club___province</td>
337
+ </tr>
338
+ <tr>
339
+ <td>danny cipriani</td>
340
+ <td>fly - half</td>
341
+ <td>1987-11-02</td>
342
+ <td>0</td>
343
+ <td>wasps</td>
344
+ </tr>
345
+ </table>
346
+ </div>
347
+ </div>
348
+ <hr/>
349
+ <div class="step">
350
+ <div class="step-title">Step 3: Select rows where 'position' is 'fly - half'.</div>
351
+ <div class="content" id="step-1">
352
+ <table>
353
+ <tr>
354
+ <td>player</td>
355
+ <td>position</td>
356
+ <td>date_of_birth__age_</td>
357
+ <td>caps</td>
358
+ <td>club___province</td>
359
+ </tr>
360
+ </table>
361
+ </div>
362
+ </div>
363
+ <hr/>
364
+ <div class="step">
365
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
366
+ <div class="content" id="step-2">
367
+ <table>
368
+ <tr>
369
+ <td>player</td>
370
+ <td>position</td>
371
+ <td>date_of_birth__age_</td>
372
+ <td>caps</td>
373
+ <td>club___province</td>
374
+ </tr>
375
+ </table>
376
+ </div>
377
+ </div>
378
+ <hr/>
379
+
380
+ </div>
381
+ </div>
382
+ <hr/>
383
+ </body></html>
htmls_POS_mod2/FN/test-1077.html ADDED
@@ -0,0 +1,358 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> detroit had the highest home team score , at 6 points</h3>
24
+ <h3>Input Table: 2003 - 04 detroit red wings season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by 'score' in descending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>date</td>
32
+ <td>visitor</td>
33
+ <td>score</td>
34
+ <td>home</td>
35
+ <td>decision</td>
36
+ <td>attendance</td>
37
+ <td>record</td>
38
+ </tr>
39
+ <tr>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0002-01-01</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">4 - 1</span></td>
43
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carolina</span></td>
44
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17053</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24 - 12 - 4 - 1</span></td>
47
+ </tr>
48
+ <tr>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0001-01-03</span></td>
50
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">anaheim</span></td>
51
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1 - 3</span></td>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25 - 12 - 4 - 1</span></td>
56
+ </tr>
57
+ <tr>
58
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0000-01-05</span></td>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nashville</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0 - 6</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
62
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
64
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26 - 12 - 4 - 1</span></td>
65
+ </tr>
66
+ <tr>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0001-01-07</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">boston</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3 - 0</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
71
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
72
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26 - 13 - 4 - 1</span></td>
74
+ </tr>
75
+ <tr>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0000-01-10</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
78
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1 - 2</span></td>
79
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">boston</span></td>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17565</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26 - 13 - 4 - 2</span></td>
83
+ </tr>
84
+ <tr>
85
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-14</span></td>
86
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chicago</span></td>
87
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 4</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27 - 13 - 4 - 2</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0000-01-16</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">phoenix</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3 - 3</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
99
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
100
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27 - 13 - 5 - 2</span></td>
101
+ </tr>
102
+ <tr>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-19</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1 - 2</span></td>
106
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">san jose</span></td>
107
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17361</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27 - 14 - 5 - 2</span></td>
110
+ </tr>
111
+ <tr>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-21</span></td>
113
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
114
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 2</span></td>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">anaheim</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17174</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27 - 14 - 6 - 2</span></td>
119
+ </tr>
120
+ <tr>
121
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-22</span></td>
122
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">5 - 4</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">los angeles</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18118</span></td>
127
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28 - 14 - 6 - 2</span></td>
128
+ </tr>
129
+ <tr>
130
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-24</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 5</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">phoenix</span></td>
134
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
135
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">19019</span></td>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28 - 15 - 6 - 2</span></td>
137
+ </tr>
138
+ <tr>
139
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-26</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
141
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 2</span></td>
142
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">dallas</span></td>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18532</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28 - 15 - 7 - 2</span></td>
146
+ </tr>
147
+ <tr>
148
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-29</span></td>
149
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">new jersey</span></td>
150
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 5</span></td>
151
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29 - 15 - 7 - 2</span></td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-31</span></td>
158
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carolina</span></td>
159
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">4 - 4</span></td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
161
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
162
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
163
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30 - 15 - 8 - 2</span></td>
164
+ </tr>
165
+ </table>
166
+ </div>
167
+ <hr/>
168
+ <div class="step">
169
+ <div class="step-title">Step 2: Select row number 1.</div>
170
+ <div class="content" id="step-0">
171
+ <table>
172
+ <tr>
173
+ <td>date</td>
174
+ <td>visitor</td>
175
+ <td>score</td>
176
+ <td>home</td>
177
+ <td>decision</td>
178
+ <td>attendance</td>
179
+ <td>record</td>
180
+ </tr>
181
+ <tr>
182
+ <td>9999-01-22</td>
183
+ <td>detroit</td>
184
+ <td>5 - 4</td>
185
+ <td>los angeles</td>
186
+ <td>joseph</td>
187
+ <td>18118</td>
188
+ <td>28 - 14 - 6 - 2</td>
189
+ </tr>
190
+ <tr>
191
+ <td>9999-01-31</td>
192
+ <td>carolina</td>
193
+ <td>4 - 4</td>
194
+ <td>detroit</td>
195
+ <td>legace</td>
196
+ <td>20066</td>
197
+ <td>30 - 15 - 8 - 2</td>
198
+ </tr>
199
+ <tr>
200
+ <td>0002-01-01</td>
201
+ <td>detroit</td>
202
+ <td>4 - 1</td>
203
+ <td>carolina</td>
204
+ <td>joseph</td>
205
+ <td>17053</td>
206
+ <td>24 - 12 - 4 - 1</td>
207
+ </tr>
208
+ <tr>
209
+ <td>0000-01-16</td>
210
+ <td>phoenix</td>
211
+ <td>3 - 3</td>
212
+ <td>detroit</td>
213
+ <td>joseph</td>
214
+ <td>20066</td>
215
+ <td>27 - 13 - 5 - 2</td>
216
+ </tr>
217
+ <tr>
218
+ <td>0001-01-07</td>
219
+ <td>boston</td>
220
+ <td>3 - 0</td>
221
+ <td>detroit</td>
222
+ <td>joseph</td>
223
+ <td>20066</td>
224
+ <td>26 - 13 - 4 - 1</td>
225
+ </tr>
226
+ <tr>
227
+ <td>9999-01-24</td>
228
+ <td>detroit</td>
229
+ <td>2 - 5</td>
230
+ <td>phoenix</td>
231
+ <td>joseph</td>
232
+ <td>19019</td>
233
+ <td>28 - 15 - 6 - 2</td>
234
+ </tr>
235
+ <tr>
236
+ <td>9999-01-29</td>
237
+ <td>new jersey</td>
238
+ <td>2 - 5</td>
239
+ <td>detroit</td>
240
+ <td>joseph</td>
241
+ <td>20066</td>
242
+ <td>29 - 15 - 7 - 2</td>
243
+ </tr>
244
+ <tr>
245
+ <td>9999-01-14</td>
246
+ <td>chicago</td>
247
+ <td>2 - 4</td>
248
+ <td>detroit</td>
249
+ <td>legace</td>
250
+ <td>20066</td>
251
+ <td>27 - 13 - 4 - 2</td>
252
+ </tr>
253
+ <tr>
254
+ <td>9999-01-21</td>
255
+ <td>detroit</td>
256
+ <td>2 - 2</td>
257
+ <td>anaheim</td>
258
+ <td>legace</td>
259
+ <td>17174</td>
260
+ <td>27 - 14 - 6 - 2</td>
261
+ </tr>
262
+ <tr>
263
+ <td>9999-01-26</td>
264
+ <td>detroit</td>
265
+ <td>2 - 2</td>
266
+ <td>dallas</td>
267
+ <td>legace</td>
268
+ <td>18532</td>
269
+ <td>28 - 15 - 7 - 2</td>
270
+ </tr>
271
+ <tr>
272
+ <td>0001-01-03</td>
273
+ <td>anaheim</td>
274
+ <td>1 - 3</td>
275
+ <td>detroit</td>
276
+ <td>legace</td>
277
+ <td>20066</td>
278
+ <td>25 - 12 - 4 - 1</td>
279
+ </tr>
280
+ <tr>
281
+ <td>0000-01-10</td>
282
+ <td>detroit</td>
283
+ <td>1 - 2</td>
284
+ <td>boston</td>
285
+ <td>joseph</td>
286
+ <td>17565</td>
287
+ <td>26 - 13 - 4 - 2</td>
288
+ </tr>
289
+ <tr>
290
+ <td>9999-01-19</td>
291
+ <td>detroit</td>
292
+ <td>1 - 2</td>
293
+ <td>san jose</td>
294
+ <td>joseph</td>
295
+ <td>17361</td>
296
+ <td>27 - 14 - 5 - 2</td>
297
+ </tr>
298
+ <tr>
299
+ <td>0000-01-05</td>
300
+ <td>nashville</td>
301
+ <td>0 - 6</td>
302
+ <td>detroit</td>
303
+ <td>joseph</td>
304
+ <td>20066</td>
305
+ <td>26 - 12 - 4 - 1</td>
306
+ </tr>
307
+ </table>
308
+ </div>
309
+ </div>
310
+ <hr/>
311
+ <div class="step">
312
+ <div class="step-title">Step 3: Select rows where 'home' is 'detroit'.</div>
313
+ <div class="content" id="step-1">
314
+ <table>
315
+ <tr>
316
+ <td>date</td>
317
+ <td>visitor</td>
318
+ <td>score</td>
319
+ <td>home</td>
320
+ <td>decision</td>
321
+ <td>attendance</td>
322
+ <td>record</td>
323
+ </tr>
324
+ <tr>
325
+ <td>9999-01-22</td>
326
+ <td>detroit</td>
327
+ <td>5 - 4</td>
328
+ <td>los angeles</td>
329
+ <td>joseph</td>
330
+ <td>18118</td>
331
+ <td>28 - 14 - 6 - 2</td>
332
+ </tr>
333
+ </table>
334
+ </div>
335
+ </div>
336
+ <hr/>
337
+ <div class="step">
338
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
339
+ <div class="content" id="step-2">
340
+ <table>
341
+ <tr>
342
+ <td>date</td>
343
+ <td>visitor</td>
344
+ <td>score</td>
345
+ <td>home</td>
346
+ <td>decision</td>
347
+ <td>attendance</td>
348
+ <td>record</td>
349
+ </tr>
350
+ </table>
351
+ </div>
352
+ </div>
353
+ <hr/>
354
+
355
+ </div>
356
+ </div>
357
+ <hr/>
358
+ </body></html>
htmls_POS_mod2/FN/test-1078.html ADDED
@@ -0,0 +1,358 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the highest score of the season was detroit , on january 5 with 6 points</h3>
24
+ <h3>Input Table: 2003 - 04 detroit red wings season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by 'score' in descending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>date</td>
32
+ <td>visitor</td>
33
+ <td>score</td>
34
+ <td>home</td>
35
+ <td>decision</td>
36
+ <td>attendance</td>
37
+ <td>record</td>
38
+ </tr>
39
+ <tr>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0002-01-01</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">4 - 1</span></td>
43
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carolina</span></td>
44
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17053</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24 - 12 - 4 - 1</span></td>
47
+ </tr>
48
+ <tr>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0001-01-03</span></td>
50
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">anaheim</span></td>
51
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1 - 3</span></td>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25 - 12 - 4 - 1</span></td>
56
+ </tr>
57
+ <tr>
58
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0000-01-05</span></td>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nashville</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0 - 6</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
62
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
64
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26 - 12 - 4 - 1</span></td>
65
+ </tr>
66
+ <tr>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0001-01-07</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">boston</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3 - 0</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
71
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
72
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26 - 13 - 4 - 1</span></td>
74
+ </tr>
75
+ <tr>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0000-01-10</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
78
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1 - 2</span></td>
79
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">boston</span></td>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17565</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26 - 13 - 4 - 2</span></td>
83
+ </tr>
84
+ <tr>
85
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-14</span></td>
86
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chicago</span></td>
87
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 4</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27 - 13 - 4 - 2</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0000-01-16</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">phoenix</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3 - 3</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
99
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
100
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27 - 13 - 5 - 2</span></td>
101
+ </tr>
102
+ <tr>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-19</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1 - 2</span></td>
106
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">san jose</span></td>
107
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17361</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27 - 14 - 5 - 2</span></td>
110
+ </tr>
111
+ <tr>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-21</span></td>
113
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
114
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 2</span></td>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">anaheim</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17174</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27 - 14 - 6 - 2</span></td>
119
+ </tr>
120
+ <tr>
121
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-22</span></td>
122
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">5 - 4</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">los angeles</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18118</span></td>
127
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28 - 14 - 6 - 2</span></td>
128
+ </tr>
129
+ <tr>
130
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-24</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 5</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">phoenix</span></td>
134
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
135
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">19019</span></td>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28 - 15 - 6 - 2</span></td>
137
+ </tr>
138
+ <tr>
139
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-26</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
141
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 2</span></td>
142
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">dallas</span></td>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18532</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28 - 15 - 7 - 2</span></td>
146
+ </tr>
147
+ <tr>
148
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-29</span></td>
149
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">new jersey</span></td>
150
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 5</span></td>
151
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29 - 15 - 7 - 2</span></td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-31</span></td>
158
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carolina</span></td>
159
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">4 - 4</span></td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
161
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
162
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
163
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30 - 15 - 8 - 2</span></td>
164
+ </tr>
165
+ </table>
166
+ </div>
167
+ <hr/>
168
+ <div class="step">
169
+ <div class="step-title">Step 2: Select row number 1.</div>
170
+ <div class="content" id="step-0">
171
+ <table>
172
+ <tr>
173
+ <td>date</td>
174
+ <td>visitor</td>
175
+ <td>score</td>
176
+ <td>home</td>
177
+ <td>decision</td>
178
+ <td>attendance</td>
179
+ <td>record</td>
180
+ </tr>
181
+ <tr>
182
+ <td>9999-01-22</td>
183
+ <td>detroit</td>
184
+ <td>5 - 4</td>
185
+ <td>los angeles</td>
186
+ <td>joseph</td>
187
+ <td>18118</td>
188
+ <td>28 - 14 - 6 - 2</td>
189
+ </tr>
190
+ <tr>
191
+ <td>9999-01-31</td>
192
+ <td>carolina</td>
193
+ <td>4 - 4</td>
194
+ <td>detroit</td>
195
+ <td>legace</td>
196
+ <td>20066</td>
197
+ <td>30 - 15 - 8 - 2</td>
198
+ </tr>
199
+ <tr>
200
+ <td>0002-01-01</td>
201
+ <td>detroit</td>
202
+ <td>4 - 1</td>
203
+ <td>carolina</td>
204
+ <td>joseph</td>
205
+ <td>17053</td>
206
+ <td>24 - 12 - 4 - 1</td>
207
+ </tr>
208
+ <tr>
209
+ <td>0000-01-16</td>
210
+ <td>phoenix</td>
211
+ <td>3 - 3</td>
212
+ <td>detroit</td>
213
+ <td>joseph</td>
214
+ <td>20066</td>
215
+ <td>27 - 13 - 5 - 2</td>
216
+ </tr>
217
+ <tr>
218
+ <td>0001-01-07</td>
219
+ <td>boston</td>
220
+ <td>3 - 0</td>
221
+ <td>detroit</td>
222
+ <td>joseph</td>
223
+ <td>20066</td>
224
+ <td>26 - 13 - 4 - 1</td>
225
+ </tr>
226
+ <tr>
227
+ <td>9999-01-24</td>
228
+ <td>detroit</td>
229
+ <td>2 - 5</td>
230
+ <td>phoenix</td>
231
+ <td>joseph</td>
232
+ <td>19019</td>
233
+ <td>28 - 15 - 6 - 2</td>
234
+ </tr>
235
+ <tr>
236
+ <td>9999-01-29</td>
237
+ <td>new jersey</td>
238
+ <td>2 - 5</td>
239
+ <td>detroit</td>
240
+ <td>joseph</td>
241
+ <td>20066</td>
242
+ <td>29 - 15 - 7 - 2</td>
243
+ </tr>
244
+ <tr>
245
+ <td>9999-01-14</td>
246
+ <td>chicago</td>
247
+ <td>2 - 4</td>
248
+ <td>detroit</td>
249
+ <td>legace</td>
250
+ <td>20066</td>
251
+ <td>27 - 13 - 4 - 2</td>
252
+ </tr>
253
+ <tr>
254
+ <td>9999-01-21</td>
255
+ <td>detroit</td>
256
+ <td>2 - 2</td>
257
+ <td>anaheim</td>
258
+ <td>legace</td>
259
+ <td>17174</td>
260
+ <td>27 - 14 - 6 - 2</td>
261
+ </tr>
262
+ <tr>
263
+ <td>9999-01-26</td>
264
+ <td>detroit</td>
265
+ <td>2 - 2</td>
266
+ <td>dallas</td>
267
+ <td>legace</td>
268
+ <td>18532</td>
269
+ <td>28 - 15 - 7 - 2</td>
270
+ </tr>
271
+ <tr>
272
+ <td>0001-01-03</td>
273
+ <td>anaheim</td>
274
+ <td>1 - 3</td>
275
+ <td>detroit</td>
276
+ <td>legace</td>
277
+ <td>20066</td>
278
+ <td>25 - 12 - 4 - 1</td>
279
+ </tr>
280
+ <tr>
281
+ <td>0000-01-10</td>
282
+ <td>detroit</td>
283
+ <td>1 - 2</td>
284
+ <td>boston</td>
285
+ <td>joseph</td>
286
+ <td>17565</td>
287
+ <td>26 - 13 - 4 - 2</td>
288
+ </tr>
289
+ <tr>
290
+ <td>9999-01-19</td>
291
+ <td>detroit</td>
292
+ <td>1 - 2</td>
293
+ <td>san jose</td>
294
+ <td>joseph</td>
295
+ <td>17361</td>
296
+ <td>27 - 14 - 5 - 2</td>
297
+ </tr>
298
+ <tr>
299
+ <td>0000-01-05</td>
300
+ <td>nashville</td>
301
+ <td>0 - 6</td>
302
+ <td>detroit</td>
303
+ <td>joseph</td>
304
+ <td>20066</td>
305
+ <td>26 - 12 - 4 - 1</td>
306
+ </tr>
307
+ </table>
308
+ </div>
309
+ </div>
310
+ <hr/>
311
+ <div class="step">
312
+ <div class="step-title">Step 3: Select rows where 'home' is 'detroit'.</div>
313
+ <div class="content" id="step-1">
314
+ <table>
315
+ <tr>
316
+ <td>date</td>
317
+ <td>visitor</td>
318
+ <td>score</td>
319
+ <td>home</td>
320
+ <td>decision</td>
321
+ <td>attendance</td>
322
+ <td>record</td>
323
+ </tr>
324
+ <tr>
325
+ <td>9999-01-22</td>
326
+ <td>detroit</td>
327
+ <td>5 - 4</td>
328
+ <td>los angeles</td>
329
+ <td>joseph</td>
330
+ <td>18118</td>
331
+ <td>28 - 14 - 6 - 2</td>
332
+ </tr>
333
+ </table>
334
+ </div>
335
+ </div>
336
+ <hr/>
337
+ <div class="step">
338
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1 and the 'score' is 6, otherwise return FALSE.</div>
339
+ <div class="content" id="step-2">
340
+ <table>
341
+ <tr>
342
+ <td>date</td>
343
+ <td>visitor</td>
344
+ <td>score</td>
345
+ <td>home</td>
346
+ <td>decision</td>
347
+ <td>attendance</td>
348
+ <td>record</td>
349
+ </tr>
350
+ </table>
351
+ </div>
352
+ </div>
353
+ <hr/>
354
+
355
+ </div>
356
+ </div>
357
+ <hr/>
358
+ </body></html>
htmls_POS_mod2/FN/test-108.html ADDED
@@ -0,0 +1,347 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the production number for episode 23 is 120</h3>
24
+ <h3>Input Table: the baron</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'episode' is 23.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>episode</td>
32
+ <td>prod</td>
33
+ <td>title</td>
34
+ <td>directed_by</td>
35
+ <td>written_by</td>
36
+ <td>originalairdate</td>
37
+ <td>filmed</td>
38
+ </tr>
39
+ <tr>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
41
+ <td>104</td>
42
+ <td>diplomatic immunity</td>
43
+ <td>leslie norman</td>
44
+ <td>dennis spooner</td>
45
+ <td>1966-09-28</td>
46
+ <td>1965-09-01</td>
47
+ </tr>
48
+ <tr>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
50
+ <td>107</td>
51
+ <td>epitaph for a hero</td>
52
+ <td>john moxey</td>
53
+ <td>terry nation</td>
54
+ <td>1966-10-05</td>
55
+ <td>1965-10-01</td>
56
+ </tr>
57
+ <tr>
58
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
59
+ <td>109</td>
60
+ <td>something for a rainy day</td>
61
+ <td>cyril frankel</td>
62
+ <td>terry nation</td>
63
+ <td>1966-10-12</td>
64
+ <td>1965-11-01</td>
65
+ </tr>
66
+ <tr>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
68
+ <td>102</td>
69
+ <td>red horse , red rider</td>
70
+ <td>john moxey</td>
71
+ <td>terry nation</td>
72
+ <td>1966-10-19</td>
73
+ <td>1965-08-01</td>
74
+ </tr>
75
+ <tr>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>
77
+ <td>110</td>
78
+ <td>enemy of the state</td>
79
+ <td>jeremy summers</td>
80
+ <td>dennis spooner</td>
81
+ <td>1966-10-26</td>
82
+ <td>1965-12-01</td>
83
+ </tr>
84
+ <tr>
85
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
86
+ <td>114</td>
87
+ <td>masquerade (part one)</td>
88
+ <td>cyril frankel</td>
89
+ <td>terry nation</td>
90
+ <td>1966-11-02</td>
91
+ <td>1966-02-01</td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
95
+ <td>115</td>
96
+ <td>the killing (part two)</td>
97
+ <td>cyril frankel</td>
98
+ <td>terry nation</td>
99
+ <td>1966-11-09</td>
100
+ <td>1966-02-01</td>
101
+ </tr>
102
+ <tr>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">8</span></td>
104
+ <td>108</td>
105
+ <td>the persuaders</td>
106
+ <td>leslie norman</td>
107
+ <td>dennis spooner</td>
108
+ <td>1966-11-16</td>
109
+ <td>1965-10-01</td>
110
+ </tr>
111
+ <tr>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
113
+ <td>112</td>
114
+ <td>and suddenly you 're dead</td>
115
+ <td>cyril frankel</td>
116
+ <td>terry nation and dennis spooner</td>
117
+ <td>1966-11-23</td>
118
+ <td>1966-01-01</td>
119
+ </tr>
120
+ <tr>
121
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>
122
+ <td>103</td>
123
+ <td>the legions of ammak</td>
124
+ <td>john moxey</td>
125
+ <td>michael cramoy</td>
126
+ <td>1966-11-30</td>
127
+ <td>1965-08-01</td>
128
+ </tr>
129
+ <tr>
130
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
131
+ <td>101</td>
132
+ <td>samurai west</td>
133
+ <td>john moxey</td>
134
+ <td>brian degas</td>
135
+ <td>1966-12-07</td>
136
+ <td>1965-07-01</td>
137
+ </tr>
138
+ <tr>
139
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12</span></td>
140
+ <td>123</td>
141
+ <td>the maze</td>
142
+ <td>jeremy summers</td>
143
+ <td>tony o'grady (pseudonym of brian clemens)</td>
144
+ <td>1966-12-14</td>
145
+ <td>1966-06-01</td>
146
+ </tr>
147
+ <tr>
148
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13</span></td>
149
+ <td>105</td>
150
+ <td>portrait of louisa</td>
151
+ <td>john moxey</td>
152
+ <td>terry nation</td>
153
+ <td>1966-12-21</td>
154
+ <td>1965-09-01</td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14</span></td>
158
+ <td>111</td>
159
+ <td>there 's somebody close behind you</td>
160
+ <td>roy baker</td>
161
+ <td>terry nation and dennis spooner</td>
162
+ <td>1966-12-28</td>
163
+ <td>1965-12-01</td>
164
+ </tr>
165
+ <tr>
166
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15</span></td>
167
+ <td>125</td>
168
+ <td>storm warning (part one)</td>
169
+ <td>gordon flemyng</td>
170
+ <td>terry nation</td>
171
+ <td>1967-01-04</td>
172
+ <td>1966-07-01</td>
173
+ </tr>
174
+ <tr>
175
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">16</span></td>
176
+ <td>126</td>
177
+ <td>the island (part two)</td>
178
+ <td>gordon flemyng</td>
179
+ <td>terry nation</td>
180
+ <td>1967-01-11</td>
181
+ <td>1966-07-01</td>
182
+ </tr>
183
+ <tr>
184
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17</span></td>
185
+ <td>121</td>
186
+ <td>time to kill</td>
187
+ <td>jeremy summers</td>
188
+ <td>dennis spooner</td>
189
+ <td>1967-01-18</td>
190
+ <td>1966-05-01</td>
191
+ </tr>
192
+ <tr>
193
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
194
+ <td>113</td>
195
+ <td>a memory of evil</td>
196
+ <td>don chaffey</td>
197
+ <td>terry nation and dennis spooner</td>
198
+ <td>1967-01-25</td>
199
+ <td>1966-01-01</td>
200
+ </tr>
201
+ <tr>
202
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">19</span></td>
203
+ <td>117</td>
204
+ <td>you can't win them all</td>
205
+ <td>don chaffey</td>
206
+ <td>dennis spooner</td>
207
+ <td>1967-02-01</td>
208
+ <td>1966-04-01</td>
209
+ </tr>
210
+ <tr>
211
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
212
+ <td>128</td>
213
+ <td>the high terrace</td>
214
+ <td>robert asher</td>
215
+ <td>dennis spooner</td>
216
+ <td>1967-02-08</td>
217
+ <td>1966-09-01</td>
218
+ </tr>
219
+ <tr>
220
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">21</span></td>
221
+ <td>118</td>
222
+ <td>the seven eyes of night</td>
223
+ <td>robert asher</td>
224
+ <td>terry nation</td>
225
+ <td>1967-02-15</td>
226
+ <td>1966-04-01</td>
227
+ </tr>
228
+ <tr>
229
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22</span></td>
230
+ <td>124</td>
231
+ <td>night of the hunter</td>
232
+ <td>roy baker</td>
233
+ <td>terry nation</td>
234
+ <td>1967-02-22</td>
235
+ <td>1966-07-01</td>
236
+ </tr>
237
+ <tr>
238
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">23</span></td>
239
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">120</span></td>
240
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">the edge of fear</span></td>
241
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">quentin lawrence</span></td>
242
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">dennis spooner</span></td>
243
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1967-03-01</span></td>
244
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1966-05-01</span></td>
245
+ </tr>
246
+ <tr>
247
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
248
+ <td>116</td>
249
+ <td>long ago and far away</td>
250
+ <td>robert asher</td>
251
+ <td>dennis spooner</td>
252
+ <td>1967-03-08</td>
253
+ <td>1966-04-01</td>
254
+ </tr>
255
+ <tr>
256
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
257
+ <td>122</td>
258
+ <td>so dark the night</td>
259
+ <td>robert tronson</td>
260
+ <td>terry nation and dennis spooner</td>
261
+ <td>1967-03-15</td>
262
+ <td>1966-06-01</td>
263
+ </tr>
264
+ <tr>
265
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26</span></td>
266
+ <td>119</td>
267
+ <td>the long , long day</td>
268
+ <td>roy baker</td>
269
+ <td>tony o'grady</td>
270
+ <td>1967-03-22</td>
271
+ <td>1966-04-01</td>
272
+ </tr>
273
+ <tr>
274
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27</span></td>
275
+ <td>127</td>
276
+ <td>roundabout</td>
277
+ <td>robert tronson</td>
278
+ <td>terry nation</td>
279
+ <td>1967-03-29</td>
280
+ <td>1966-08-01</td>
281
+ </tr>
282
+ <tr>
283
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28</span></td>
284
+ <td>129</td>
285
+ <td>the man outside</td>
286
+ <td>roy baker</td>
287
+ <td>terry nation</td>
288
+ <td>1967-04-05</td>
289
+ <td>1966-09-01</td>
290
+ </tr>
291
+ <tr>
292
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29</span></td>
293
+ <td>130</td>
294
+ <td>countdown</td>
295
+ <td>robert asher</td>
296
+ <td>terry nation</td>
297
+ <td>1967-04-12</td>
298
+ <td>1966-10-01</td>
299
+ </tr>
300
+ </table>
301
+ </div>
302
+ <hr/>
303
+ <div class="step">
304
+ <div class="step-title">Step 2: Select the 'prod' column for the selected rows.</div>
305
+ <div class="content" id="step-0">
306
+ <table>
307
+ <tr>
308
+ <td>episode</td>
309
+ <td>prod</td>
310
+ <td>title</td>
311
+ <td>directed_by</td>
312
+ <td>written_by</td>
313
+ <td>originalairdate</td>
314
+ <td>filmed</td>
315
+ </tr>
316
+ <tr>
317
+ <td>23</td>
318
+ <td>120</td>
319
+ <td>the edge of fear</td>
320
+ <td>quentin lawrence</td>
321
+ <td>dennis spooner</td>
322
+ <td>1967-03-01</td>
323
+ <td>1966-05-01</td>
324
+ </tr>
325
+ </table>
326
+ </div>
327
+ </div>
328
+ <hr/>
329
+ <div class="step">
330
+ <div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the value in the 'prod' column is 120, otherwise return FALSE.</div>
331
+ <div class="content" id="step-1">
332
+ <table>
333
+ <tr>
334
+ <td>prod</td>
335
+ </tr>
336
+ <tr>
337
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">120</span></td>
338
+ </tr>
339
+ </table>
340
+ </div>
341
+ </div>
342
+ <hr/>
343
+
344
+ </div>
345
+ </div>
346
+ <hr/>
347
+ </body></html>
htmls_POS_mod2/FN/test-1080.html ADDED
@@ -0,0 +1,405 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the highest point gap was on january 5 , with a spread of 6 points</h3>
24
+ <h3>Input Table: 2003 - 04 detroit red wings season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by 'record' in descending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>date</td>
32
+ <td>visitor</td>
33
+ <td>score</td>
34
+ <td>home</td>
35
+ <td>decision</td>
36
+ <td>attendance</td>
37
+ <td>record</td>
38
+ </tr>
39
+ <tr>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0002-01-01</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4 - 1</span></td>
43
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carolina</span></td>
44
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17053</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">24 - 12 - 4 - 1</span></td>
47
+ </tr>
48
+ <tr>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0001-01-03</span></td>
50
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">anaheim</span></td>
51
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1 - 3</span></td>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">25 - 12 - 4 - 1</span></td>
56
+ </tr>
57
+ <tr>
58
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0000-01-05</span></td>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nashville</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0 - 6</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
62
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
64
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">26 - 12 - 4 - 1</span></td>
65
+ </tr>
66
+ <tr>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0001-01-07</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">boston</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3 - 0</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
71
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
72
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
73
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">26 - 13 - 4 - 1</span></td>
74
+ </tr>
75
+ <tr>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0000-01-10</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
78
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1 - 2</span></td>
79
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">boston</span></td>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17565</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">26 - 13 - 4 - 2</span></td>
83
+ </tr>
84
+ <tr>
85
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-14</span></td>
86
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chicago</span></td>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2 - 4</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">27 - 13 - 4 - 2</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0000-01-16</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">phoenix</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3 - 3</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
99
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
100
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">27 - 13 - 5 - 2</span></td>
101
+ </tr>
102
+ <tr>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-19</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1 - 2</span></td>
106
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">san jose</span></td>
107
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17361</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">27 - 14 - 5 - 2</span></td>
110
+ </tr>
111
+ <tr>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-21</span></td>
113
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
114
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2 - 2</span></td>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">anaheim</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17174</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">27 - 14 - 6 - 2</span></td>
119
+ </tr>
120
+ <tr>
121
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-22</span></td>
122
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5 - 4</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">los angeles</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18118</span></td>
127
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">28 - 14 - 6 - 2</span></td>
128
+ </tr>
129
+ <tr>
130
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-24</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2 - 5</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">phoenix</span></td>
134
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
135
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">19019</span></td>
136
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">28 - 15 - 6 - 2</span></td>
137
+ </tr>
138
+ <tr>
139
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-26</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
141
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2 - 2</span></td>
142
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">dallas</span></td>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18532</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">28 - 15 - 7 - 2</span></td>
146
+ </tr>
147
+ <tr>
148
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-29</span></td>
149
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">new jersey</span></td>
150
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2 - 5</span></td>
151
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">29 - 15 - 7 - 2</span></td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-31</span></td>
158
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carolina</span></td>
159
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4 - 4</span></td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
161
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
162
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
163
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">30 - 15 - 8 - 2</span></td>
164
+ </tr>
165
+ </table>
166
+ </div>
167
+ <hr/>
168
+ <div class="step">
169
+ <div class="step-title">Step 2: Select row number 1.</div>
170
+ <div class="content" id="step-0">
171
+ <table>
172
+ <tr>
173
+ <td>date</td>
174
+ <td>visitor</td>
175
+ <td>score</td>
176
+ <td>home</td>
177
+ <td>decision</td>
178
+ <td>attendance</td>
179
+ <td>record</td>
180
+ </tr>
181
+ <tr>
182
+ <td>9999-01-31</td>
183
+ <td>carolina</td>
184
+ <td>4 - 4</td>
185
+ <td>detroit</td>
186
+ <td>legace</td>
187
+ <td>20066</td>
188
+ <td>30 - 15 - 8 - 2</td>
189
+ </tr>
190
+ <tr>
191
+ <td>9999-01-29</td>
192
+ <td>new jersey</td>
193
+ <td>2 - 5</td>
194
+ <td>detroit</td>
195
+ <td>joseph</td>
196
+ <td>20066</td>
197
+ <td>29 - 15 - 7 - 2</td>
198
+ </tr>
199
+ <tr>
200
+ <td>9999-01-26</td>
201
+ <td>detroit</td>
202
+ <td>2 - 2</td>
203
+ <td>dallas</td>
204
+ <td>legace</td>
205
+ <td>18532</td>
206
+ <td>28 - 15 - 7 - 2</td>
207
+ </tr>
208
+ <tr>
209
+ <td>9999-01-24</td>
210
+ <td>detroit</td>
211
+ <td>2 - 5</td>
212
+ <td>phoenix</td>
213
+ <td>joseph</td>
214
+ <td>19019</td>
215
+ <td>28 - 15 - 6 - 2</td>
216
+ </tr>
217
+ <tr>
218
+ <td>9999-01-22</td>
219
+ <td>detroit</td>
220
+ <td>5 - 4</td>
221
+ <td>los angeles</td>
222
+ <td>joseph</td>
223
+ <td>18118</td>
224
+ <td>28 - 14 - 6 - 2</td>
225
+ </tr>
226
+ <tr>
227
+ <td>9999-01-21</td>
228
+ <td>detroit</td>
229
+ <td>2 - 2</td>
230
+ <td>anaheim</td>
231
+ <td>legace</td>
232
+ <td>17174</td>
233
+ <td>27 - 14 - 6 - 2</td>
234
+ </tr>
235
+ <tr>
236
+ <td>9999-01-19</td>
237
+ <td>detroit</td>
238
+ <td>1 - 2</td>
239
+ <td>san jose</td>
240
+ <td>joseph</td>
241
+ <td>17361</td>
242
+ <td>27 - 14 - 5 - 2</td>
243
+ </tr>
244
+ <tr>
245
+ <td>0000-01-16</td>
246
+ <td>phoenix</td>
247
+ <td>3 - 3</td>
248
+ <td>detroit</td>
249
+ <td>joseph</td>
250
+ <td>20066</td>
251
+ <td>27 - 13 - 5 - 2</td>
252
+ </tr>
253
+ <tr>
254
+ <td>9999-01-14</td>
255
+ <td>chicago</td>
256
+ <td>2 - 4</td>
257
+ <td>detroit</td>
258
+ <td>legace</td>
259
+ <td>20066</td>
260
+ <td>27 - 13 - 4 - 2</td>
261
+ </tr>
262
+ <tr>
263
+ <td>0000-01-10</td>
264
+ <td>detroit</td>
265
+ <td>1 - 2</td>
266
+ <td>boston</td>
267
+ <td>joseph</td>
268
+ <td>17565</td>
269
+ <td>26 - 13 - 4 - 2</td>
270
+ </tr>
271
+ <tr>
272
+ <td>0001-01-07</td>
273
+ <td>boston</td>
274
+ <td>3 - 0</td>
275
+ <td>detroit</td>
276
+ <td>joseph</td>
277
+ <td>20066</td>
278
+ <td>26 - 13 - 4 - 1</td>
279
+ </tr>
280
+ <tr>
281
+ <td>0000-01-05</td>
282
+ <td>nashville</td>
283
+ <td>0 - 6</td>
284
+ <td>detroit</td>
285
+ <td>joseph</td>
286
+ <td>20066</td>
287
+ <td>26 - 12 - 4 - 1</td>
288
+ </tr>
289
+ <tr>
290
+ <td>0001-01-03</td>
291
+ <td>anaheim</td>
292
+ <td>1 - 3</td>
293
+ <td>detroit</td>
294
+ <td>legace</td>
295
+ <td>20066</td>
296
+ <td>25 - 12 - 4 - 1</td>
297
+ </tr>
298
+ <tr>
299
+ <td>0002-01-01</td>
300
+ <td>detroit</td>
301
+ <td>4 - 1</td>
302
+ <td>carolina</td>
303
+ <td>joseph</td>
304
+ <td>17053</td>
305
+ <td>24 - 12 - 4 - 1</td>
306
+ </tr>
307
+ </table>
308
+ </div>
309
+ </div>
310
+ <hr/>
311
+ <div class="step">
312
+ <div class="step-title">Step 3: Extract the numerical point gap from the 'record' column then add column 'point_gap' to existing table.</div>
313
+ <div class="content" id="step-1">
314
+ <table>
315
+ <tr>
316
+ <td>date</td>
317
+ <td>visitor</td>
318
+ <td>score</td>
319
+ <td>home</td>
320
+ <td>decision</td>
321
+ <td>attendance</td>
322
+ <td>record</td>
323
+ </tr>
324
+ <tr>
325
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-31</span></td>
326
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carolina</span></td>
327
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4 - 4</span></td>
328
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
329
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
330
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
331
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">30 - 15 - 8 - 2</span></td>
332
+ </tr>
333
+ </table>
334
+ </div>
335
+ </div>
336
+ <hr/>
337
+ <div class="step">
338
+ <div class="step-title">Step 4: Select rows where 'point_gap' is 6.</div>
339
+ <div class="content" id="step-2">
340
+ <table>
341
+ <tr>
342
+ <td>date</td>
343
+ <td>visitor</td>
344
+ <td>score</td>
345
+ <td>home</td>
346
+ <td>decision</td>
347
+ <td>attendance</td>
348
+ <td>record</td>
349
+ <td>point_gap</td>
350
+ </tr>
351
+ <tr>
352
+ <td>9999-01-31</td>
353
+ <td>carolina</td>
354
+ <td>4 - 4</td>
355
+ <td>detroit</td>
356
+ <td>legace</td>
357
+ <td>20066</td>
358
+ <td>30 - 15 - 8 - 2</td>
359
+ <td>15</td>
360
+ </tr>
361
+ </table>
362
+ </div>
363
+ </div>
364
+ <hr/>
365
+ <div class="step">
366
+ <div class="step-title">Step 5: Select rows where 'date' is '0000-01-05'.</div>
367
+ <div class="content" id="step-3">
368
+ <table>
369
+ <tr>
370
+ <td>date</td>
371
+ <td>visitor</td>
372
+ <td>score</td>
373
+ <td>home</td>
374
+ <td>decision</td>
375
+ <td>attendance</td>
376
+ <td>record</td>
377
+ <td>point_gap</td>
378
+ </tr>
379
+ </table>
380
+ </div>
381
+ </div>
382
+ <hr/>
383
+ <div class="step">
384
+ <div class="step-title">Step 6: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
385
+ <div class="content" id="step-4">
386
+ <table>
387
+ <tr>
388
+ <td>date</td>
389
+ <td>visitor</td>
390
+ <td>score</td>
391
+ <td>home</td>
392
+ <td>decision</td>
393
+ <td>attendance</td>
394
+ <td>record</td>
395
+ <td>point_gap</td>
396
+ </tr>
397
+ </table>
398
+ </div>
399
+ </div>
400
+ <hr/>
401
+
402
+ </div>
403
+ </div>
404
+ <hr/>
405
+ </body></html>
htmls_POS_mod2/FN/test-1081.html ADDED
@@ -0,0 +1,358 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> detroit had one of the lowest visitor scores this season</h3>
24
+ <h3>Input Table: 2003 - 04 detroit red wings season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by the visitor's score in ascending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>date</td>
32
+ <td>visitor</td>
33
+ <td>score</td>
34
+ <td>home</td>
35
+ <td>decision</td>
36
+ <td>attendance</td>
37
+ <td>record</td>
38
+ </tr>
39
+ <tr>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0002-01-01</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">4 - 1</span></td>
43
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carolina</span></td>
44
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17053</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24 - 12 - 4 - 1</span></td>
47
+ </tr>
48
+ <tr>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0001-01-03</span></td>
50
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">anaheim</span></td>
51
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1 - 3</span></td>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25 - 12 - 4 - 1</span></td>
56
+ </tr>
57
+ <tr>
58
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0000-01-05</span></td>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nashville</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0 - 6</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
62
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
64
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26 - 12 - 4 - 1</span></td>
65
+ </tr>
66
+ <tr>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0001-01-07</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">boston</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3 - 0</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
71
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
72
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26 - 13 - 4 - 1</span></td>
74
+ </tr>
75
+ <tr>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0000-01-10</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
78
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1 - 2</span></td>
79
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">boston</span></td>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17565</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26 - 13 - 4 - 2</span></td>
83
+ </tr>
84
+ <tr>
85
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-14</span></td>
86
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chicago</span></td>
87
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 4</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27 - 13 - 4 - 2</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0000-01-16</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">phoenix</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3 - 3</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
99
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
100
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27 - 13 - 5 - 2</span></td>
101
+ </tr>
102
+ <tr>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-19</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1 - 2</span></td>
106
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">san jose</span></td>
107
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17361</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27 - 14 - 5 - 2</span></td>
110
+ </tr>
111
+ <tr>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-21</span></td>
113
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
114
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 2</span></td>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">anaheim</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17174</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27 - 14 - 6 - 2</span></td>
119
+ </tr>
120
+ <tr>
121
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-22</span></td>
122
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">5 - 4</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">los angeles</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18118</span></td>
127
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28 - 14 - 6 - 2</span></td>
128
+ </tr>
129
+ <tr>
130
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-24</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 5</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">phoenix</span></td>
134
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
135
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">19019</span></td>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28 - 15 - 6 - 2</span></td>
137
+ </tr>
138
+ <tr>
139
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-26</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
141
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 2</span></td>
142
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">dallas</span></td>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18532</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28 - 15 - 7 - 2</span></td>
146
+ </tr>
147
+ <tr>
148
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-29</span></td>
149
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">new jersey</span></td>
150
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 5</span></td>
151
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">joseph</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29 - 15 - 7 - 2</span></td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-01-31</span></td>
158
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carolina</span></td>
159
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">4 - 4</span></td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">detroit</span></td>
161
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">legace</span></td>
162
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20066</span></td>
163
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30 - 15 - 8 - 2</span></td>
164
+ </tr>
165
+ </table>
166
+ </div>
167
+ <hr/>
168
+ <div class="step">
169
+ <div class="step-title">Step 2: Select the row number 1.</div>
170
+ <div class="content" id="step-0">
171
+ <table>
172
+ <tr>
173
+ <td>date</td>
174
+ <td>visitor</td>
175
+ <td>score</td>
176
+ <td>home</td>
177
+ <td>decision</td>
178
+ <td>attendance</td>
179
+ <td>record</td>
180
+ </tr>
181
+ <tr>
182
+ <td>0000-01-05</td>
183
+ <td>nashville</td>
184
+ <td>0 - 6</td>
185
+ <td>detroit</td>
186
+ <td>joseph</td>
187
+ <td>20066</td>
188
+ <td>26 - 12 - 4 - 1</td>
189
+ </tr>
190
+ <tr>
191
+ <td>0001-01-03</td>
192
+ <td>anaheim</td>
193
+ <td>1 - 3</td>
194
+ <td>detroit</td>
195
+ <td>legace</td>
196
+ <td>20066</td>
197
+ <td>25 - 12 - 4 - 1</td>
198
+ </tr>
199
+ <tr>
200
+ <td>0000-01-10</td>
201
+ <td>detroit</td>
202
+ <td>1 - 2</td>
203
+ <td>boston</td>
204
+ <td>joseph</td>
205
+ <td>17565</td>
206
+ <td>26 - 13 - 4 - 2</td>
207
+ </tr>
208
+ <tr>
209
+ <td>9999-01-19</td>
210
+ <td>detroit</td>
211
+ <td>1 - 2</td>
212
+ <td>san jose</td>
213
+ <td>joseph</td>
214
+ <td>17361</td>
215
+ <td>27 - 14 - 5 - 2</td>
216
+ </tr>
217
+ <tr>
218
+ <td>9999-01-14</td>
219
+ <td>chicago</td>
220
+ <td>2 - 4</td>
221
+ <td>detroit</td>
222
+ <td>legace</td>
223
+ <td>20066</td>
224
+ <td>27 - 13 - 4 - 2</td>
225
+ </tr>
226
+ <tr>
227
+ <td>9999-01-21</td>
228
+ <td>detroit</td>
229
+ <td>2 - 2</td>
230
+ <td>anaheim</td>
231
+ <td>legace</td>
232
+ <td>17174</td>
233
+ <td>27 - 14 - 6 - 2</td>
234
+ </tr>
235
+ <tr>
236
+ <td>9999-01-24</td>
237
+ <td>detroit</td>
238
+ <td>2 - 5</td>
239
+ <td>phoenix</td>
240
+ <td>joseph</td>
241
+ <td>19019</td>
242
+ <td>28 - 15 - 6 - 2</td>
243
+ </tr>
244
+ <tr>
245
+ <td>9999-01-26</td>
246
+ <td>detroit</td>
247
+ <td>2 - 2</td>
248
+ <td>dallas</td>
249
+ <td>legace</td>
250
+ <td>18532</td>
251
+ <td>28 - 15 - 7 - 2</td>
252
+ </tr>
253
+ <tr>
254
+ <td>9999-01-29</td>
255
+ <td>new jersey</td>
256
+ <td>2 - 5</td>
257
+ <td>detroit</td>
258
+ <td>joseph</td>
259
+ <td>20066</td>
260
+ <td>29 - 15 - 7 - 2</td>
261
+ </tr>
262
+ <tr>
263
+ <td>0001-01-07</td>
264
+ <td>boston</td>
265
+ <td>3 - 0</td>
266
+ <td>detroit</td>
267
+ <td>joseph</td>
268
+ <td>20066</td>
269
+ <td>26 - 13 - 4 - 1</td>
270
+ </tr>
271
+ <tr>
272
+ <td>0000-01-16</td>
273
+ <td>phoenix</td>
274
+ <td>3 - 3</td>
275
+ <td>detroit</td>
276
+ <td>joseph</td>
277
+ <td>20066</td>
278
+ <td>27 - 13 - 5 - 2</td>
279
+ </tr>
280
+ <tr>
281
+ <td>0002-01-01</td>
282
+ <td>detroit</td>
283
+ <td>4 - 1</td>
284
+ <td>carolina</td>
285
+ <td>joseph</td>
286
+ <td>17053</td>
287
+ <td>24 - 12 - 4 - 1</td>
288
+ </tr>
289
+ <tr>
290
+ <td>9999-01-31</td>
291
+ <td>carolina</td>
292
+ <td>4 - 4</td>
293
+ <td>detroit</td>
294
+ <td>legace</td>
295
+ <td>20066</td>
296
+ <td>30 - 15 - 8 - 2</td>
297
+ </tr>
298
+ <tr>
299
+ <td>9999-01-22</td>
300
+ <td>detroit</td>
301
+ <td>5 - 4</td>
302
+ <td>los angeles</td>
303
+ <td>joseph</td>
304
+ <td>18118</td>
305
+ <td>28 - 14 - 6 - 2</td>
306
+ </tr>
307
+ </table>
308
+ </div>
309
+ </div>
310
+ <hr/>
311
+ <div class="step">
312
+ <div class="step-title">Step 3: Select rows where the visitor is 'detroit'.</div>
313
+ <div class="content" id="step-1">
314
+ <table>
315
+ <tr>
316
+ <td>date</td>
317
+ <td>visitor</td>
318
+ <td>score</td>
319
+ <td>home</td>
320
+ <td>decision</td>
321
+ <td>attendance</td>
322
+ <td>record</td>
323
+ </tr>
324
+ <tr>
325
+ <td>0000-01-05</td>
326
+ <td>nashville</td>
327
+ <td>0 - 6</td>
328
+ <td>detroit</td>
329
+ <td>joseph</td>
330
+ <td>20066</td>
331
+ <td>26 - 12 - 4 - 1</td>
332
+ </tr>
333
+ </table>
334
+ </div>
335
+ </div>
336
+ <hr/>
337
+ <div class="step">
338
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
339
+ <div class="content" id="step-2">
340
+ <table>
341
+ <tr>
342
+ <td>date</td>
343
+ <td>visitor</td>
344
+ <td>score</td>
345
+ <td>home</td>
346
+ <td>decision</td>
347
+ <td>attendance</td>
348
+ <td>record</td>
349
+ </tr>
350
+ </table>
351
+ </div>
352
+ </div>
353
+ <hr/>
354
+
355
+ </div>
356
+ </div>
357
+ <hr/>
358
+ </body></html>
htmls_POS_mod2/FN/test-1099.html ADDED
@@ -0,0 +1,376 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> in season 1 of gary unmarried , the least viewed episode of the season was the finale , which aired on may 20 , 2009</h3>
24
+ <h3>Input Table: gary unmarried</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by 'viewers' in ascending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>episode</td>
32
+ <td>air_date</td>
33
+ <td>timeslot</td>
34
+ <td>c_18___49</td>
35
+ <td>viewers</td>
36
+ </tr>
37
+ <tr>
38
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pilot</span></td>
39
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-09-24</span></td>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.3 / 6</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6.84</span></td>
43
+ </tr>
44
+ <tr>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary gets boundaries</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-10-01</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.2 / 6</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6.97</span></td>
50
+ </tr>
51
+ <tr>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary marries off his ex</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-10-08</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.2 / 6</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7.43</span></td>
57
+ </tr>
58
+ <tr>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary gets his stuff back</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-10-15</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
62
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.4 / 7</span></td>
63
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7.71</span></td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary breaks up his ex - wife and girlfriend</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-10-22</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.5 / 7</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7.85</span></td>
71
+ </tr>
72
+ <tr>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary meets the gang</span></td>
74
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-11-05</span></td>
75
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.1 / 6</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6.44</span></td>
78
+ </tr>
79
+ <tr>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary and allison 's restaurant</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-11-12</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.1 / 5</span></td>
84
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6.71</span></td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary and allison brooks</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-11-19</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.7 / 7</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">8.14</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary gives thanks</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-11-26</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.2 / 7</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7.72</span></td>
99
+ </tr>
100
+ <tr>
101
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary goes first</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-12-10</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.4 / 7</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">8.03</span></td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary toughens up tom</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-12-17</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.3 / 7</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7.55</span></td>
113
+ </tr>
114
+ <tr>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary dates louise 's teacher</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009-01-14</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.1 / 5</span></td>
119
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7.07</span></td>
120
+ </tr>
121
+ <tr>
122
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary moves back in</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009-01-21</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.2 / 5</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7.07</span></td>
127
+ </tr>
128
+ <tr>
129
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary and dennis' sister</span></td>
130
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009-02-11</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.1 / 5</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6.86</span></td>
134
+ </tr>
135
+ <tr>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary 's ex - brother - in - law</span></td>
137
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009-02-18</span></td>
138
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
139
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.1 / 5</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7.26</span></td>
141
+ </tr>
142
+ <tr>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary uses his veto</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009-03-11</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
146
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.3 / 7</span></td>
147
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7.71</span></td>
148
+ </tr>
149
+ <tr>
150
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary hooks up allison</span></td>
151
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009-03-18</span></td>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.3 / 7</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7.57</span></td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary and the trophy</span></td>
158
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009-04-08</span></td>
159
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.2 / 7</span></td>
161
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7.3</span></td>
162
+ </tr>
163
+ <tr>
164
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary and his half brother</span></td>
165
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009-05-06</span></td>
166
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
167
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2.0 / 6</span></td>
168
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6.66</span></td>
169
+ </tr>
170
+ <tr>
171
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gary fixes allison 's garbage disposal</span></td>
172
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009-05-20</span></td>
173
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 8:30 pm</span></td>
174
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1.7 / 5</span></td>
175
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">5.55</span></td>
176
+ </tr>
177
+ </table>
178
+ </div>
179
+ <hr/>
180
+ <div class="step">
181
+ <div class="step-title">Step 2: Select row number 20.</div>
182
+ <div class="content" id="step-0">
183
+ <table>
184
+ <tr>
185
+ <td>episode</td>
186
+ <td>air_date</td>
187
+ <td>timeslot</td>
188
+ <td>c_18___49</td>
189
+ <td>viewers</td>
190
+ </tr>
191
+ <tr>
192
+ <td>gary fixes allison 's garbage disposal</td>
193
+ <td>2009-05-20</td>
194
+ <td>wednesday 8:30 pm</td>
195
+ <td>1.7 / 5</td>
196
+ <td>5.55</td>
197
+ </tr>
198
+ <tr>
199
+ <td>gary meets the gang</td>
200
+ <td>2008-11-05</td>
201
+ <td>wednesday 8:30 pm</td>
202
+ <td>2.1 / 6</td>
203
+ <td>6.44</td>
204
+ </tr>
205
+ <tr>
206
+ <td>gary and his half brother</td>
207
+ <td>2009-05-06</td>
208
+ <td>wednesday 8:30 pm</td>
209
+ <td>2.0 / 6</td>
210
+ <td>6.66</td>
211
+ </tr>
212
+ <tr>
213
+ <td>gary and allison 's restaurant</td>
214
+ <td>2008-11-12</td>
215
+ <td>wednesday 8:30 pm</td>
216
+ <td>2.1 / 5</td>
217
+ <td>6.71</td>
218
+ </tr>
219
+ <tr>
220
+ <td>pilot</td>
221
+ <td>2008-09-24</td>
222
+ <td>wednesday 8:30 pm</td>
223
+ <td>2.3 / 6</td>
224
+ <td>6.84</td>
225
+ </tr>
226
+ <tr>
227
+ <td>gary and dennis' sister</td>
228
+ <td>2009-02-11</td>
229
+ <td>wednesday 8:30 pm</td>
230
+ <td>2.1 / 5</td>
231
+ <td>6.86</td>
232
+ </tr>
233
+ <tr>
234
+ <td>gary gets boundaries</td>
235
+ <td>2008-10-01</td>
236
+ <td>wednesday 8:30 pm</td>
237
+ <td>2.2 / 6</td>
238
+ <td>6.97</td>
239
+ </tr>
240
+ <tr>
241
+ <td>gary dates louise 's teacher</td>
242
+ <td>2009-01-14</td>
243
+ <td>wednesday 8:30 pm</td>
244
+ <td>2.1 / 5</td>
245
+ <td>7.07</td>
246
+ </tr>
247
+ <tr>
248
+ <td>gary moves back in</td>
249
+ <td>2009-01-21</td>
250
+ <td>wednesday 8:30 pm</td>
251
+ <td>2.2 / 5</td>
252
+ <td>7.07</td>
253
+ </tr>
254
+ <tr>
255
+ <td>gary 's ex - brother - in - law</td>
256
+ <td>2009-02-18</td>
257
+ <td>wednesday 8:30 pm</td>
258
+ <td>2.1 / 5</td>
259
+ <td>7.26</td>
260
+ </tr>
261
+ <tr>
262
+ <td>gary and the trophy</td>
263
+ <td>2009-04-08</td>
264
+ <td>wednesday 8:30 pm</td>
265
+ <td>2.2 / 7</td>
266
+ <td>7.3</td>
267
+ </tr>
268
+ <tr>
269
+ <td>gary marries off his ex</td>
270
+ <td>2008-10-08</td>
271
+ <td>wednesday 8:30 pm</td>
272
+ <td>2.2 / 6</td>
273
+ <td>7.43</td>
274
+ </tr>
275
+ <tr>
276
+ <td>gary toughens up tom</td>
277
+ <td>2008-12-17</td>
278
+ <td>wednesday 8:30 pm</td>
279
+ <td>2.3 / 7</td>
280
+ <td>7.55</td>
281
+ </tr>
282
+ <tr>
283
+ <td>gary hooks up allison</td>
284
+ <td>2009-03-18</td>
285
+ <td>wednesday 8:30 pm</td>
286
+ <td>2.3 / 7</td>
287
+ <td>7.57</td>
288
+ </tr>
289
+ <tr>
290
+ <td>gary gets his stuff back</td>
291
+ <td>2008-10-15</td>
292
+ <td>wednesday 8:30 pm</td>
293
+ <td>2.4 / 7</td>
294
+ <td>7.71</td>
295
+ </tr>
296
+ <tr>
297
+ <td>gary uses his veto</td>
298
+ <td>2009-03-11</td>
299
+ <td>wednesday 8:30 pm</td>
300
+ <td>2.3 / 7</td>
301
+ <td>7.71</td>
302
+ </tr>
303
+ <tr>
304
+ <td>gary gives thanks</td>
305
+ <td>2008-11-26</td>
306
+ <td>wednesday 8:30 pm</td>
307
+ <td>2.2 / 7</td>
308
+ <td>7.72</td>
309
+ </tr>
310
+ <tr>
311
+ <td>gary breaks up his ex - wife and girlfriend</td>
312
+ <td>2008-10-22</td>
313
+ <td>wednesday 8:30 pm</td>
314
+ <td>2.5 / 7</td>
315
+ <td>7.85</td>
316
+ </tr>
317
+ <tr>
318
+ <td>gary goes first</td>
319
+ <td>2008-12-10</td>
320
+ <td>wednesday 8:30 pm</td>
321
+ <td>2.4 / 7</td>
322
+ <td>8.03</td>
323
+ </tr>
324
+ <tr>
325
+ <td>gary and allison brooks</td>
326
+ <td>2008-11-19</td>
327
+ <td>wednesday 8:30 pm</td>
328
+ <td>2.7 / 7</td>
329
+ <td>8.14</td>
330
+ </tr>
331
+ </table>
332
+ </div>
333
+ </div>
334
+ <hr/>
335
+ <div class="step">
336
+ <div class="step-title">Step 3: Select rows where 'episode' is 'finale'.</div>
337
+ <div class="content" id="step-1">
338
+ <table>
339
+ <tr>
340
+ <td>episode</td>
341
+ <td>air_date</td>
342
+ <td>timeslot</td>
343
+ <td>c_18___49</td>
344
+ <td>viewers</td>
345
+ </tr>
346
+ <tr>
347
+ <td>gary and allison brooks</td>
348
+ <td>2008-11-19</td>
349
+ <td>wednesday 8:30 pm</td>
350
+ <td>2.7 / 7</td>
351
+ <td>8.14</td>
352
+ </tr>
353
+ </table>
354
+ </div>
355
+ </div>
356
+ <hr/>
357
+ <div class="step">
358
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
359
+ <div class="content" id="step-2">
360
+ <table>
361
+ <tr>
362
+ <td>episode</td>
363
+ <td>air_date</td>
364
+ <td>timeslot</td>
365
+ <td>c_18___49</td>
366
+ <td>viewers</td>
367
+ </tr>
368
+ </table>
369
+ </div>
370
+ </div>
371
+ <hr/>
372
+
373
+ </div>
374
+ </div>
375
+ <hr/>
376
+ </body></html>
htmls_POS_mod2/FN/test-1108.html ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the third / vice skip was martin crete and the second was eric sylvain</h3>
24
+ <h3>Input Table: 2009 canadian olympic curling trials</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where the 'third___vice_skip' is 'martin crete'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>skip</td>
32
+ <td>third___vice_skip</td>
33
+ <td>second</td>
34
+ <td>lead</td>
35
+ <td>city</td>
36
+ </tr>
37
+ <tr>
38
+ <td>kerry burtnyk</td>
39
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">don walchuk</span></td>
40
+ <td>richard daneault</td>
41
+ <td>garth smith</td>
42
+ <td>winnipeg</td>
43
+ </tr>
44
+ <tr>
45
+ <td>pat simmons</td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gerry adam</span></td>
47
+ <td>jeff sharp</td>
48
+ <td>steve laycock</td>
49
+ <td>davidson</td>
50
+ </tr>
51
+ <tr>
52
+ <td>jeff stoughton</td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kevin park</span></td>
54
+ <td>rob fowler</td>
55
+ <td>steve gould</td>
56
+ <td>winnipeg</td>
57
+ </tr>
58
+ <tr>
59
+ <td>wayne middaugh</td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jon mead</span></td>
61
+ <td>john epping</td>
62
+ <td>scott bailey</td>
63
+ <td>islington</td>
64
+ </tr>
65
+ <tr>
66
+ <td>brad gushue</td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mark nichols</span></td>
68
+ <td>ryan fry</td>
69
+ <td>jamie korab</td>
70
+ <td>st john 's</td>
71
+ </tr>
72
+ <tr>
73
+ <td>mike mcewen</td>
74
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">b j neufeld</span></td>
75
+ <td>matt wozniak</td>
76
+ <td>denni neufeld</td>
77
+ <td>winnipeg</td>
78
+ </tr>
79
+ <tr>
80
+ <td>joel jordison</td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">scott bitz</span></td>
82
+ <td>aryn schmidt</td>
83
+ <td>dean hicke</td>
84
+ <td>moose jaw</td>
85
+ </tr>
86
+ <tr>
87
+ <td>bob ursel</td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jim cotter</span></td>
89
+ <td>kevin folk</td>
90
+ <td>rick sawatsky</td>
91
+ <td>kelowna</td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jean - michel ménard</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">martin crête</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">éric sylvain</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jean gagnon</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lévis</span></td>
99
+ </tr>
100
+ <tr>
101
+ <td>ted appelman</td>
102
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tom appelman</span></td>
103
+ <td>bradon klassen</td>
104
+ <td>brendan melnyk</td>
105
+ <td>edmonton</td>
106
+ </tr>
107
+ <tr>
108
+ <td>greg mcaulay</td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ken maskiewich</span></td>
110
+ <td>deane horning</td>
111
+ <td>aaron watson</td>
112
+ <td>richmond</td>
113
+ </tr>
114
+ <tr>
115
+ <td>jason gunnlaugson</td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">justin richter</span></td>
117
+ <td>braden zawada</td>
118
+ <td>tyler forrest</td>
119
+ <td>beausejour</td>
120
+ </tr>
121
+ </table>
122
+ </div>
123
+ <hr/>
124
+ <div class="step">
125
+ <div class="step-title">Step 2: Select rows where the 'second' is 'eric sylvain'.</div>
126
+ <div class="content" id="step-0">
127
+ <table>
128
+ <tr>
129
+ <td>skip</td>
130
+ <td>third___vice_skip</td>
131
+ <td>second</td>
132
+ <td>lead</td>
133
+ <td>city</td>
134
+ </tr>
135
+ <tr>
136
+ <td>jean - michel ménard</td>
137
+ <td>martin crête</td>
138
+ <td>éric sylvain</td>
139
+ <td>jean gagnon</td>
140
+ <td>lévis</td>
141
+ </tr>
142
+ </table>
143
+ </div>
144
+ </div>
145
+ <hr/>
146
+ <div class="step">
147
+ <div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows for both steps 1 and 2 is equal to 1, otherwise return FALSE.</div>
148
+ <div class="content" id="step-1">
149
+ <table>
150
+ <tr>
151
+ <td>skip</td>
152
+ <td>third___vice_skip</td>
153
+ <td>second</td>
154
+ <td>lead</td>
155
+ <td>city</td>
156
+ </tr>
157
+ </table>
158
+ </div>
159
+ </div>
160
+ <hr/>
161
+
162
+ </div>
163
+ </div>
164
+ <hr/>
165
+ </body></html>
htmls_POS_mod2/FN/test-1119.html ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the open championship is the tournament with the highest number of events</h3>
24
+ <h3>Input Table: brian watts</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by the 'events' column in descending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>tournament</td>
32
+ <td>wins</td>
33
+ <td>top___5</td>
34
+ <td>top___25</td>
35
+ <td>events</td>
36
+ <td>cuts_made</td>
37
+ </tr>
38
+ <tr>
39
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">masters tournament</span></td>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
43
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2</span></td>
44
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
45
+ </tr>
46
+ <tr>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">us open</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
50
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
51
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2</span></td>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
53
+ </tr>
54
+ <tr>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">the open championship</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
57
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
58
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
59
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
61
+ </tr>
62
+ <tr>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pga championship</span></td>
64
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
65
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
69
+ </tr>
70
+ <tr>
71
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">totals</span></td>
72
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
74
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
75
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">17</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>
77
+ </tr>
78
+ </table>
79
+ </div>
80
+ <hr/>
81
+ <div class="step">
82
+ <div class="step-title">Step 2: Select row number 1.</div>
83
+ <div class="content" id="step-0">
84
+ <table>
85
+ <tr>
86
+ <td>tournament</td>
87
+ <td>wins</td>
88
+ <td>top___5</td>
89
+ <td>top___25</td>
90
+ <td>events</td>
91
+ <td>cuts_made</td>
92
+ </tr>
93
+ <tr>
94
+ <td>totals</td>
95
+ <td>0</td>
96
+ <td>1</td>
97
+ <td>3</td>
98
+ <td>17</td>
99
+ <td>10</td>
100
+ </tr>
101
+ <tr>
102
+ <td>the open championship</td>
103
+ <td>0</td>
104
+ <td>1</td>
105
+ <td>2</td>
106
+ <td>7</td>
107
+ <td>4</td>
108
+ </tr>
109
+ <tr>
110
+ <td>pga championship</td>
111
+ <td>0</td>
112
+ <td>0</td>
113
+ <td>0</td>
114
+ <td>6</td>
115
+ <td>4</td>
116
+ </tr>
117
+ <tr>
118
+ <td>masters tournament</td>
119
+ <td>0</td>
120
+ <td>0</td>
121
+ <td>0</td>
122
+ <td>2</td>
123
+ <td>1</td>
124
+ </tr>
125
+ <tr>
126
+ <td>us open</td>
127
+ <td>0</td>
128
+ <td>0</td>
129
+ <td>1</td>
130
+ <td>2</td>
131
+ <td>1</td>
132
+ </tr>
133
+ </table>
134
+ </div>
135
+ </div>
136
+ <hr/>
137
+ <div class="step">
138
+ <div class="step-title">Step 3: Select rows where the 'tournament' is 'the open championship'.</div>
139
+ <div class="content" id="step-1">
140
+ <table>
141
+ <tr>
142
+ <td>tournament</td>
143
+ <td>wins</td>
144
+ <td>top___5</td>
145
+ <td>top___25</td>
146
+ <td>events</td>
147
+ <td>cuts_made</td>
148
+ </tr>
149
+ <tr>
150
+ <td>totals</td>
151
+ <td>0</td>
152
+ <td>1</td>
153
+ <td>3</td>
154
+ <td>17</td>
155
+ <td>10</td>
156
+ </tr>
157
+ </table>
158
+ </div>
159
+ </div>
160
+ <hr/>
161
+ <div class="step">
162
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
163
+ <div class="content" id="step-2">
164
+ <table>
165
+ <tr>
166
+ <td>tournament</td>
167
+ <td>wins</td>
168
+ <td>top___5</td>
169
+ <td>top___25</td>
170
+ <td>events</td>
171
+ <td>cuts_made</td>
172
+ </tr>
173
+ </table>
174
+ </div>
175
+ </div>
176
+ <hr/>
177
+
178
+ </div>
179
+ </div>
180
+ <hr/>
181
+ </body></html>
htmls_POS_mod2/FN/test-1128.html ADDED
@@ -0,0 +1,573 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> among the players in df position , dave sutton has the most league goals</h3>
24
+ <h3>Input Table: 1979 - 80 huddersfield town f.c. season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by 'league_goals' in descending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>name</td>
32
+ <td>position</td>
33
+ <td>league_apps</td>
34
+ <td>league_goals</td>
35
+ <td>fa_cup_apps</td>
36
+ <td>fa_cup_goals</td>
37
+ <td>league_cup_apps</td>
38
+ <td>league_cup_goals</td>
39
+ <td>total_apps</td>
40
+ <td>total_goals</td>
41
+ </tr>
42
+ <tr>
43
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jim branagan</span></td>
44
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">df</span></td>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0 (1)</span></td>
50
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
51
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0 (1)</span></td>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
53
+ </tr>
54
+ <tr>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">malcolm brown</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">df</span></td>
57
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">46</span></td>
58
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2</span></td>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
62
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">52</span></td>
64
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
65
+ </tr>
66
+ <tr>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">david cowling</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mf</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">39 (1)</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">10</span></td>
71
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
72
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
74
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
75
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">44 (1)</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>
77
+ </tr>
78
+ <tr>
79
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">peter fletcher</span></td>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">fw</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30 (8)</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">17</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
84
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
85
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
86
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">35 (8)</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
89
+ </tr>
90
+ <tr>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">keith hanvey</span></td>
92
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">df</span></td>
93
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">33</span></td>
94
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
99
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">39</span></td>
100
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
101
+ </tr>
102
+ <tr>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">peter hart</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mf</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">46</span></td>
106
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">4</span></td>
107
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">51</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>
113
+ </tr>
114
+ <tr>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ian holmes</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mf</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6 (4)</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3</span></td>
119
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
120
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
121
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
122
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10 (4)</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
125
+ </tr>
126
+ <tr>
127
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">steve kindon</span></td>
128
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">fw</span></td>
129
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22 (1)</span></td>
130
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">14</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
134
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
135
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22 (1)</span></td>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14</span></td>
137
+ </tr>
138
+ <tr>
139
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mick laverick</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mf</span></td>
141
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">45</span></td>
142
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">4</span></td>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
146
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
147
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">51</span></td>
148
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
149
+ </tr>
150
+ <tr>
151
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bernard purdie</span></td>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">df</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18 (4)</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
155
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
156
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
158
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
159
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20 (4)</span></td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
161
+ </tr>
162
+ <tr>
163
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">andy rankin</span></td>
164
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gk</span></td>
165
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
166
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
167
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
168
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
169
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
170
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
171
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
172
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
173
+ </tr>
174
+ <tr>
175
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ian robins</span></td>
176
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">fw</span></td>
177
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">45</span></td>
178
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">25</span></td>
179
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
180
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
181
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
182
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
183
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">51</span></td>
184
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27</span></td>
185
+ </tr>
186
+ <tr>
187
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">fred robinson</span></td>
188
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">df</span></td>
189
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
190
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
191
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
192
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
193
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
194
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
195
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">36</span></td>
196
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
197
+ </tr>
198
+ <tr>
199
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tommy smith</span></td>
200
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">fw</span></td>
201
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
202
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
203
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
204
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
205
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
206
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
207
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
208
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
209
+ </tr>
210
+ <tr>
211
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">brian stanton</span></td>
212
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mf</span></td>
213
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">41</span></td>
214
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9</span></td>
215
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
216
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
217
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
218
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
219
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">43</span></td>
220
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
221
+ </tr>
222
+ <tr>
223
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alan starling</span></td>
224
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gk</span></td>
225
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22</span></td>
226
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
227
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
228
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
229
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
230
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
231
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28</span></td>
232
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
233
+ </tr>
234
+ <tr>
235
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">dave sutton</span></td>
236
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">df</span></td>
237
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">46</span></td>
238
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6</span></td>
239
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
240
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
241
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
242
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
243
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">52</span></td>
244
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
245
+ </tr>
246
+ <tr>
247
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chris topping</span></td>
248
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">df</span></td>
249
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13</span></td>
250
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
251
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
252
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
253
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
254
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
255
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15</span></td>
256
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
257
+ </tr>
258
+ </table>
259
+ </div>
260
+ <hr/>
261
+ <div class="step">
262
+ <div class="step-title">Step 2: Select row number 1.</div>
263
+ <div class="content" id="step-0">
264
+ <table>
265
+ <tr>
266
+ <td>name</td>
267
+ <td>position</td>
268
+ <td>league_apps</td>
269
+ <td>league_goals</td>
270
+ <td>fa_cup_apps</td>
271
+ <td>fa_cup_goals</td>
272
+ <td>league_cup_apps</td>
273
+ <td>league_cup_goals</td>
274
+ <td>total_apps</td>
275
+ <td>total_goals</td>
276
+ </tr>
277
+ <tr>
278
+ <td>ian robins</td>
279
+ <td>fw</td>
280
+ <td>45</td>
281
+ <td>25</td>
282
+ <td>2</td>
283
+ <td>0</td>
284
+ <td>4</td>
285
+ <td>2</td>
286
+ <td>51</td>
287
+ <td>27</td>
288
+ </tr>
289
+ <tr>
290
+ <td>peter fletcher</td>
291
+ <td>fw</td>
292
+ <td>30 (8)</td>
293
+ <td>17</td>
294
+ <td>2</td>
295
+ <td>0</td>
296
+ <td>3</td>
297
+ <td>1</td>
298
+ <td>35 (8)</td>
299
+ <td>18</td>
300
+ </tr>
301
+ <tr>
302
+ <td>steve kindon</td>
303
+ <td>fw</td>
304
+ <td>22 (1)</td>
305
+ <td>14</td>
306
+ <td>0</td>
307
+ <td>0</td>
308
+ <td>0</td>
309
+ <td>0</td>
310
+ <td>22 (1)</td>
311
+ <td>14</td>
312
+ </tr>
313
+ <tr>
314
+ <td>david cowling</td>
315
+ <td>mf</td>
316
+ <td>39 (1)</td>
317
+ <td>10</td>
318
+ <td>1</td>
319
+ <td>0</td>
320
+ <td>4</td>
321
+ <td>0</td>
322
+ <td>44 (1)</td>
323
+ <td>10</td>
324
+ </tr>
325
+ <tr>
326
+ <td>brian stanton</td>
327
+ <td>mf</td>
328
+ <td>41</td>
329
+ <td>9</td>
330
+ <td>2</td>
331
+ <td>0</td>
332
+ <td>0</td>
333
+ <td>0</td>
334
+ <td>43</td>
335
+ <td>9</td>
336
+ </tr>
337
+ <tr>
338
+ <td>dave sutton</td>
339
+ <td>df</td>
340
+ <td>46</td>
341
+ <td>6</td>
342
+ <td>2</td>
343
+ <td>0</td>
344
+ <td>4</td>
345
+ <td>1</td>
346
+ <td>52</td>
347
+ <td>7</td>
348
+ </tr>
349
+ <tr>
350
+ <td>peter hart</td>
351
+ <td>mf</td>
352
+ <td>46</td>
353
+ <td>4</td>
354
+ <td>1</td>
355
+ <td>1</td>
356
+ <td>4</td>
357
+ <td>0</td>
358
+ <td>51</td>
359
+ <td>5</td>
360
+ </tr>
361
+ <tr>
362
+ <td>mick laverick</td>
363
+ <td>mf</td>
364
+ <td>45</td>
365
+ <td>4</td>
366
+ <td>2</td>
367
+ <td>0</td>
368
+ <td>4</td>
369
+ <td>0</td>
370
+ <td>51</td>
371
+ <td>4</td>
372
+ </tr>
373
+ <tr>
374
+ <td>ian holmes</td>
375
+ <td>mf</td>
376
+ <td>6 (4)</td>
377
+ <td>3</td>
378
+ <td>0</td>
379
+ <td>0</td>
380
+ <td>4</td>
381
+ <td>1</td>
382
+ <td>10 (4)</td>
383
+ <td>4</td>
384
+ </tr>
385
+ <tr>
386
+ <td>malcolm brown</td>
387
+ <td>df</td>
388
+ <td>46</td>
389
+ <td>2</td>
390
+ <td>2</td>
391
+ <td>0</td>
392
+ <td>4</td>
393
+ <td>1</td>
394
+ <td>52</td>
395
+ <td>3</td>
396
+ </tr>
397
+ <tr>
398
+ <td>keith hanvey</td>
399
+ <td>df</td>
400
+ <td>33</td>
401
+ <td>2</td>
402
+ <td>0</td>
403
+ <td>0</td>
404
+ <td>4</td>
405
+ <td>0</td>
406
+ <td>39</td>
407
+ <td>2</td>
408
+ </tr>
409
+ <tr>
410
+ <td>fred robinson</td>
411
+ <td>df</td>
412
+ <td>30</td>
413
+ <td>1</td>
414
+ <td>2</td>
415
+ <td>0</td>
416
+ <td>4</td>
417
+ <td>0</td>
418
+ <td>36</td>
419
+ <td>1</td>
420
+ </tr>
421
+ <tr>
422
+ <td>jim branagan</td>
423
+ <td>df</td>
424
+ <td>0</td>
425
+ <td>0</td>
426
+ <td>0</td>
427
+ <td>0</td>
428
+ <td>0 (1)</td>
429
+ <td>0</td>
430
+ <td>0 (1)</td>
431
+ <td>0</td>
432
+ </tr>
433
+ <tr>
434
+ <td>bernard purdie</td>
435
+ <td>df</td>
436
+ <td>18 (4)</td>
437
+ <td>0</td>
438
+ <td>2</td>
439
+ <td>0</td>
440
+ <td>0</td>
441
+ <td>0</td>
442
+ <td>20 (4)</td>
443
+ <td>0</td>
444
+ </tr>
445
+ <tr>
446
+ <td>andy rankin</td>
447
+ <td>gk</td>
448
+ <td>24</td>
449
+ <td>0</td>
450
+ <td>0</td>
451
+ <td>0</td>
452
+ <td>0</td>
453
+ <td>0</td>
454
+ <td>24</td>
455
+ <td>0</td>
456
+ </tr>
457
+ <tr>
458
+ <td>tommy smith</td>
459
+ <td>fw</td>
460
+ <td>0</td>
461
+ <td>0</td>
462
+ <td>0</td>
463
+ <td>0</td>
464
+ <td>1</td>
465
+ <td>0</td>
466
+ <td>1</td>
467
+ <td>0</td>
468
+ </tr>
469
+ <tr>
470
+ <td>alan starling</td>
471
+ <td>gk</td>
472
+ <td>22</td>
473
+ <td>0</td>
474
+ <td>2</td>
475
+ <td>0</td>
476
+ <td>4</td>
477
+ <td>0</td>
478
+ <td>28</td>
479
+ <td>0</td>
480
+ </tr>
481
+ <tr>
482
+ <td>chris topping</td>
483
+ <td>df</td>
484
+ <td>13</td>
485
+ <td>0</td>
486
+ <td>2</td>
487
+ <td>0</td>
488
+ <td>0</td>
489
+ <td>0</td>
490
+ <td>15</td>
491
+ <td>0</td>
492
+ </tr>
493
+ </table>
494
+ </div>
495
+ </div>
496
+ <hr/>
497
+ <div class="step">
498
+ <div class="step-title">Step 3: Select rows where 'position' is 'df'.</div>
499
+ <div class="content" id="step-1">
500
+ <table>
501
+ <tr>
502
+ <td>name</td>
503
+ <td>position</td>
504
+ <td>league_apps</td>
505
+ <td>league_goals</td>
506
+ <td>fa_cup_apps</td>
507
+ <td>fa_cup_goals</td>
508
+ <td>league_cup_apps</td>
509
+ <td>league_cup_goals</td>
510
+ <td>total_apps</td>
511
+ <td>total_goals</td>
512
+ </tr>
513
+ <tr>
514
+ <td>ian robins</td>
515
+ <td>fw</td>
516
+ <td>45</td>
517
+ <td>25</td>
518
+ <td>2</td>
519
+ <td>0</td>
520
+ <td>4</td>
521
+ <td>2</td>
522
+ <td>51</td>
523
+ <td>27</td>
524
+ </tr>
525
+ </table>
526
+ </div>
527
+ </div>
528
+ <hr/>
529
+ <div class="step">
530
+ <div class="step-title">Step 4: Select rows where 'name' is 'dave sutton'.</div>
531
+ <div class="content" id="step-2">
532
+ <table>
533
+ <tr>
534
+ <td>name</td>
535
+ <td>position</td>
536
+ <td>league_apps</td>
537
+ <td>league_goals</td>
538
+ <td>fa_cup_apps</td>
539
+ <td>fa_cup_goals</td>
540
+ <td>league_cup_apps</td>
541
+ <td>league_cup_goals</td>
542
+ <td>total_apps</td>
543
+ <td>total_goals</td>
544
+ </tr>
545
+ </table>
546
+ </div>
547
+ </div>
548
+ <hr/>
549
+ <div class="step">
550
+ <div class="step-title">Step 5: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
551
+ <div class="content" id="step-3">
552
+ <table>
553
+ <tr>
554
+ <td>name</td>
555
+ <td>position</td>
556
+ <td>league_apps</td>
557
+ <td>league_goals</td>
558
+ <td>fa_cup_apps</td>
559
+ <td>fa_cup_goals</td>
560
+ <td>league_cup_apps</td>
561
+ <td>league_cup_goals</td>
562
+ <td>total_apps</td>
563
+ <td>total_goals</td>
564
+ </tr>
565
+ </table>
566
+ </div>
567
+ </div>
568
+ <hr/>
569
+
570
+ </div>
571
+ </div>
572
+ <hr/>
573
+ </body></html>
htmls_POS_mod2/FN/test-1140.html ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> footscray score 14.8 when they visited essendon on july 13 1946</h3>
24
+ <h3>Input Table: 1946 vfl season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'away_team' is 'footscray'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>home_team</td>
32
+ <td>home_team_score</td>
33
+ <td>away_team</td>
34
+ <td>away_team_score</td>
35
+ <td>venue</td>
36
+ <td>crowd</td>
37
+ <td>date</td>
38
+ </tr>
39
+ <tr>
40
+ <td>geelong</td>
41
+ <td>15.7 (97)</td>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">melbourne</span></td>
43
+ <td>21.14 (140)</td>
44
+ <td>kardinia park</td>
45
+ <td>11500</td>
46
+ <td>1946-07-13</td>
47
+ </tr>
48
+ <tr>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">essendon</span></td>
50
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">16.24 (120)</span></td>
51
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">footscray</span></td>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14.8 (92)</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">windy hill</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29000</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1946-07-13</span></td>
56
+ </tr>
57
+ <tr>
58
+ <td>collingwood</td>
59
+ <td>15.23 (113)</td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hawthorn</span></td>
61
+ <td>11.14 (80)</td>
62
+ <td>victoria park</td>
63
+ <td>11000</td>
64
+ <td>1946-07-13</td>
65
+ </tr>
66
+ <tr>
67
+ <td>carlton</td>
68
+ <td>12.13 (85)</td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">south melbourne</span></td>
70
+ <td>11.18 (84)</td>
71
+ <td>princes park</td>
72
+ <td>26000</td>
73
+ <td>1946-07-13</td>
74
+ </tr>
75
+ <tr>
76
+ <td>st kilda</td>
77
+ <td>10.14 (74)</td>
78
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">north melbourne</span></td>
79
+ <td>12.11 (83)</td>
80
+ <td>junction oval</td>
81
+ <td>7000</td>
82
+ <td>1946-07-13</td>
83
+ </tr>
84
+ <tr>
85
+ <td>richmond</td>
86
+ <td>14.14 (98)</td>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">fitzroy</span></td>
88
+ <td>10.12 (72)</td>
89
+ <td>punt road oval</td>
90
+ <td>19000</td>
91
+ <td>1946-07-13</td>
92
+ </tr>
93
+ </table>
94
+ </div>
95
+ <hr/>
96
+ <div class="step">
97
+ <div class="step-title">Step 2: Select rows where 'home_team' is 'essendon'.</div>
98
+ <div class="content" id="step-0">
99
+ <table>
100
+ <tr>
101
+ <td>home_team</td>
102
+ <td>home_team_score</td>
103
+ <td>away_team</td>
104
+ <td>away_team_score</td>
105
+ <td>venue</td>
106
+ <td>crowd</td>
107
+ <td>date</td>
108
+ </tr>
109
+ <tr>
110
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">essendon</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">16.24 (120)</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">footscray</span></td>
113
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14.8 (92)</span></td>
114
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">windy hill</span></td>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29000</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1946-07-13</span></td>
117
+ </tr>
118
+ </table>
119
+ </div>
120
+ </div>
121
+ <hr/>
122
+ <div class="step">
123
+ <div class="step-title">Step 3: Select rows where 'date' is '1946-07-13'.</div>
124
+ <div class="content" id="step-1">
125
+ <table>
126
+ <tr>
127
+ <td>home_team</td>
128
+ <td>home_team_score</td>
129
+ <td>away_team</td>
130
+ <td>away_team_score</td>
131
+ <td>venue</td>
132
+ <td>crowd</td>
133
+ <td>date</td>
134
+ </tr>
135
+ <tr>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">essendon</span></td>
137
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">16.24 (120)</span></td>
138
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">footscray</span></td>
139
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14.8 (92)</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">windy hill</span></td>
141
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29000</span></td>
142
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1946-07-13</span></td>
143
+ </tr>
144
+ </table>
145
+ </div>
146
+ </div>
147
+ <hr/>
148
+ <div class="step">
149
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1 and the 'away_team_score' is '14.8', otherwise return FALSE.</div>
150
+ <div class="content" id="step-2">
151
+ <table>
152
+ <tr>
153
+ <td>home_team</td>
154
+ <td>home_team_score</td>
155
+ <td>away_team</td>
156
+ <td>away_team_score</td>
157
+ <td>venue</td>
158
+ <td>crowd</td>
159
+ <td>date</td>
160
+ </tr>
161
+ <tr>
162
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">essendon</span></td>
163
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">16.24 (120)</span></td>
164
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">footscray</span></td>
165
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">14.8 (92)</span></td>
166
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">windy hill</span></td>
167
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">29000</span></td>
168
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1946-07-13</span></td>
169
+ </tr>
170
+ </table>
171
+ </div>
172
+ </div>
173
+ <hr/>
174
+
175
+ </div>
176
+ </div>
177
+ <hr/>
178
+ </body></html>
htmls_POS_mod2/FN/test-1155.html ADDED
@@ -0,0 +1,388 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> rodney stuckey led the detroit pistons in points scored in two games during this period of the 2010 - 2011 season</h3>
24
+ <h3>Input Table: 2010 - 11 detroit pistons season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by 'high_points' in descending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>game</td>
32
+ <td>date</td>
33
+ <td>team</td>
34
+ <td>score</td>
35
+ <td>high_points</td>
36
+ <td>high_rebounds</td>
37
+ <td>high_assists</td>
38
+ <td>location_attendance</td>
39
+ <td>record</td>
40
+ </tr>
41
+ <tr>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">62</span></td>
43
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-01</span></td>
44
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">milwaukee</span></td>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 90 - 92 (ot)</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">rodney stuckey (25)</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe , charlie villanueva (9)</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (5)</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bradley center 11364</span></td>
50
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22 - 40</span></td>
51
+ </tr>
52
+ <tr>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">63</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-02</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">minnesota</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 105 - 116 (ot)</span></td>
57
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">austin daye (22)</span></td>
58
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe (11)</span></td>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (10)</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">the palace of auburn hills 13122</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22 - 41</span></td>
62
+ </tr>
63
+ <tr>
64
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">64</span></td>
65
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-06</span></td>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">washington</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 113 - 102 (ot)</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">tayshaun prince (20)</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe , rodney stuckey (7)</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (9)</span></td>
71
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">the palace of auburn hills 17506</span></td>
72
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23 - 41</span></td>
73
+ </tr>
74
+ <tr>
75
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">65</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-09</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">san antonio</span></td>
78
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 104 - 111 (ot)</span></td>
79
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">richard hamilton (20)</span></td>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe (10)</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tracy mcgrady (9)</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">at&amp;t center 18581</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23 - 42</span></td>
84
+ </tr>
85
+ <tr>
86
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">66</span></td>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-11</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">oklahoma city</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 94 - 104 (ot)</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">richard hamilton (20)</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe (10)</span></td>
92
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe , rodney stuckey (6)</span></td>
93
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">oklahoma city arena 18203</span></td>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23 - 43</span></td>
95
+ </tr>
96
+ <tr>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">67</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-12</span></td>
99
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">denver</span></td>
100
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 101 - 131 (ot)</span></td>
101
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">chris wilcox (21)</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">austin daye , ben gordon , greg monroe (6)</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">will bynum (10)</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pepsi center 19155</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23 - 44</span></td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">68</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-16</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">toronto</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 107 - 93 (ot)</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">richard hamilton (24)</span></td>
113
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe (10)</span></td>
114
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (14)</span></td>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">the palace of auburn hills 15166</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24 - 44</span></td>
117
+ </tr>
118
+ <tr>
119
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">69</span></td>
120
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-18</span></td>
121
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">new york</span></td>
122
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 99 - 95 (ot)</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">tayshaun prince (16)</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chris wilcox (12)</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">will bynum (5)</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">the palace of auburn hills 22076</span></td>
127
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25 - 44</span></td>
128
+ </tr>
129
+ <tr>
130
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">70</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-20</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">atlanta</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 96 - 104 (ot)</span></td>
134
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">rodney stuckey (22)</span></td>
135
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe (10)</span></td>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (8)</span></td>
137
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">philips arena 17580</span></td>
138
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25 - 45</span></td>
139
+ </tr>
140
+ <tr>
141
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">71</span></td>
142
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-23</span></td>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">miami</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 94 - 100 (ot)</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">richard hamilton (27)</span></td>
146
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe (12)</span></td>
147
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (6)</span></td>
148
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">the palace of auburn hills 22076</span></td>
149
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25 - 46</span></td>
150
+ </tr>
151
+ <tr>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">72</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-25</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">cleveland</span></td>
155
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 91 - 97 (ot)</span></td>
156
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">richard hamilton , tayshaun prince (15)</span></td>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chris wilcox , greg monroe (8)</span></td>
158
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (4)</span></td>
159
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">quicken loans arena 19907</span></td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25 - 47</span></td>
161
+ </tr>
162
+ <tr>
163
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">73</span></td>
164
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-26</span></td>
165
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">indiana</span></td>
166
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 100 - 88 (ot)</span></td>
167
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">richard hamilton (23)</span></td>
168
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe (13)</span></td>
169
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">richard hamilton , rodney stuckey (6)</span></td>
170
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">the palace of auburn hills 19216</span></td>
171
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26 - 47</span></td>
172
+ </tr>
173
+ </table>
174
+ </div>
175
+ <hr/>
176
+ <div class="step">
177
+ <div class="step-title">Step 2: Select rows where 'team' is 'detroit pistons'.</div>
178
+ <div class="content" id="step-0">
179
+ <table>
180
+ <tr>
181
+ <td>game</td>
182
+ <td>date</td>
183
+ <td>team</td>
184
+ <td>score</td>
185
+ <td>high_points</td>
186
+ <td>high_rebounds</td>
187
+ <td>high_assists</td>
188
+ <td>location_attendance</td>
189
+ <td>record</td>
190
+ </tr>
191
+ <tr>
192
+ <td>71</td>
193
+ <td>9999-03-23</td>
194
+ <td>miami</td>
195
+ <td>l 94 - 100 (ot)</td>
196
+ <td>richard hamilton (27)</td>
197
+ <td>greg monroe (12)</td>
198
+ <td>rodney stuckey (6)</td>
199
+ <td>the palace of auburn hills 22076</td>
200
+ <td>25 - 46</td>
201
+ </tr>
202
+ <tr>
203
+ <td>62</td>
204
+ <td>9999-03-01</td>
205
+ <td>milwaukee</td>
206
+ <td>l 90 - 92 (ot)</td>
207
+ <td>rodney stuckey (25)</td>
208
+ <td>greg monroe , charlie villanueva (9)</td>
209
+ <td>rodney stuckey (5)</td>
210
+ <td>bradley center 11364</td>
211
+ <td>22 - 40</td>
212
+ </tr>
213
+ <tr>
214
+ <td>68</td>
215
+ <td>9999-03-16</td>
216
+ <td>toronto</td>
217
+ <td>w 107 - 93 (ot)</td>
218
+ <td>richard hamilton (24)</td>
219
+ <td>greg monroe (10)</td>
220
+ <td>rodney stuckey (14)</td>
221
+ <td>the palace of auburn hills 15166</td>
222
+ <td>24 - 44</td>
223
+ </tr>
224
+ <tr>
225
+ <td>73</td>
226
+ <td>9999-03-26</td>
227
+ <td>indiana</td>
228
+ <td>w 100 - 88 (ot)</td>
229
+ <td>richard hamilton (23)</td>
230
+ <td>greg monroe (13)</td>
231
+ <td>richard hamilton , rodney stuckey (6)</td>
232
+ <td>the palace of auburn hills 19216</td>
233
+ <td>26 - 47</td>
234
+ </tr>
235
+ <tr>
236
+ <td>63</td>
237
+ <td>9999-03-02</td>
238
+ <td>minnesota</td>
239
+ <td>l 105 - 116 (ot)</td>
240
+ <td>austin daye (22)</td>
241
+ <td>greg monroe (11)</td>
242
+ <td>rodney stuckey (10)</td>
243
+ <td>the palace of auburn hills 13122</td>
244
+ <td>22 - 41</td>
245
+ </tr>
246
+ <tr>
247
+ <td>70</td>
248
+ <td>9999-03-20</td>
249
+ <td>atlanta</td>
250
+ <td>l 96 - 104 (ot)</td>
251
+ <td>rodney stuckey (22)</td>
252
+ <td>greg monroe (10)</td>
253
+ <td>rodney stuckey (8)</td>
254
+ <td>philips arena 17580</td>
255
+ <td>25 - 45</td>
256
+ </tr>
257
+ <tr>
258
+ <td>67</td>
259
+ <td>9999-03-12</td>
260
+ <td>denver</td>
261
+ <td>l 101 - 131 (ot)</td>
262
+ <td>chris wilcox (21)</td>
263
+ <td>austin daye , ben gordon , greg monroe (6)</td>
264
+ <td>will bynum (10)</td>
265
+ <td>pepsi center 19155</td>
266
+ <td>23 - 44</td>
267
+ </tr>
268
+ <tr>
269
+ <td>64</td>
270
+ <td>9999-03-06</td>
271
+ <td>washington</td>
272
+ <td>w 113 - 102 (ot)</td>
273
+ <td>tayshaun prince (20)</td>
274
+ <td>greg monroe , rodney stuckey (7)</td>
275
+ <td>rodney stuckey (9)</td>
276
+ <td>the palace of auburn hills 17506</td>
277
+ <td>23 - 41</td>
278
+ </tr>
279
+ <tr>
280
+ <td>65</td>
281
+ <td>9999-03-09</td>
282
+ <td>san antonio</td>
283
+ <td>l 104 - 111 (ot)</td>
284
+ <td>richard hamilton (20)</td>
285
+ <td>greg monroe (10)</td>
286
+ <td>tracy mcgrady (9)</td>
287
+ <td>at&amp;t center 18581</td>
288
+ <td>23 - 42</td>
289
+ </tr>
290
+ <tr>
291
+ <td>66</td>
292
+ <td>9999-03-11</td>
293
+ <td>oklahoma city</td>
294
+ <td>l 94 - 104 (ot)</td>
295
+ <td>richard hamilton (20)</td>
296
+ <td>greg monroe (10)</td>
297
+ <td>greg monroe , rodney stuckey (6)</td>
298
+ <td>oklahoma city arena 18203</td>
299
+ <td>23 - 43</td>
300
+ </tr>
301
+ <tr>
302
+ <td>69</td>
303
+ <td>9999-03-18</td>
304
+ <td>new york</td>
305
+ <td>w 99 - 95 (ot)</td>
306
+ <td>tayshaun prince (16)</td>
307
+ <td>chris wilcox (12)</td>
308
+ <td>will bynum (5)</td>
309
+ <td>the palace of auburn hills 22076</td>
310
+ <td>25 - 44</td>
311
+ </tr>
312
+ <tr>
313
+ <td>72</td>
314
+ <td>9999-03-25</td>
315
+ <td>cleveland</td>
316
+ <td>l 91 - 97 (ot)</td>
317
+ <td>richard hamilton , tayshaun prince (15)</td>
318
+ <td>chris wilcox , greg monroe (8)</td>
319
+ <td>rodney stuckey (4)</td>
320
+ <td>quicken loans arena 19907</td>
321
+ <td>25 - 47</td>
322
+ </tr>
323
+ </table>
324
+ </div>
325
+ </div>
326
+ <hr/>
327
+ <div class="step">
328
+ <div class="step-title">Step 3: Select rows where 'high_points' is not null.</div>
329
+ <div class="content" id="step-1">
330
+ <table>
331
+ <tr>
332
+ <td>game</td>
333
+ <td>date</td>
334
+ <td>team</td>
335
+ <td>score</td>
336
+ <td>high_points</td>
337
+ <td>high_rebounds</td>
338
+ <td>high_assists</td>
339
+ <td>location_attendance</td>
340
+ <td>record</td>
341
+ </tr>
342
+ </table>
343
+ </div>
344
+ </div>
345
+ <hr/>
346
+ <div class="step">
347
+ <div class="step-title">Step 4: Select rows where 'high_points' is equal to 25.</div>
348
+ <div class="content" id="step-2">
349
+ <table>
350
+ <tr>
351
+ <td>game</td>
352
+ <td>date</td>
353
+ <td>team</td>
354
+ <td>score</td>
355
+ <td>high_points</td>
356
+ <td>high_rebounds</td>
357
+ <td>high_assists</td>
358
+ <td>location_attendance</td>
359
+ <td>record</td>
360
+ </tr>
361
+ </table>
362
+ </div>
363
+ </div>
364
+ <hr/>
365
+ <div class="step">
366
+ <div class="step-title">Step 5: Use a `CASE` statement to return TRUE if the number of rows is equal to 2, otherwise return FALSE.</div>
367
+ <div class="content" id="step-3">
368
+ <table>
369
+ <tr>
370
+ <td>game</td>
371
+ <td>date</td>
372
+ <td>team</td>
373
+ <td>score</td>
374
+ <td>high_points</td>
375
+ <td>high_rebounds</td>
376
+ <td>high_assists</td>
377
+ <td>location_attendance</td>
378
+ <td>record</td>
379
+ </tr>
380
+ </table>
381
+ </div>
382
+ </div>
383
+ <hr/>
384
+
385
+ </div>
386
+ </div>
387
+ <hr/>
388
+ </body></html>
htmls_POS_mod2/FN/test-1157.html ADDED
@@ -0,0 +1,350 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the detroit pistons won by over ten points in three games during this period of their 2010 - 2011 season</h3>
24
+ <h3>Input Table: 2010 - 11 detroit pistons season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by 'score' in descending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>game</td>
32
+ <td>date</td>
33
+ <td>team</td>
34
+ <td>score</td>
35
+ <td>high_points</td>
36
+ <td>high_rebounds</td>
37
+ <td>high_assists</td>
38
+ <td>location_attendance</td>
39
+ <td>record</td>
40
+ </tr>
41
+ <tr>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">62</span></td>
43
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-01</span></td>
44
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">milwaukee</span></td>
45
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 90 - 92 (ot)</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (25)</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe , charlie villanueva (9)</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (5)</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bradley center 11364</span></td>
50
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22 - 40</span></td>
51
+ </tr>
52
+ <tr>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">63</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-02</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">minnesota</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 105 - 116 (ot)</span></td>
57
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">austin daye (22)</span></td>
58
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe (11)</span></td>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (10)</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">the palace of auburn hills 13122</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22 - 41</span></td>
62
+ </tr>
63
+ <tr>
64
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">64</span></td>
65
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-06</span></td>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">washington</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 113 - 102 (ot)</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tayshaun prince (20)</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe , rodney stuckey (7)</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (9)</span></td>
71
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">the palace of auburn hills 17506</span></td>
72
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23 - 41</span></td>
73
+ </tr>
74
+ <tr>
75
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">65</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-09</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">san antonio</span></td>
78
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 104 - 111 (ot)</span></td>
79
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">richard hamilton (20)</span></td>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe (10)</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tracy mcgrady (9)</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">at&amp;t center 18581</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23 - 42</span></td>
84
+ </tr>
85
+ <tr>
86
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">66</span></td>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-11</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">oklahoma city</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 94 - 104 (ot)</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">richard hamilton (20)</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe (10)</span></td>
92
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe , rodney stuckey (6)</span></td>
93
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">oklahoma city arena 18203</span></td>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23 - 43</span></td>
95
+ </tr>
96
+ <tr>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">67</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-12</span></td>
99
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">denver</span></td>
100
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 101 - 131 (ot)</span></td>
101
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chris wilcox (21)</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">austin daye , ben gordon , greg monroe (6)</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">will bynum (10)</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pepsi center 19155</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23 - 44</span></td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">68</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-16</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">toronto</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 107 - 93 (ot)</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">richard hamilton (24)</span></td>
113
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe (10)</span></td>
114
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (14)</span></td>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">the palace of auburn hills 15166</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24 - 44</span></td>
117
+ </tr>
118
+ <tr>
119
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">69</span></td>
120
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-18</span></td>
121
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">new york</span></td>
122
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 99 - 95 (ot)</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tayshaun prince (16)</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chris wilcox (12)</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">will bynum (5)</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">the palace of auburn hills 22076</span></td>
127
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25 - 44</span></td>
128
+ </tr>
129
+ <tr>
130
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">70</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-20</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">atlanta</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 96 - 104 (ot)</span></td>
134
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (22)</span></td>
135
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe (10)</span></td>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (8)</span></td>
137
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">philips arena 17580</span></td>
138
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25 - 45</span></td>
139
+ </tr>
140
+ <tr>
141
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">71</span></td>
142
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-23</span></td>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">miami</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 94 - 100 (ot)</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">richard hamilton (27)</span></td>
146
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe (12)</span></td>
147
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (6)</span></td>
148
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">the palace of auburn hills 22076</span></td>
149
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25 - 46</span></td>
150
+ </tr>
151
+ <tr>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">72</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-25</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">cleveland</span></td>
155
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 91 - 97 (ot)</span></td>
156
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">richard hamilton , tayshaun prince (15)</span></td>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chris wilcox , greg monroe (8)</span></td>
158
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rodney stuckey (4)</span></td>
159
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">quicken loans arena 19907</span></td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25 - 47</span></td>
161
+ </tr>
162
+ <tr>
163
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">73</span></td>
164
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-03-26</span></td>
165
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">indiana</span></td>
166
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 100 - 88 (ot)</span></td>
167
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">richard hamilton (23)</span></td>
168
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg monroe (13)</span></td>
169
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">richard hamilton , rodney stuckey (6)</span></td>
170
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">the palace of auburn hills 19216</span></td>
171
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26 - 47</span></td>
172
+ </tr>
173
+ </table>
174
+ </div>
175
+ <hr/>
176
+ <div class="step">
177
+ <div class="step-title">Step 2: Select rows where the difference between the winning team's score and the losing team's score is greater than 10.</div>
178
+ <div class="content" id="step-0">
179
+ <table>
180
+ <tr>
181
+ <td>game</td>
182
+ <td>date</td>
183
+ <td>team</td>
184
+ <td>score</td>
185
+ <td>high_points</td>
186
+ <td>high_rebounds</td>
187
+ <td>high_assists</td>
188
+ <td>location_attendance</td>
189
+ <td>record</td>
190
+ </tr>
191
+ <tr>
192
+ <td>67</td>
193
+ <td>9999-03-12</td>
194
+ <td>denver</td>
195
+ <td>l 101 - 131 (ot)</td>
196
+ <td>chris wilcox (21)</td>
197
+ <td>austin daye , ben gordon , greg monroe (6)</td>
198
+ <td>will bynum (10)</td>
199
+ <td>pepsi center 19155</td>
200
+ <td>23 - 44</td>
201
+ </tr>
202
+ <tr>
203
+ <td>63</td>
204
+ <td>9999-03-02</td>
205
+ <td>minnesota</td>
206
+ <td>l 105 - 116 (ot)</td>
207
+ <td>austin daye (22)</td>
208
+ <td>greg monroe (11)</td>
209
+ <td>rodney stuckey (10)</td>
210
+ <td>the palace of auburn hills 13122</td>
211
+ <td>22 - 41</td>
212
+ </tr>
213
+ <tr>
214
+ <td>65</td>
215
+ <td>9999-03-09</td>
216
+ <td>san antonio</td>
217
+ <td>l 104 - 111 (ot)</td>
218
+ <td>richard hamilton (20)</td>
219
+ <td>greg monroe (10)</td>
220
+ <td>tracy mcgrady (9)</td>
221
+ <td>at&amp;t center 18581</td>
222
+ <td>23 - 42</td>
223
+ </tr>
224
+ <tr>
225
+ <td>66</td>
226
+ <td>9999-03-11</td>
227
+ <td>oklahoma city</td>
228
+ <td>l 94 - 104 (ot)</td>
229
+ <td>richard hamilton (20)</td>
230
+ <td>greg monroe (10)</td>
231
+ <td>greg monroe , rodney stuckey (6)</td>
232
+ <td>oklahoma city arena 18203</td>
233
+ <td>23 - 43</td>
234
+ </tr>
235
+ <tr>
236
+ <td>70</td>
237
+ <td>9999-03-20</td>
238
+ <td>atlanta</td>
239
+ <td>l 96 - 104 (ot)</td>
240
+ <td>rodney stuckey (22)</td>
241
+ <td>greg monroe (10)</td>
242
+ <td>rodney stuckey (8)</td>
243
+ <td>philips arena 17580</td>
244
+ <td>25 - 45</td>
245
+ </tr>
246
+ <tr>
247
+ <td>64</td>
248
+ <td>9999-03-06</td>
249
+ <td>washington</td>
250
+ <td>w 113 - 102 (ot)</td>
251
+ <td>tayshaun prince (20)</td>
252
+ <td>greg monroe , rodney stuckey (7)</td>
253
+ <td>rodney stuckey (9)</td>
254
+ <td>the palace of auburn hills 17506</td>
255
+ <td>23 - 41</td>
256
+ </tr>
257
+ <tr>
258
+ <td>71</td>
259
+ <td>9999-03-23</td>
260
+ <td>miami</td>
261
+ <td>l 94 - 100 (ot)</td>
262
+ <td>richard hamilton (27)</td>
263
+ <td>greg monroe (12)</td>
264
+ <td>rodney stuckey (6)</td>
265
+ <td>the palace of auburn hills 22076</td>
266
+ <td>25 - 46</td>
267
+ </tr>
268
+ <tr>
269
+ <td>72</td>
270
+ <td>9999-03-25</td>
271
+ <td>cleveland</td>
272
+ <td>l 91 - 97 (ot)</td>
273
+ <td>richard hamilton , tayshaun prince (15)</td>
274
+ <td>chris wilcox , greg monroe (8)</td>
275
+ <td>rodney stuckey (4)</td>
276
+ <td>quicken loans arena 19907</td>
277
+ <td>25 - 47</td>
278
+ </tr>
279
+ <tr>
280
+ <td>69</td>
281
+ <td>9999-03-18</td>
282
+ <td>new york</td>
283
+ <td>w 99 - 95 (ot)</td>
284
+ <td>tayshaun prince (16)</td>
285
+ <td>chris wilcox (12)</td>
286
+ <td>will bynum (5)</td>
287
+ <td>the palace of auburn hills 22076</td>
288
+ <td>25 - 44</td>
289
+ </tr>
290
+ <tr>
291
+ <td>68</td>
292
+ <td>9999-03-16</td>
293
+ <td>toronto</td>
294
+ <td>w 107 - 93 (ot)</td>
295
+ <td>richard hamilton (24)</td>
296
+ <td>greg monroe (10)</td>
297
+ <td>rodney stuckey (14)</td>
298
+ <td>the palace of auburn hills 15166</td>
299
+ <td>24 - 44</td>
300
+ </tr>
301
+ <tr>
302
+ <td>62</td>
303
+ <td>9999-03-01</td>
304
+ <td>milwaukee</td>
305
+ <td>l 90 - 92 (ot)</td>
306
+ <td>rodney stuckey (25)</td>
307
+ <td>greg monroe , charlie villanueva (9)</td>
308
+ <td>rodney stuckey (5)</td>
309
+ <td>bradley center 11364</td>
310
+ <td>22 - 40</td>
311
+ </tr>
312
+ <tr>
313
+ <td>73</td>
314
+ <td>9999-03-26</td>
315
+ <td>indiana</td>
316
+ <td>w 100 - 88 (ot)</td>
317
+ <td>richard hamilton (23)</td>
318
+ <td>greg monroe (13)</td>
319
+ <td>richard hamilton , rodney stuckey (6)</td>
320
+ <td>the palace of auburn hills 19216</td>
321
+ <td>26 - 47</td>
322
+ </tr>
323
+ </table>
324
+ </div>
325
+ </div>
326
+ <hr/>
327
+ <div class="step">
328
+ <div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 3, otherwise return FALSE.</div>
329
+ <div class="content" id="step-1">
330
+ <table>
331
+ <tr>
332
+ <td>game</td>
333
+ <td>date</td>
334
+ <td>team</td>
335
+ <td>score</td>
336
+ <td>high_points</td>
337
+ <td>high_rebounds</td>
338
+ <td>high_assists</td>
339
+ <td>location_attendance</td>
340
+ <td>record</td>
341
+ </tr>
342
+ </table>
343
+ </div>
344
+ </div>
345
+ <hr/>
346
+
347
+ </div>
348
+ </div>
349
+ <hr/>
350
+ </body></html>
htmls_POS_mod2/FN/test-1159.html ADDED
@@ -0,0 +1,255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> there were four instances where there was a tie for most rebounds by detroit pistons players during this period of the 2010 - 2011 season</h3>
24
+ <h3>Input Table: 2010 - 11 detroit pistons season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'team' is 'detroit pistons'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>game</td>
32
+ <td>date</td>
33
+ <td>team</td>
34
+ <td>score</td>
35
+ <td>high_points</td>
36
+ <td>high_rebounds</td>
37
+ <td>high_assists</td>
38
+ <td>location_attendance</td>
39
+ <td>record</td>
40
+ </tr>
41
+ <tr>
42
+ <td>62</td>
43
+ <td>9999-03-01</td>
44
+ <td>milwaukee</td>
45
+ <td>l 90 - 92 (ot)</td>
46
+ <td>rodney stuckey (25)</td>
47
+ <td>greg monroe , charlie villanueva (9)</td>
48
+ <td>rodney stuckey (5)</td>
49
+ <td>bradley center 11364</td>
50
+ <td>22 - 40</td>
51
+ </tr>
52
+ <tr>
53
+ <td>63</td>
54
+ <td>9999-03-02</td>
55
+ <td>minnesota</td>
56
+ <td>l 105 - 116 (ot)</td>
57
+ <td>austin daye (22)</td>
58
+ <td>greg monroe (11)</td>
59
+ <td>rodney stuckey (10)</td>
60
+ <td>the palace of auburn hills 13122</td>
61
+ <td>22 - 41</td>
62
+ </tr>
63
+ <tr>
64
+ <td>64</td>
65
+ <td>9999-03-06</td>
66
+ <td>washington</td>
67
+ <td>w 113 - 102 (ot)</td>
68
+ <td>tayshaun prince (20)</td>
69
+ <td>greg monroe , rodney stuckey (7)</td>
70
+ <td>rodney stuckey (9)</td>
71
+ <td>the palace of auburn hills 17506</td>
72
+ <td>23 - 41</td>
73
+ </tr>
74
+ <tr>
75
+ <td>65</td>
76
+ <td>9999-03-09</td>
77
+ <td>san antonio</td>
78
+ <td>l 104 - 111 (ot)</td>
79
+ <td>richard hamilton (20)</td>
80
+ <td>greg monroe (10)</td>
81
+ <td>tracy mcgrady (9)</td>
82
+ <td>at&amp;t center 18581</td>
83
+ <td>23 - 42</td>
84
+ </tr>
85
+ <tr>
86
+ <td>66</td>
87
+ <td>9999-03-11</td>
88
+ <td>oklahoma city</td>
89
+ <td>l 94 - 104 (ot)</td>
90
+ <td>richard hamilton (20)</td>
91
+ <td>greg monroe (10)</td>
92
+ <td>greg monroe , rodney stuckey (6)</td>
93
+ <td>oklahoma city arena 18203</td>
94
+ <td>23 - 43</td>
95
+ </tr>
96
+ <tr>
97
+ <td>67</td>
98
+ <td>9999-03-12</td>
99
+ <td>denver</td>
100
+ <td>l 101 - 131 (ot)</td>
101
+ <td>chris wilcox (21)</td>
102
+ <td>austin daye , ben gordon , greg monroe (6)</td>
103
+ <td>will bynum (10)</td>
104
+ <td>pepsi center 19155</td>
105
+ <td>23 - 44</td>
106
+ </tr>
107
+ <tr>
108
+ <td>68</td>
109
+ <td>9999-03-16</td>
110
+ <td>toronto</td>
111
+ <td>w 107 - 93 (ot)</td>
112
+ <td>richard hamilton (24)</td>
113
+ <td>greg monroe (10)</td>
114
+ <td>rodney stuckey (14)</td>
115
+ <td>the palace of auburn hills 15166</td>
116
+ <td>24 - 44</td>
117
+ </tr>
118
+ <tr>
119
+ <td>69</td>
120
+ <td>9999-03-18</td>
121
+ <td>new york</td>
122
+ <td>w 99 - 95 (ot)</td>
123
+ <td>tayshaun prince (16)</td>
124
+ <td>chris wilcox (12)</td>
125
+ <td>will bynum (5)</td>
126
+ <td>the palace of auburn hills 22076</td>
127
+ <td>25 - 44</td>
128
+ </tr>
129
+ <tr>
130
+ <td>70</td>
131
+ <td>9999-03-20</td>
132
+ <td>atlanta</td>
133
+ <td>l 96 - 104 (ot)</td>
134
+ <td>rodney stuckey (22)</td>
135
+ <td>greg monroe (10)</td>
136
+ <td>rodney stuckey (8)</td>
137
+ <td>philips arena 17580</td>
138
+ <td>25 - 45</td>
139
+ </tr>
140
+ <tr>
141
+ <td>71</td>
142
+ <td>9999-03-23</td>
143
+ <td>miami</td>
144
+ <td>l 94 - 100 (ot)</td>
145
+ <td>richard hamilton (27)</td>
146
+ <td>greg monroe (12)</td>
147
+ <td>rodney stuckey (6)</td>
148
+ <td>the palace of auburn hills 22076</td>
149
+ <td>25 - 46</td>
150
+ </tr>
151
+ <tr>
152
+ <td>72</td>
153
+ <td>9999-03-25</td>
154
+ <td>cleveland</td>
155
+ <td>l 91 - 97 (ot)</td>
156
+ <td>richard hamilton , tayshaun prince (15)</td>
157
+ <td>chris wilcox , greg monroe (8)</td>
158
+ <td>rodney stuckey (4)</td>
159
+ <td>quicken loans arena 19907</td>
160
+ <td>25 - 47</td>
161
+ </tr>
162
+ <tr>
163
+ <td>73</td>
164
+ <td>9999-03-26</td>
165
+ <td>indiana</td>
166
+ <td>w 100 - 88 (ot)</td>
167
+ <td>richard hamilton (23)</td>
168
+ <td>greg monroe (13)</td>
169
+ <td>richard hamilton , rodney stuckey (6)</td>
170
+ <td>the palace of auburn hills 19216</td>
171
+ <td>26 - 47</td>
172
+ </tr>
173
+ </table>
174
+ </div>
175
+ <hr/>
176
+ <div class="step">
177
+ <div class="step-title">Step 2: Select rows where 'high_rebounds' is not null.</div>
178
+ <div class="content" id="step-0">
179
+ <table>
180
+ <tr>
181
+ <td>game</td>
182
+ <td>date</td>
183
+ <td>team</td>
184
+ <td>score</td>
185
+ <td>high_points</td>
186
+ <td>high_rebounds</td>
187
+ <td>high_assists</td>
188
+ <td>location_attendance</td>
189
+ <td>record</td>
190
+ </tr>
191
+ </table>
192
+ </div>
193
+ </div>
194
+ <hr/>
195
+ <div class="step">
196
+ <div class="step-title">Step 3: Group the table by 'date' and 'high_rebounds'.</div>
197
+ <div class="content" id="step-1">
198
+ <table>
199
+ <tr>
200
+ <td>game</td>
201
+ <td>date</td>
202
+ <td>team</td>
203
+ <td>score</td>
204
+ <td>high_points</td>
205
+ <td>high_rebounds</td>
206
+ <td>high_assists</td>
207
+ <td>location_attendance</td>
208
+ <td>record</td>
209
+ </tr>
210
+ </table>
211
+ </div>
212
+ </div>
213
+ <hr/>
214
+ <div class="step">
215
+ <div class="step-title">Step 4: Count the number of unique 'high_rebounds' for each 'date' group.</div>
216
+ <div class="content" id="step-2">
217
+ <table>
218
+ <tr>
219
+ <td>date</td>
220
+ <td>high_rebounds</td>
221
+ <td>count</td>
222
+ </tr>
223
+ </table>
224
+ </div>
225
+ </div>
226
+ <hr/>
227
+ <div class="step">
228
+ <div class="step-title">Step 5: Select rows where the count of unique 'high_rebounds' is greater than 1.</div>
229
+ <div class="content" id="step-3">
230
+ <table>
231
+ <tr>
232
+ <td>date</td>
233
+ <td>unique_high_rebounds</td>
234
+ </tr>
235
+ </table>
236
+ </div>
237
+ </div>
238
+ <hr/>
239
+ <div class="step">
240
+ <div class="step-title">Step 6: Use a `CASE` statement to return TRUE if the number of rows is equal to 4, otherwise return FALSE.</div>
241
+ <div class="content" id="step-4">
242
+ <table>
243
+ <tr>
244
+ <td>date</td>
245
+ <td>unique_high_rebounds</td>
246
+ </tr>
247
+ </table>
248
+ </div>
249
+ </div>
250
+ <hr/>
251
+
252
+ </div>
253
+ </div>
254
+ <hr/>
255
+ </body></html>
htmls_POS_mod2/FN/test-1165.html ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> toronto lost to cleveland on november 24 , 108 - 111 (ot)</h3>
24
+ <h3>Input Table: 2007 - 08 toronto raptors season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'team' is 'cleveland'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>game</td>
32
+ <td>date</td>
33
+ <td>team</td>
34
+ <td>score</td>
35
+ <td>high_points</td>
36
+ <td>high_rebounds</td>
37
+ <td>high_assists</td>
38
+ <td>location_attendance</td>
39
+ <td>record</td>
40
+ </tr>
41
+ <tr>
42
+ <td>2</td>
43
+ <td>9999-11-02</td>
44
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">new jersey</span></td>
45
+ <td>w 106 - 69 (ot)</td>
46
+ <td>andrea bargnani (21)</td>
47
+ <td>andrea bargnani , carlos delfino (6)</td>
48
+ <td>josé calderón (8)</td>
49
+ <td>izod center 14980</td>
50
+ <td>2 - 0</td>
51
+ </tr>
52
+ <tr>
53
+ <td>3</td>
54
+ <td>9999-11-04</td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">boston</span></td>
56
+ <td>l 95 - 98 (ot)</td>
57
+ <td>t j ford (32)</td>
58
+ <td>chris bosh (10)</td>
59
+ <td>t j ford (5)</td>
60
+ <td>air canada centre 19800</td>
61
+ <td>2 - 1</td>
62
+ </tr>
63
+ <tr>
64
+ <td>4</td>
65
+ <td>9999-11-06</td>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">milwaukee</span></td>
67
+ <td>l 85 - 112 (ot)</td>
68
+ <td>juan dixon (20)</td>
69
+ <td>kris humphries (9)</td>
70
+ <td>josé calderón (8)</td>
71
+ <td>bradley center 13495</td>
72
+ <td>2 - 2</td>
73
+ </tr>
74
+ <tr>
75
+ <td>5</td>
76
+ <td>9999-11-07</td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">orlando</span></td>
78
+ <td>l 96 - 105 (ot)</td>
79
+ <td>chris bosh (26)</td>
80
+ <td>chris bosh (10)</td>
81
+ <td>t j ford (8)</td>
82
+ <td>air canada centre 17977</td>
83
+ <td>2 - 3</td>
84
+ </tr>
85
+ <tr>
86
+ <td>6</td>
87
+ <td>9999-11-09</td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">philadelphia</span></td>
89
+ <td>w 105 - 103 (ot)</td>
90
+ <td>chris bosh (24)</td>
91
+ <td>chris bosh (10)</td>
92
+ <td>josé calderón (7)</td>
93
+ <td>wachovia center 10886</td>
94
+ <td>3 - 3</td>
95
+ </tr>
96
+ <tr>
97
+ <td>7</td>
98
+ <td>9999-11-10</td>
99
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chicago</span></td>
100
+ <td>w 101 - 71 (ot)</td>
101
+ <td>carlos delfino (16)</td>
102
+ <td>radoslav nesterović (8)</td>
103
+ <td>t j ford (14)</td>
104
+ <td>united center 22467</td>
105
+ <td>4 - 3</td>
106
+ </tr>
107
+ <tr>
108
+ <td>8</td>
109
+ <td>9999-11-14</td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">utah</span></td>
111
+ <td>l 88 - 92 (ot)</td>
112
+ <td>anthony parker (19)</td>
113
+ <td>kris humphries (14)</td>
114
+ <td>t j ford (8)</td>
115
+ <td>air canada centre 17337</td>
116
+ <td>4 - 4</td>
117
+ </tr>
118
+ <tr>
119
+ <td>9</td>
120
+ <td>9999-11-16</td>
121
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">indiana</span></td>
122
+ <td>w 110 - 101 (ot)</td>
123
+ <td>chris bosh (22)</td>
124
+ <td>jamario moon (7)</td>
125
+ <td>josé calderón (10)</td>
126
+ <td>air canada centre 19800</td>
127
+ <td>5 - 4</td>
128
+ </tr>
129
+ <tr>
130
+ <td>10</td>
131
+ <td>9999-11-18</td>
132
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">golden state</span></td>
133
+ <td>l 100 - 106 (ot)</td>
134
+ <td>t j ford (29)</td>
135
+ <td>chris bosh (11)</td>
136
+ <td>t j ford (9)</td>
137
+ <td>air canada centre 19800</td>
138
+ <td>5 - 5</td>
139
+ </tr>
140
+ <tr>
141
+ <td>11</td>
142
+ <td>9999-11-20</td>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">dallas</span></td>
144
+ <td>l 99 - 105 (ot)</td>
145
+ <td>chris bosh (31)</td>
146
+ <td>chris bosh , jamario moon (12)</td>
147
+ <td>josé calderón (6)</td>
148
+ <td>american airlines center 20272</td>
149
+ <td>5 - 6</td>
150
+ </tr>
151
+ <tr>
152
+ <td>12</td>
153
+ <td>9999-11-21</td>
154
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">memphis</span></td>
155
+ <td>w 95 - 89 (ot)</td>
156
+ <td>chris bosh (22)</td>
157
+ <td>chris bosh (19)</td>
158
+ <td>josé calderón (8)</td>
159
+ <td>fedexforum 12217</td>
160
+ <td>6 - 6</td>
161
+ </tr>
162
+ <tr>
163
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13</span></td>
164
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-24</span></td>
165
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">cleveland</span></td>
166
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 108 - 111 (ot)</span></td>
167
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chris bosh (41)</span></td>
168
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">anthony parker (7)</span></td>
169
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">josé calderón (13)</span></td>
170
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">quicken loans arena 20018</span></td>
171
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6 - 7</span></td>
172
+ </tr>
173
+ <tr>
174
+ <td>14</td>
175
+ <td>9999-11-25</td>
176
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chicago</span></td>
177
+ <td>w 93 - 78 (ot)</td>
178
+ <td>josé calderón (19)</td>
179
+ <td>chris bosh (13)</td>
180
+ <td>josé calderón (14)</td>
181
+ <td>air canada centre 19800</td>
182
+ <td>7 - 7</td>
183
+ </tr>
184
+ <tr>
185
+ <td>15</td>
186
+ <td>9999-11-28</td>
187
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">memphis</span></td>
188
+ <td>w 103 - 91 (ot)</td>
189
+ <td>anthony parker (19)</td>
190
+ <td>jamario moon , anthony parker (8)</td>
191
+ <td>josé calderón (10)</td>
192
+ <td>air canada centre 18906</td>
193
+ <td>8 - 7</td>
194
+ </tr>
195
+ </table>
196
+ </div>
197
+ <hr/>
198
+ <div class="step">
199
+ <div class="step-title">Step 2: Select rows where 'date' is '9999-11-24'.</div>
200
+ <div class="content" id="step-0">
201
+ <table>
202
+ <tr>
203
+ <td>game</td>
204
+ <td>date</td>
205
+ <td>team</td>
206
+ <td>score</td>
207
+ <td>high_points</td>
208
+ <td>high_rebounds</td>
209
+ <td>high_assists</td>
210
+ <td>location_attendance</td>
211
+ <td>record</td>
212
+ </tr>
213
+ <tr>
214
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13</span></td>
215
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-11-24</span></td>
216
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">cleveland</span></td>
217
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 108 - 111 (ot)</span></td>
218
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chris bosh (41)</span></td>
219
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">anthony parker (7)</span></td>
220
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">josé calderón (13)</span></td>
221
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">quicken loans arena 20018</span></td>
222
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6 - 7</span></td>
223
+ </tr>
224
+ </table>
225
+ </div>
226
+ </div>
227
+ <hr/>
228
+ <div class="step">
229
+ <div class="step-title">Step 3: Select rows where 'score' is '108 - 111 (ot)'.</div>
230
+ <div class="content" id="step-1">
231
+ <table>
232
+ <tr>
233
+ <td>game</td>
234
+ <td>date</td>
235
+ <td>team</td>
236
+ <td>score</td>
237
+ <td>high_points</td>
238
+ <td>high_rebounds</td>
239
+ <td>high_assists</td>
240
+ <td>location_attendance</td>
241
+ <td>record</td>
242
+ </tr>
243
+ <tr>
244
+ <td>13</td>
245
+ <td>9999-11-24</td>
246
+ <td>cleveland</td>
247
+ <td>l 108 - 111 (ot)</td>
248
+ <td>chris bosh (41)</td>
249
+ <td>anthony parker (7)</td>
250
+ <td>josé calderón (13)</td>
251
+ <td>quicken loans arena 20018</td>
252
+ <td>6 - 7</td>
253
+ </tr>
254
+ </table>
255
+ </div>
256
+ </div>
257
+ <hr/>
258
+ <div class="step">
259
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
260
+ <div class="content" id="step-2">
261
+ <table>
262
+ <tr>
263
+ <td>game</td>
264
+ <td>date</td>
265
+ <td>team</td>
266
+ <td>score</td>
267
+ <td>high_points</td>
268
+ <td>high_rebounds</td>
269
+ <td>high_assists</td>
270
+ <td>location_attendance</td>
271
+ <td>record</td>
272
+ </tr>
273
+ </table>
274
+ </div>
275
+ </div>
276
+ <hr/>
277
+
278
+ </div>
279
+ </div>
280
+ <hr/>
281
+ </body></html>
htmls_POS_mod2/FN/test-1167.html ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the game on april 29 , 2012 had opponent as giles simon and the outcome was runner - up</h3>
24
+ <h3>Input Table: fabio fognini</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where the 'date' is '2012-04-29'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>outcome</td>
32
+ <td>date</td>
33
+ <td>tournament</td>
34
+ <td>surface</td>
35
+ <td>opponent_in_the_final</td>
36
+ <td>score_in_the_final</td>
37
+ </tr>
38
+ <tr>
39
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">runner - up</span></td>
40
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2012-04-29</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">brd năstase ţiriac trophy , bucharest , romania</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">clay</span></td>
43
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gilles simon</span></td>
44
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4 - 6 , 3 - 6</span></td>
45
+ </tr>
46
+ <tr>
47
+ <td>runner - up</td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2012-09-23</span></td>
49
+ <td>st petersburg open , st petersburg , russia</td>
50
+ <td>hard (i)</td>
51
+ <td>martin kližan</td>
52
+ <td>2 - 6 , 3 - 6</td>
53
+ </tr>
54
+ <tr>
55
+ <td>winner</td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2013-07-14</span></td>
57
+ <td>stuttgart open , stuttgart , germany</td>
58
+ <td>clay</td>
59
+ <td>philipp kohlschreiber</td>
60
+ <td>5 - 7 , 6 - 4 , 6 - 4</td>
61
+ </tr>
62
+ <tr>
63
+ <td>winner</td>
64
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2013-07-21</span></td>
65
+ <td>international german open , hamburg , germany</td>
66
+ <td>clay</td>
67
+ <td>federico delbonis</td>
68
+ <td>4 - 6 , 7 - 6 (10 - 8) , 6 - 2</td>
69
+ </tr>
70
+ <tr>
71
+ <td>runner - up</td>
72
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2013-07-28</span></td>
73
+ <td>atp vegeta croatia open umag , umag , croatia</td>
74
+ <td>clay</td>
75
+ <td>tommy robredo</td>
76
+ <td>0 - 6 , 3 - 6</td>
77
+ </tr>
78
+ </table>
79
+ </div>
80
+ <hr/>
81
+ <div class="step">
82
+ <div class="step-title">Step 2: Select rows where the 'opponent_in_the_final' is 'gilles simon'.</div>
83
+ <div class="content" id="step-0">
84
+ <table>
85
+ <tr>
86
+ <td>outcome</td>
87
+ <td>date</td>
88
+ <td>tournament</td>
89
+ <td>surface</td>
90
+ <td>opponent_in_the_final</td>
91
+ <td>score_in_the_final</td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">runner - up</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2012-04-29</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">brd năstase ţiriac trophy , bucharest , romania</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">clay</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">gilles simon</span></td>
99
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4 - 6 , 3 - 6</span></td>
100
+ </tr>
101
+ </table>
102
+ </div>
103
+ </div>
104
+ <hr/>
105
+ <div class="step">
106
+ <div class="step-title">Step 3: Select rows where the 'outcome' is 'runner-up'.</div>
107
+ <div class="content" id="step-1">
108
+ <table>
109
+ <tr>
110
+ <td>outcome</td>
111
+ <td>date</td>
112
+ <td>tournament</td>
113
+ <td>surface</td>
114
+ <td>opponent_in_the_final</td>
115
+ <td>score_in_the_final</td>
116
+ </tr>
117
+ <tr>
118
+ <td>runner - up</td>
119
+ <td>2012-04-29</td>
120
+ <td>brd năstase ţiriac trophy , bucharest , romania</td>
121
+ <td>clay</td>
122
+ <td>gilles simon</td>
123
+ <td>4 - 6 , 3 - 6</td>
124
+ </tr>
125
+ </table>
126
+ </div>
127
+ </div>
128
+ <hr/>
129
+ <div class="step">
130
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
131
+ <div class="content" id="step-2">
132
+ <table>
133
+ <tr>
134
+ <td>outcome</td>
135
+ <td>date</td>
136
+ <td>tournament</td>
137
+ <td>surface</td>
138
+ <td>opponent_in_the_final</td>
139
+ <td>score_in_the_final</td>
140
+ </tr>
141
+ </table>
142
+ </div>
143
+ </div>
144
+ <hr/>
145
+
146
+ </div>
147
+ </div>
148
+ <hr/>
149
+ </body></html>
htmls_POS_mod2/FN/test-117.html ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> four of the competitions out of ten were world wide championships</h3>
24
+ <h3>Input Table: lukáš melich</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where the 'competition' contains the word "world championships".</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>year</td>
32
+ <td>competition</td>
33
+ <td>venue</td>
34
+ <td>position</td>
35
+ <td>notes</td>
36
+ </tr>
37
+ <tr>
38
+ <td>1998-01-01</td>
39
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">world junior championships</span></td>
40
+ <td>annecy , france</td>
41
+ <td>10th</td>
42
+ <td>61.51 m</td>
43
+ </tr>
44
+ <tr>
45
+ <td>1999-01-01</td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">european junior championships</span></td>
47
+ <td>riga , latvia</td>
48
+ <td>5th</td>
49
+ <td>64.20 m</td>
50
+ </tr>
51
+ <tr>
52
+ <td>2001-01-01</td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">european u23 championships</span></td>
54
+ <td>amsterdam , netherlands</td>
55
+ <td>11th</td>
56
+ <td>66.41 m</td>
57
+ </tr>
58
+ <tr>
59
+ <td>2003-01-01</td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">universiade</span></td>
61
+ <td>daegu , south korea</td>
62
+ <td>4th</td>
63
+ <td>71.26 m</td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005-01-01</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">world championships</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">helsinki , finland</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14th</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">74.53 m</span></td>
71
+ </tr>
72
+ <tr>
73
+ <td>2006-01-01</td>
74
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">european championships</span></td>
75
+ <td>gothenburg , sweden</td>
76
+ <td>15th</td>
77
+ <td>73.77 m</td>
78
+ </tr>
79
+ <tr>
80
+ <td>2008-01-01</td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">olympic games</span></td>
82
+ <td>beijing , pr china</td>
83
+ <td>29th</td>
84
+ <td>70.56 m</td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009-01-01</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">world championships</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">berlin , germany</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14th</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">74.47 m</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td>2012-01-01</td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">olympic games</span></td>
96
+ <td>london , great britain</td>
97
+ <td>6th</td>
98
+ <td>77.17 m</td>
99
+ </tr>
100
+ <tr>
101
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2013-01-01</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">world championships</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">moscow , russia</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3rd</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">79.36 m</span></td>
106
+ </tr>
107
+ </table>
108
+ </div>
109
+ <hr/>
110
+ <div class="step">
111
+ <div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is equal to 4, otherwise return FALSE.</div>
112
+ <div class="content" id="step-0">
113
+ <table>
114
+ <tr>
115
+ <td>year</td>
116
+ <td>competition</td>
117
+ <td>venue</td>
118
+ <td>position</td>
119
+ <td>notes</td>
120
+ </tr>
121
+ <tr>
122
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2005-01-01</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">world championships</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">helsinki , finland</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">14th</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">74.53 m</span></td>
127
+ </tr>
128
+ <tr>
129
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2009-01-01</span></td>
130
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">world championships</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">berlin , germany</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">14th</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">74.47 m</span></td>
134
+ </tr>
135
+ <tr>
136
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2013-01-01</span></td>
137
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">world championships</span></td>
138
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">moscow , russia</span></td>
139
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3rd</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">79.36 m</span></td>
141
+ </tr>
142
+ </table>
143
+ </div>
144
+ </div>
145
+ <hr/>
146
+
147
+ </div>
148
+ </div>
149
+ <hr/>
150
+ </body></html>
htmls_POS_mod2/FN/test-118.html ADDED
@@ -0,0 +1,274 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> in lukáš melich 's last two competitions he threw an average distance of 78.27 m</h3>
24
+ <h3>Input Table: lukáš melich</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by 'year' in descending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>year</td>
32
+ <td>competition</td>
33
+ <td>venue</td>
34
+ <td>position</td>
35
+ <td>notes</td>
36
+ </tr>
37
+ <tr>
38
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1998-01-01</span></td>
39
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">world junior championships</span></td>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">annecy , france</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10th</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">61.51 m</span></td>
43
+ </tr>
44
+ <tr>
45
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1999-01-01</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">european junior championships</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">riga , latvia</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5th</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">64.20 m</span></td>
50
+ </tr>
51
+ <tr>
52
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2001-01-01</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">european u23 championships</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">amsterdam , netherlands</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11th</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">66.41 m</span></td>
57
+ </tr>
58
+ <tr>
59
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2003-01-01</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">universiade</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">daegu , south korea</span></td>
62
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4th</span></td>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">71.26 m</span></td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2005-01-01</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">world championships</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">helsinki , finland</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14th</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">74.53 m</span></td>
71
+ </tr>
72
+ <tr>
73
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2006-01-01</span></td>
74
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">european championships</span></td>
75
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gothenburg , sweden</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15th</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">73.77 m</span></td>
78
+ </tr>
79
+ <tr>
80
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2008-01-01</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">olympic games</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">beijing , pr china</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29th</span></td>
84
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">70.56 m</span></td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2009-01-01</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">world championships</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">berlin , germany</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14th</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">74.47 m</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2012-01-01</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">olympic games</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">london , great britain</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6th</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">77.17 m</span></td>
99
+ </tr>
100
+ <tr>
101
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2013-01-01</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">world championships</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">moscow , russia</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3rd</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">79.36 m</span></td>
106
+ </tr>
107
+ </table>
108
+ </div>
109
+ <hr/>
110
+ <div class="step">
111
+ <div class="step-title">Step 2: Select the last two rows from the ordered table.</div>
112
+ <div class="content" id="step-0">
113
+ <table>
114
+ <tr>
115
+ <td>year</td>
116
+ <td>competition</td>
117
+ <td>venue</td>
118
+ <td>position</td>
119
+ <td>notes</td>
120
+ </tr>
121
+ <tr>
122
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2013-01-01</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">world championships</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">moscow , russia</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3rd</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">79.36 m</span></td>
127
+ </tr>
128
+ <tr>
129
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2012-01-01</span></td>
130
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">olympic games</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">london , great britain</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6th</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">77.17 m</span></td>
134
+ </tr>
135
+ <tr>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009-01-01</span></td>
137
+ <td>world championships</td>
138
+ <td>berlin , germany</td>
139
+ <td>14th</td>
140
+ <td>74.47 m</td>
141
+ </tr>
142
+ <tr>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-01-01</span></td>
144
+ <td>olympic games</td>
145
+ <td>beijing , pr china</td>
146
+ <td>29th</td>
147
+ <td>70.56 m</td>
148
+ </tr>
149
+ <tr>
150
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2006-01-01</span></td>
151
+ <td>european championships</td>
152
+ <td>gothenburg , sweden</td>
153
+ <td>15th</td>
154
+ <td>73.77 m</td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005-01-01</span></td>
158
+ <td>world championships</td>
159
+ <td>helsinki , finland</td>
160
+ <td>14th</td>
161
+ <td>74.53 m</td>
162
+ </tr>
163
+ <tr>
164
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2003-01-01</span></td>
165
+ <td>universiade</td>
166
+ <td>daegu , south korea</td>
167
+ <td>4th</td>
168
+ <td>71.26 m</td>
169
+ </tr>
170
+ <tr>
171
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2001-01-01</span></td>
172
+ <td>european u23 championships</td>
173
+ <td>amsterdam , netherlands</td>
174
+ <td>11th</td>
175
+ <td>66.41 m</td>
176
+ </tr>
177
+ <tr>
178
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1999-01-01</span></td>
179
+ <td>european junior championships</td>
180
+ <td>riga , latvia</td>
181
+ <td>5th</td>
182
+ <td>64.20 m</td>
183
+ </tr>
184
+ <tr>
185
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1998-01-01</span></td>
186
+ <td>world junior championships</td>
187
+ <td>annecy , france</td>
188
+ <td>10th</td>
189
+ <td>61.51 m</td>
190
+ </tr>
191
+ </table>
192
+ </div>
193
+ </div>
194
+ <hr/>
195
+ <div class="step">
196
+ <div class="step-title">Step 3: Extract the numerical distance from the 'notes' column then add column 'distance' to the selected rows.</div>
197
+ <div class="content" id="step-1">
198
+ <table>
199
+ <tr>
200
+ <td>year</td>
201
+ <td>competition</td>
202
+ <td>venue</td>
203
+ <td>position</td>
204
+ <td>notes</td>
205
+ </tr>
206
+ <tr>
207
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2013-01-01</span></td>
208
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">world championships</span></td>
209
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">moscow , russia</span></td>
210
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3rd</span></td>
211
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">79.36 m</span></td>
212
+ </tr>
213
+ <tr>
214
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2012-01-01</span></td>
215
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">olympic games</span></td>
216
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">london , great britain</span></td>
217
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6th</span></td>
218
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">77.17 m</span></td>
219
+ </tr>
220
+ </table>
221
+ </div>
222
+ </div>
223
+ <hr/>
224
+ <div class="step">
225
+ <div class="step-title">Step 4: Calculate the average distance of the selected rows.</div>
226
+ <div class="content" id="step-2">
227
+ <table>
228
+ <tr>
229
+ <td>year</td>
230
+ <td>competition</td>
231
+ <td>venue</td>
232
+ <td>position</td>
233
+ <td>notes</td>
234
+ <td>distance</td>
235
+ </tr>
236
+ <tr>
237
+ <td>2013-01-01</td>
238
+ <td>world championships</td>
239
+ <td>moscow , russia</td>
240
+ <td>3rd</td>
241
+ <td>79.36 m</td>
242
+ <td>79.36</td>
243
+ </tr>
244
+ <tr>
245
+ <td>2012-01-01</td>
246
+ <td>olympic games</td>
247
+ <td>london , great britain</td>
248
+ <td>6th</td>
249
+ <td>77.17 m</td>
250
+ <td>77.17</td>
251
+ </tr>
252
+ </table>
253
+ </div>
254
+ </div>
255
+ <hr/>
256
+ <div class="step">
257
+ <div class="step-title">Step 5: Use a `CASE` statement to return TRUE if the average distance is equal to 78.27 m, otherwise return FALSE.</div>
258
+ <div class="content" id="step-3">
259
+ <table>
260
+ <tr>
261
+ <td>avg_distance</td>
262
+ </tr>
263
+ <tr>
264
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">78.265</span></td>
265
+ </tr>
266
+ </table>
267
+ </div>
268
+ </div>
269
+ <hr/>
270
+
271
+ </div>
272
+ </div>
273
+ <hr/>
274
+ </body></html>
htmls_POS_mod2/FN/test-1188.html ADDED
@@ -0,0 +1,227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> alfredo binda won six races of the 1933 giro d'italia , but he was the race leader for 13 races</h3>
24
+ <h3>Input Table: 1933 giro d'italia</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'winner' is 'alfredo binda'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>date</td>
32
+ <td>course</td>
33
+ <td>distance</td>
34
+ <td>winner</td>
35
+ <td>race_leader</td>
36
+ </tr>
37
+ <tr>
38
+ <td>9999-05-06</td>
39
+ <td>milan to turin</td>
40
+ <td>-</td>
41
+ <td>learco guerra ( ita )</td>
42
+ <td>learco guerra ( ita )</td>
43
+ </tr>
44
+ <tr>
45
+ <td>9999-05-07</td>
46
+ <td>turin to genoa</td>
47
+ <td>-</td>
48
+ <td>alfredo binda ( ita )</td>
49
+ <td>alfredo binda ( ita )</td>
50
+ </tr>
51
+ <tr>
52
+ <td>9999-05-08</td>
53
+ <td>genoa to pisa</td>
54
+ <td>-</td>
55
+ <td>learco guerra ( ita )</td>
56
+ <td>alfredo binda ( ita )</td>
57
+ </tr>
58
+ <tr>
59
+ <td>9999-05-09</td>
60
+ <td>rest day</td>
61
+ <td>rest day</td>
62
+ <td>rest day</td>
63
+ <td>rest day</td>
64
+ </tr>
65
+ <tr>
66
+ <td>9999-05-10</td>
67
+ <td>pisa to florence</td>
68
+ <td>-</td>
69
+ <td>giuseppe olmo ( ita )</td>
70
+ <td>alfredo binda ( ita )</td>
71
+ </tr>
72
+ <tr>
73
+ <td>9999-05-11</td>
74
+ <td>florence to grosseto</td>
75
+ <td>-</td>
76
+ <td>learco guerra ( ita )</td>
77
+ <td>jef demuysere ( bel )</td>
78
+ </tr>
79
+ <tr>
80
+ <td>9999-05-12</td>
81
+ <td>grosseto to rome</td>
82
+ <td>-</td>
83
+ <td>mario cipriani ( ita )</td>
84
+ <td>jef demuysere ( bel )</td>
85
+ </tr>
86
+ <tr>
87
+ <td>9999-05-13</td>
88
+ <td>rest day</td>
89
+ <td>rest day</td>
90
+ <td>rest day</td>
91
+ <td>rest day</td>
92
+ </tr>
93
+ <tr>
94
+ <td>9999-05-14</td>
95
+ <td>rome to naples</td>
96
+ <td>-</td>
97
+ <td>gerard loncke ( bel )</td>
98
+ <td>jef demuysere ( bel )</td>
99
+ </tr>
100
+ <tr>
101
+ <td>9999-05-15</td>
102
+ <td>naples to foggia</td>
103
+ <td>-</td>
104
+ <td>alfredo binda ( ita )</td>
105
+ <td>alfredo binda ( ita )</td>
106
+ </tr>
107
+ <tr>
108
+ <td>9999-05-16</td>
109
+ <td>rest day</td>
110
+ <td>rest day</td>
111
+ <td>rest day</td>
112
+ <td>rest day</td>
113
+ </tr>
114
+ <tr>
115
+ <td>9999-05-17</td>
116
+ <td>foggia to chieti</td>
117
+ <td>-</td>
118
+ <td>alfredo binda ( ita )</td>
119
+ <td>alfredo binda ( ita )</td>
120
+ </tr>
121
+ <tr>
122
+ <td>9999-05-18</td>
123
+ <td>chieti to ascoli piceno</td>
124
+ <td>-</td>
125
+ <td>alfredo binda ( ita )</td>
126
+ <td>alfredo binda ( ita )</td>
127
+ </tr>
128
+ <tr>
129
+ <td>9999-05-19</td>
130
+ <td>rest day</td>
131
+ <td>rest day</td>
132
+ <td>rest day</td>
133
+ <td>rest day</td>
134
+ </tr>
135
+ <tr>
136
+ <td>9999-05-20</td>
137
+ <td>ascoli piceno to riccione</td>
138
+ <td>-</td>
139
+ <td>fernand cornez ( fra )</td>
140
+ <td>alfredo binda ( ita )</td>
141
+ </tr>
142
+ <tr>
143
+ <td>9999-05-21</td>
144
+ <td>riccione to bologna</td>
145
+ <td>-</td>
146
+ <td>giuseppe olmo ( ita )</td>
147
+ <td>alfredo binda ( ita )</td>
148
+ </tr>
149
+ <tr>
150
+ <td>9999-05-22</td>
151
+ <td>bologna to ferrara</td>
152
+ <td>-</td>
153
+ <td>alfredo binda ( ita )</td>
154
+ <td>alfredo binda ( ita )</td>
155
+ </tr>
156
+ <tr>
157
+ <td>9999-05-23</td>
158
+ <td>rest day</td>
159
+ <td>rest day</td>
160
+ <td>rest day</td>
161
+ <td>rest day</td>
162
+ </tr>
163
+ <tr>
164
+ <td>9999-05-24</td>
165
+ <td>ferrara to udine</td>
166
+ <td>-</td>
167
+ <td>ettore meini ( ita )</td>
168
+ <td>alfredo binda ( ita )</td>
169
+ </tr>
170
+ <tr>
171
+ <td>9999-05-25</td>
172
+ <td>udine to bassano del grappa</td>
173
+ <td>-</td>
174
+ <td>ettore meini ( ita )</td>
175
+ <td>alfredo binda ( ita )</td>
176
+ </tr>
177
+ <tr>
178
+ <td>9999-05-26</td>
179
+ <td>bassano del grappa to bolzano</td>
180
+ <td>-</td>
181
+ <td>gerard loncke ( bel )</td>
182
+ <td>alfredo binda ( ita )</td>
183
+ </tr>
184
+ <tr>
185
+ <td>9999-05-27</td>
186
+ <td>rest day</td>
187
+ <td>rest day</td>
188
+ <td>rest day</td>
189
+ <td>rest day</td>
190
+ </tr>
191
+ <tr>
192
+ <td>9999-05-28</td>
193
+ <td>bolzano to milan</td>
194
+ <td>-</td>
195
+ <td>alfredo binda ( ita )</td>
196
+ <td>alfredo binda ( ita )</td>
197
+ </tr>
198
+ <tr>
199
+ <td>2023-09-20</td>
200
+ <td>-</td>
201
+ <td>km (mi)</td>
202
+ <td>-</td>
203
+ <td>km (mi)</td>
204
+ </tr>
205
+ </table>
206
+ </div>
207
+ <hr/>
208
+ <div class="step">
209
+ <div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is equal to 6, otherwise return FALSE.</div>
210
+ <div class="content" id="step-0">
211
+ <table>
212
+ <tr>
213
+ <td>date</td>
214
+ <td>course</td>
215
+ <td>distance</td>
216
+ <td>winner</td>
217
+ <td>race_leader</td>
218
+ </tr>
219
+ </table>
220
+ </div>
221
+ </div>
222
+ <hr/>
223
+
224
+ </div>
225
+ </div>
226
+ <hr/>
227
+ </body></html>
htmls_POS_mod2/FN/test-1190.html ADDED
@@ -0,0 +1,425 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> ettore meini won two races in a row , on may 24th and 25th , during the 1933 giro d'italia</h3>
24
+ <h3>Input Table: 1933 giro d'italia</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by 'date' in ascending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>date</td>
32
+ <td>course</td>
33
+ <td>distance</td>
34
+ <td>winner</td>
35
+ <td>race_leader</td>
36
+ </tr>
37
+ <tr>
38
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-06</span></td>
39
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">milan to turin</span></td>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">learco guerra ( ita )</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">learco guerra ( ita )</span></td>
43
+ </tr>
44
+ <tr>
45
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-07</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">turin to genoa</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
50
+ </tr>
51
+ <tr>
52
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-08</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">genoa to pisa</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">learco guerra ( ita )</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
57
+ </tr>
58
+ <tr>
59
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-09</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
62
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-10</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pisa to florence</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">giuseppe olmo ( ita )</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
71
+ </tr>
72
+ <tr>
73
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-11</span></td>
74
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">florence to grosseto</span></td>
75
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">learco guerra ( ita )</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jef demuysere ( bel )</span></td>
78
+ </tr>
79
+ <tr>
80
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-12</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">grosseto to rome</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mario cipriani ( ita )</span></td>
84
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jef demuysere ( bel )</span></td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-13</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-14</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rome to naples</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gerard loncke ( bel )</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jef demuysere ( bel )</span></td>
99
+ </tr>
100
+ <tr>
101
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-15</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">naples to foggia</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-16</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
113
+ </tr>
114
+ <tr>
115
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-17</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">foggia to chieti</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
119
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
120
+ </tr>
121
+ <tr>
122
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-18</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chieti to ascoli piceno</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
127
+ </tr>
128
+ <tr>
129
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-19</span></td>
130
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
134
+ </tr>
135
+ <tr>
136
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-20</span></td>
137
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ascoli piceno to riccione</span></td>
138
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
139
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">fernand cornez ( fra )</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
141
+ </tr>
142
+ <tr>
143
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-21</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">riccione to bologna</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
146
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">giuseppe olmo ( ita )</span></td>
147
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
148
+ </tr>
149
+ <tr>
150
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-22</span></td>
151
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bologna to ferrara</span></td>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-23</span></td>
158
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
159
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
161
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
162
+ </tr>
163
+ <tr>
164
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-24</span></td>
165
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ferrara to udine</span></td>
166
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
167
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ettore meini ( ita )</span></td>
168
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
169
+ </tr>
170
+ <tr>
171
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-25</span></td>
172
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">udine to bassano del grappa</span></td>
173
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
174
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ettore meini ( ita )</span></td>
175
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
176
+ </tr>
177
+ <tr>
178
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-26</span></td>
179
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bassano del grappa to bolzano</span></td>
180
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
181
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gerard loncke ( bel )</span></td>
182
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
183
+ </tr>
184
+ <tr>
185
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-27</span></td>
186
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
187
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
188
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
189
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
190
+ </tr>
191
+ <tr>
192
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-05-28</span></td>
193
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bolzano to milan</span></td>
194
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
195
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
196
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
197
+ </tr>
198
+ <tr>
199
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2023-09-20</span></td>
200
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
201
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">km (mi)</span></td>
202
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
203
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">km (mi)</span></td>
204
+ </tr>
205
+ </table>
206
+ </div>
207
+ <hr/>
208
+ <div class="step">
209
+ <div class="step-title">Step 2: Select rows where 'winner' is 'ettore meini'.</div>
210
+ <div class="content" id="step-0">
211
+ <table>
212
+ <tr>
213
+ <td>date</td>
214
+ <td>course</td>
215
+ <td>distance</td>
216
+ <td>winner</td>
217
+ <td>race_leader</td>
218
+ </tr>
219
+ <tr>
220
+ <td>2023-09-20</td>
221
+ <td>-</td>
222
+ <td>km (mi)</td>
223
+ <td>-</td>
224
+ <td>km (mi)</td>
225
+ </tr>
226
+ <tr>
227
+ <td>9999-05-06</td>
228
+ <td>milan to turin</td>
229
+ <td>-</td>
230
+ <td>learco guerra ( ita )</td>
231
+ <td>learco guerra ( ita )</td>
232
+ </tr>
233
+ <tr>
234
+ <td>9999-05-07</td>
235
+ <td>turin to genoa</td>
236
+ <td>-</td>
237
+ <td>alfredo binda ( ita )</td>
238
+ <td>alfredo binda ( ita )</td>
239
+ </tr>
240
+ <tr>
241
+ <td>9999-05-08</td>
242
+ <td>genoa to pisa</td>
243
+ <td>-</td>
244
+ <td>learco guerra ( ita )</td>
245
+ <td>alfredo binda ( ita )</td>
246
+ </tr>
247
+ <tr>
248
+ <td>9999-05-09</td>
249
+ <td>rest day</td>
250
+ <td>rest day</td>
251
+ <td>rest day</td>
252
+ <td>rest day</td>
253
+ </tr>
254
+ <tr>
255
+ <td>9999-05-10</td>
256
+ <td>pisa to florence</td>
257
+ <td>-</td>
258
+ <td>giuseppe olmo ( ita )</td>
259
+ <td>alfredo binda ( ita )</td>
260
+ </tr>
261
+ <tr>
262
+ <td>9999-05-11</td>
263
+ <td>florence to grosseto</td>
264
+ <td>-</td>
265
+ <td>learco guerra ( ita )</td>
266
+ <td>jef demuysere ( bel )</td>
267
+ </tr>
268
+ <tr>
269
+ <td>9999-05-12</td>
270
+ <td>grosseto to rome</td>
271
+ <td>-</td>
272
+ <td>mario cipriani ( ita )</td>
273
+ <td>jef demuysere ( bel )</td>
274
+ </tr>
275
+ <tr>
276
+ <td>9999-05-13</td>
277
+ <td>rest day</td>
278
+ <td>rest day</td>
279
+ <td>rest day</td>
280
+ <td>rest day</td>
281
+ </tr>
282
+ <tr>
283
+ <td>9999-05-14</td>
284
+ <td>rome to naples</td>
285
+ <td>-</td>
286
+ <td>gerard loncke ( bel )</td>
287
+ <td>jef demuysere ( bel )</td>
288
+ </tr>
289
+ <tr>
290
+ <td>9999-05-15</td>
291
+ <td>naples to foggia</td>
292
+ <td>-</td>
293
+ <td>alfredo binda ( ita )</td>
294
+ <td>alfredo binda ( ita )</td>
295
+ </tr>
296
+ <tr>
297
+ <td>9999-05-16</td>
298
+ <td>rest day</td>
299
+ <td>rest day</td>
300
+ <td>rest day</td>
301
+ <td>rest day</td>
302
+ </tr>
303
+ <tr>
304
+ <td>9999-05-17</td>
305
+ <td>foggia to chieti</td>
306
+ <td>-</td>
307
+ <td>alfredo binda ( ita )</td>
308
+ <td>alfredo binda ( ita )</td>
309
+ </tr>
310
+ <tr>
311
+ <td>9999-05-18</td>
312
+ <td>chieti to ascoli piceno</td>
313
+ <td>-</td>
314
+ <td>alfredo binda ( ita )</td>
315
+ <td>alfredo binda ( ita )</td>
316
+ </tr>
317
+ <tr>
318
+ <td>9999-05-19</td>
319
+ <td>rest day</td>
320
+ <td>rest day</td>
321
+ <td>rest day</td>
322
+ <td>rest day</td>
323
+ </tr>
324
+ <tr>
325
+ <td>9999-05-20</td>
326
+ <td>ascoli piceno to riccione</td>
327
+ <td>-</td>
328
+ <td>fernand cornez ( fra )</td>
329
+ <td>alfredo binda ( ita )</td>
330
+ </tr>
331
+ <tr>
332
+ <td>9999-05-21</td>
333
+ <td>riccione to bologna</td>
334
+ <td>-</td>
335
+ <td>giuseppe olmo ( ita )</td>
336
+ <td>alfredo binda ( ita )</td>
337
+ </tr>
338
+ <tr>
339
+ <td>9999-05-22</td>
340
+ <td>bologna to ferrara</td>
341
+ <td>-</td>
342
+ <td>alfredo binda ( ita )</td>
343
+ <td>alfredo binda ( ita )</td>
344
+ </tr>
345
+ <tr>
346
+ <td>9999-05-23</td>
347
+ <td>rest day</td>
348
+ <td>rest day</td>
349
+ <td>rest day</td>
350
+ <td>rest day</td>
351
+ </tr>
352
+ <tr>
353
+ <td>9999-05-24</td>
354
+ <td>ferrara to udine</td>
355
+ <td>-</td>
356
+ <td>ettore meini ( ita )</td>
357
+ <td>alfredo binda ( ita )</td>
358
+ </tr>
359
+ <tr>
360
+ <td>9999-05-25</td>
361
+ <td>udine to bassano del grappa</td>
362
+ <td>-</td>
363
+ <td>ettore meini ( ita )</td>
364
+ <td>alfredo binda ( ita )</td>
365
+ </tr>
366
+ <tr>
367
+ <td>9999-05-26</td>
368
+ <td>bassano del grappa to bolzano</td>
369
+ <td>-</td>
370
+ <td>gerard loncke ( bel )</td>
371
+ <td>alfredo binda ( ita )</td>
372
+ </tr>
373
+ <tr>
374
+ <td>9999-05-27</td>
375
+ <td>rest day</td>
376
+ <td>rest day</td>
377
+ <td>rest day</td>
378
+ <td>rest day</td>
379
+ </tr>
380
+ <tr>
381
+ <td>9999-05-28</td>
382
+ <td>bolzano to milan</td>
383
+ <td>-</td>
384
+ <td>alfredo binda ( ita )</td>
385
+ <td>alfredo binda ( ita )</td>
386
+ </tr>
387
+ </table>
388
+ </div>
389
+ </div>
390
+ <hr/>
391
+ <div class="step">
392
+ <div class="step-title">Step 3: Select rows where 'date' is '9999-05-24' or '9999-05-25'.</div>
393
+ <div class="content" id="step-1">
394
+ <table>
395
+ <tr>
396
+ <td>date</td>
397
+ <td>course</td>
398
+ <td>distance</td>
399
+ <td>winner</td>
400
+ <td>race_leader</td>
401
+ </tr>
402
+ </table>
403
+ </div>
404
+ </div>
405
+ <hr/>
406
+ <div class="step">
407
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 2, otherwise return FALSE.</div>
408
+ <div class="content" id="step-2">
409
+ <table>
410
+ <tr>
411
+ <td>date</td>
412
+ <td>course</td>
413
+ <td>distance</td>
414
+ <td>winner</td>
415
+ <td>race_leader</td>
416
+ </tr>
417
+ </table>
418
+ </div>
419
+ </div>
420
+ <hr/>
421
+
422
+ </div>
423
+ </div>
424
+ <hr/>
425
+ </body></html>
htmls_POS_mod2/FN/test-1191.html ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> learco guerra was the race leader for the first race of the 1933 giro d'italia , and did not become race leader again for the rest of the circuit</h3>
24
+ <h3>Input Table: 1933 giro d'italia</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'race_leader' is 'learco guerra ( ita )' for the first race of the 1933 giro d'italia.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>date</td>
32
+ <td>course</td>
33
+ <td>distance</td>
34
+ <td>winner</td>
35
+ <td>race_leader</td>
36
+ </tr>
37
+ <tr>
38
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-05-06</span></td>
39
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">milan to turin</span></td>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">-</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">learco guerra ( ita )</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">learco guerra ( ita )</span></td>
43
+ </tr>
44
+ <tr>
45
+ <td>9999-05-07</td>
46
+ <td>turin to genoa</td>
47
+ <td>-</td>
48
+ <td>alfredo binda ( ita )</td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
50
+ </tr>
51
+ <tr>
52
+ <td>9999-05-08</td>
53
+ <td>genoa to pisa</td>
54
+ <td>-</td>
55
+ <td>learco guerra ( ita )</td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
57
+ </tr>
58
+ <tr>
59
+ <td>9999-05-09</td>
60
+ <td>rest day</td>
61
+ <td>rest day</td>
62
+ <td>rest day</td>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
64
+ </tr>
65
+ <tr>
66
+ <td>9999-05-10</td>
67
+ <td>pisa to florence</td>
68
+ <td>-</td>
69
+ <td>giuseppe olmo ( ita )</td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
71
+ </tr>
72
+ <tr>
73
+ <td>9999-05-11</td>
74
+ <td>florence to grosseto</td>
75
+ <td>-</td>
76
+ <td>learco guerra ( ita )</td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jef demuysere ( bel )</span></td>
78
+ </tr>
79
+ <tr>
80
+ <td>9999-05-12</td>
81
+ <td>grosseto to rome</td>
82
+ <td>-</td>
83
+ <td>mario cipriani ( ita )</td>
84
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jef demuysere ( bel )</span></td>
85
+ </tr>
86
+ <tr>
87
+ <td>9999-05-13</td>
88
+ <td>rest day</td>
89
+ <td>rest day</td>
90
+ <td>rest day</td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td>9999-05-14</td>
95
+ <td>rome to naples</td>
96
+ <td>-</td>
97
+ <td>gerard loncke ( bel )</td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jef demuysere ( bel )</span></td>
99
+ </tr>
100
+ <tr>
101
+ <td>9999-05-15</td>
102
+ <td>naples to foggia</td>
103
+ <td>-</td>
104
+ <td>alfredo binda ( ita )</td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
106
+ </tr>
107
+ <tr>
108
+ <td>9999-05-16</td>
109
+ <td>rest day</td>
110
+ <td>rest day</td>
111
+ <td>rest day</td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
113
+ </tr>
114
+ <tr>
115
+ <td>9999-05-17</td>
116
+ <td>foggia to chieti</td>
117
+ <td>-</td>
118
+ <td>alfredo binda ( ita )</td>
119
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
120
+ </tr>
121
+ <tr>
122
+ <td>9999-05-18</td>
123
+ <td>chieti to ascoli piceno</td>
124
+ <td>-</td>
125
+ <td>alfredo binda ( ita )</td>
126
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
127
+ </tr>
128
+ <tr>
129
+ <td>9999-05-19</td>
130
+ <td>rest day</td>
131
+ <td>rest day</td>
132
+ <td>rest day</td>
133
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
134
+ </tr>
135
+ <tr>
136
+ <td>9999-05-20</td>
137
+ <td>ascoli piceno to riccione</td>
138
+ <td>-</td>
139
+ <td>fernand cornez ( fra )</td>
140
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
141
+ </tr>
142
+ <tr>
143
+ <td>9999-05-21</td>
144
+ <td>riccione to bologna</td>
145
+ <td>-</td>
146
+ <td>giuseppe olmo ( ita )</td>
147
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
148
+ </tr>
149
+ <tr>
150
+ <td>9999-05-22</td>
151
+ <td>bologna to ferrara</td>
152
+ <td>-</td>
153
+ <td>alfredo binda ( ita )</td>
154
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
155
+ </tr>
156
+ <tr>
157
+ <td>9999-05-23</td>
158
+ <td>rest day</td>
159
+ <td>rest day</td>
160
+ <td>rest day</td>
161
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
162
+ </tr>
163
+ <tr>
164
+ <td>9999-05-24</td>
165
+ <td>ferrara to udine</td>
166
+ <td>-</td>
167
+ <td>ettore meini ( ita )</td>
168
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
169
+ </tr>
170
+ <tr>
171
+ <td>9999-05-25</td>
172
+ <td>udine to bassano del grappa</td>
173
+ <td>-</td>
174
+ <td>ettore meini ( ita )</td>
175
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
176
+ </tr>
177
+ <tr>
178
+ <td>9999-05-26</td>
179
+ <td>bassano del grappa to bolzano</td>
180
+ <td>-</td>
181
+ <td>gerard loncke ( bel )</td>
182
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
183
+ </tr>
184
+ <tr>
185
+ <td>9999-05-27</td>
186
+ <td>rest day</td>
187
+ <td>rest day</td>
188
+ <td>rest day</td>
189
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">rest day</span></td>
190
+ </tr>
191
+ <tr>
192
+ <td>9999-05-28</td>
193
+ <td>bolzano to milan</td>
194
+ <td>-</td>
195
+ <td>alfredo binda ( ita )</td>
196
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alfredo binda ( ita )</span></td>
197
+ </tr>
198
+ <tr>
199
+ <td>2023-09-20</td>
200
+ <td>-</td>
201
+ <td>km (mi)</td>
202
+ <td>-</td>
203
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">km (mi)</span></td>
204
+ </tr>
205
+ </table>
206
+ </div>
207
+ <hr/>
208
+ <div class="step">
209
+ <div class="step-title">Step 2: Select rows where 'race_leader' is 'learco guerra ( ita )' for the rest of the circuit.</div>
210
+ <div class="content" id="step-0">
211
+ <table>
212
+ <tr>
213
+ <td>date</td>
214
+ <td>course</td>
215
+ <td>distance</td>
216
+ <td>winner</td>
217
+ <td>race_leader</td>
218
+ </tr>
219
+ <tr>
220
+ <td>9999-05-06</td>
221
+ <td>milan to turin</td>
222
+ <td>-</td>
223
+ <td>learco guerra ( ita )</td>
224
+ <td>learco guerra ( ita )</td>
225
+ </tr>
226
+ </table>
227
+ </div>
228
+ </div>
229
+ <hr/>
230
+ <div class="step">
231
+ <div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows in step 1 is equal to 1 and the number of rows in step 2 is equal to 0, otherwise return FALSE.</div>
232
+ <div class="content" id="step-1">
233
+ <table>
234
+ <tr>
235
+ <td>date</td>
236
+ <td>course</td>
237
+ <td>distance</td>
238
+ <td>winner</td>
239
+ <td>race_leader</td>
240
+ </tr>
241
+ </table>
242
+ </div>
243
+ </div>
244
+ <hr/>
245
+
246
+ </div>
247
+ </div>
248
+ <hr/>
249
+ </body></html>
htmls_POS_mod2/FN/test-1197.html ADDED
@@ -0,0 +1,1073 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the coquitlam adanacs have made 1177 points over 45 seasons</h3>
24
+ <h3>Input Table: coquitlam adanacs</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'team_name' is 'coquitlam adanacs'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>season</td>
32
+ <td>team_name</td>
33
+ <td>games</td>
34
+ <td>losses</td>
35
+ <td>points</td>
36
+ </tr>
37
+ <tr>
38
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1965</span></td>
39
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
43
+ </tr>
44
+ <tr>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1966</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">38</span></td>
50
+ </tr>
51
+ <tr>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1967</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29</span></td>
57
+ </tr>
58
+ <tr>
59
+ <td>1968</td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">portland adanacs</span></td>
61
+ <td>38</td>
62
+ <td>14</td>
63
+ <td>48</td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1969</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">52</span></td>
71
+ </tr>
72
+ <tr>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1970</span></td>
74
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
75
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">16</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28</span></td>
78
+ </tr>
79
+ <tr>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1971</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">31</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12</span></td>
84
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">37</span></td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1972</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">36</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1973</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">32</span></td>
99
+ </tr>
100
+ <tr>
101
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1974</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17</span></td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1975</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">16</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">16</span></td>
113
+ </tr>
114
+ <tr>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15</span></td>
119
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
120
+ </tr>
121
+ <tr>
122
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1977</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22</span></td>
127
+ </tr>
128
+ <tr>
129
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1978</span></td>
130
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">21</span></td>
134
+ </tr>
135
+ <tr>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1979</span></td>
137
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
138
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
139
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">35</span></td>
141
+ </tr>
142
+ <tr>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1980</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
146
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
147
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
148
+ </tr>
149
+ <tr>
150
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1981</span></td>
151
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">34</span></td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1982</span></td>
158
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
159
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">16</span></td>
161
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">16</span></td>
162
+ </tr>
163
+ <tr>
164
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1983</span></td>
165
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
166
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
167
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14</span></td>
168
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
169
+ </tr>
170
+ <tr>
171
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1984</span></td>
172
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
173
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
174
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14</span></td>
175
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
176
+ </tr>
177
+ <tr>
178
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1985</span></td>
179
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
180
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
181
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>
182
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28</span></td>
183
+ </tr>
184
+ <tr>
185
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1986</span></td>
186
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
187
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
188
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14</span></td>
189
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
190
+ </tr>
191
+ <tr>
192
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1987</span></td>
193
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
194
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
195
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
196
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26</span></td>
197
+ </tr>
198
+ <tr>
199
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1988</span></td>
200
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
201
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
202
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
203
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26</span></td>
204
+ </tr>
205
+ <tr>
206
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1989</span></td>
207
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
208
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
209
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13</span></td>
210
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22</span></td>
211
+ </tr>
212
+ <tr>
213
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1990</span></td>
214
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
215
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
216
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
217
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12</span></td>
218
+ </tr>
219
+ <tr>
220
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1991</span></td>
221
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
222
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
223
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
224
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">36</span></td>
225
+ </tr>
226
+ <tr>
227
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1992</span></td>
228
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
229
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
230
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14</span></td>
231
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
232
+ </tr>
233
+ <tr>
234
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1993</span></td>
235
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
236
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23</span></td>
237
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
238
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">34</span></td>
239
+ </tr>
240
+ <tr>
241
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1994</span></td>
242
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
243
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
244
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
245
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26</span></td>
246
+ </tr>
247
+ <tr>
248
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1995</span></td>
249
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
250
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
251
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
252
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
253
+ </tr>
254
+ <tr>
255
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1996</span></td>
256
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
257
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
258
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15</span></td>
259
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>
260
+ </tr>
261
+ <tr>
262
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1997</span></td>
263
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
264
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
265
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>
266
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">19</span></td>
267
+ </tr>
268
+ <tr>
269
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1998</span></td>
270
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
271
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
272
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
273
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">31</span></td>
274
+ </tr>
275
+ <tr>
276
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1999</span></td>
277
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
278
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
279
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
280
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">36</span></td>
281
+ </tr>
282
+ <tr>
283
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000</span></td>
284
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
285
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
286
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
287
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28</span></td>
288
+ </tr>
289
+ <tr>
290
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2001</span></td>
291
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
292
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
293
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">8</span></td>
294
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
295
+ </tr>
296
+ <tr>
297
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2002</span></td>
298
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
299
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
300
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
301
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27</span></td>
302
+ </tr>
303
+ <tr>
304
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2003</span></td>
305
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
306
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
307
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
308
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">34</span></td>
309
+ </tr>
310
+ <tr>
311
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2004</span></td>
312
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
313
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
314
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
315
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22</span></td>
316
+ </tr>
317
+ <tr>
318
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005</span></td>
319
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
320
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
321
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
322
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27</span></td>
323
+ </tr>
324
+ <tr>
325
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2006</span></td>
326
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
327
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
328
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
329
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23</span></td>
330
+ </tr>
331
+ <tr>
332
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2007</span></td>
333
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
334
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
335
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
336
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
337
+ </tr>
338
+ <tr>
339
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008</span></td>
340
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
341
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
342
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
343
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28</span></td>
344
+ </tr>
345
+ <tr>
346
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009</span></td>
347
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">coquitlam adanacs</span></td>
348
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
349
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
350
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
351
+ </tr>
352
+ <tr>
353
+ <td>total</td>
354
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">45 seasons</span></td>
355
+ <td>1094</td>
356
+ <td>493</td>
357
+ <td>1177</td>
358
+ </tr>
359
+ </table>
360
+ </div>
361
+ <hr/>
362
+ <div class="step">
363
+ <div class="step-title">Step 2: Extract the sum of 'points' column then add column 'total_points' to existing table.</div>
364
+ <div class="content" id="step-0">
365
+ <table>
366
+ <tr>
367
+ <td>season</td>
368
+ <td>team_name</td>
369
+ <td>games</td>
370
+ <td>losses</td>
371
+ <td>points</td>
372
+ </tr>
373
+ <tr>
374
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1965</span></td>
375
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
376
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
377
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
378
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">24</span></td>
379
+ </tr>
380
+ <tr>
381
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1966</span></td>
382
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
383
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
384
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
385
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">38</span></td>
386
+ </tr>
387
+ <tr>
388
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1967</span></td>
389
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
390
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
391
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15</span></td>
392
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">29</span></td>
393
+ </tr>
394
+ <tr>
395
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1969</span></td>
396
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
397
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29</span></td>
398
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
399
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">52</span></td>
400
+ </tr>
401
+ <tr>
402
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1970</span></td>
403
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
404
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
405
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">16</span></td>
406
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">28</span></td>
407
+ </tr>
408
+ <tr>
409
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1971</span></td>
410
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
411
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">31</span></td>
412
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12</span></td>
413
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">37</span></td>
414
+ </tr>
415
+ <tr>
416
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1972</span></td>
417
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
418
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">36</span></td>
419
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23</span></td>
420
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">18</span></td>
421
+ </tr>
422
+ <tr>
423
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1973</span></td>
424
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
425
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
426
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
427
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">32</span></td>
428
+ </tr>
429
+ <tr>
430
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1974</span></td>
431
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
432
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
433
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15</span></td>
434
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">17</span></td>
435
+ </tr>
436
+ <tr>
437
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1975</span></td>
438
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
439
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
440
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">16</span></td>
441
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">16</span></td>
442
+ </tr>
443
+ <tr>
444
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976</span></td>
445
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
446
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
447
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15</span></td>
448
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">18</span></td>
449
+ </tr>
450
+ <tr>
451
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1977</span></td>
452
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
453
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
454
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13</span></td>
455
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">22</span></td>
456
+ </tr>
457
+ <tr>
458
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1978</span></td>
459
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
460
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
461
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13</span></td>
462
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">21</span></td>
463
+ </tr>
464
+ <tr>
465
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1979</span></td>
466
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
467
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">30</span></td>
468
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12</span></td>
469
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">35</span></td>
470
+ </tr>
471
+ <tr>
472
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1980</span></td>
473
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
474
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
475
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
476
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">30</span></td>
477
+ </tr>
478
+ <tr>
479
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1981</span></td>
480
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
481
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
482
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
483
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">34</span></td>
484
+ </tr>
485
+ <tr>
486
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1982</span></td>
487
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
488
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
489
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">16</span></td>
490
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">16</span></td>
491
+ </tr>
492
+ <tr>
493
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1983</span></td>
494
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
495
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
496
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14</span></td>
497
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">20</span></td>
498
+ </tr>
499
+ <tr>
500
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1984</span></td>
501
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
502
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
503
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14</span></td>
504
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">20</span></td>
505
+ </tr>
506
+ <tr>
507
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1985</span></td>
508
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
509
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
510
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>
511
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">28</span></td>
512
+ </tr>
513
+ <tr>
514
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1986</span></td>
515
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
516
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
517
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14</span></td>
518
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">20</span></td>
519
+ </tr>
520
+ <tr>
521
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1987</span></td>
522
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
523
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
524
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
525
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">26</span></td>
526
+ </tr>
527
+ <tr>
528
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1988</span></td>
529
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
530
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
531
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
532
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">26</span></td>
533
+ </tr>
534
+ <tr>
535
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1989</span></td>
536
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
537
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
538
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13</span></td>
539
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">22</span></td>
540
+ </tr>
541
+ <tr>
542
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1990</span></td>
543
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
544
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
545
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
546
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">12</span></td>
547
+ </tr>
548
+ <tr>
549
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1991</span></td>
550
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
551
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
552
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
553
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">36</span></td>
554
+ </tr>
555
+ <tr>
556
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1992</span></td>
557
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
558
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
559
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14</span></td>
560
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">20</span></td>
561
+ </tr>
562
+ <tr>
563
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1993</span></td>
564
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
565
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23</span></td>
566
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
567
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">34</span></td>
568
+ </tr>
569
+ <tr>
570
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1994</span></td>
571
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
572
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
573
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
574
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">26</span></td>
575
+ </tr>
576
+ <tr>
577
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1995</span></td>
578
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
579
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
580
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
581
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">25</span></td>
582
+ </tr>
583
+ <tr>
584
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1996</span></td>
585
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
586
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
587
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15</span></td>
588
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">10</span></td>
589
+ </tr>
590
+ <tr>
591
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1997</span></td>
592
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
593
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
594
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>
595
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">19</span></td>
596
+ </tr>
597
+ <tr>
598
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1998</span></td>
599
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
600
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
601
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
602
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">31</span></td>
603
+ </tr>
604
+ <tr>
605
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1999</span></td>
606
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
607
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
608
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
609
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">36</span></td>
610
+ </tr>
611
+ <tr>
612
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000</span></td>
613
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
614
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
615
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
616
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">28</span></td>
617
+ </tr>
618
+ <tr>
619
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2001</span></td>
620
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
621
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
622
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">8</span></td>
623
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">24</span></td>
624
+ </tr>
625
+ <tr>
626
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2002</span></td>
627
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
628
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
629
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
630
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">27</span></td>
631
+ </tr>
632
+ <tr>
633
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2003</span></td>
634
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
635
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
636
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
637
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">34</span></td>
638
+ </tr>
639
+ <tr>
640
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2004</span></td>
641
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
642
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>
643
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
644
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">22</span></td>
645
+ </tr>
646
+ <tr>
647
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005</span></td>
648
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
649
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
650
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
651
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">27</span></td>
652
+ </tr>
653
+ <tr>
654
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2006</span></td>
655
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
656
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
657
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
658
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">23</span></td>
659
+ </tr>
660
+ <tr>
661
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2007</span></td>
662
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
663
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
664
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
665
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">20</span></td>
666
+ </tr>
667
+ <tr>
668
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008</span></td>
669
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
670
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
671
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
672
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">28</span></td>
673
+ </tr>
674
+ <tr>
675
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009</span></td>
676
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">coquitlam adanacs</span></td>
677
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
678
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
679
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">18</span></td>
680
+ </tr>
681
+ </table>
682
+ </div>
683
+ </div>
684
+ <hr/>
685
+ <div class="step">
686
+ <div class="step-title">Step 3: Select rows where 'total_points' is 1177.</div>
687
+ <div class="content" id="step-1">
688
+ <table>
689
+ <tr>
690
+ <td>season</td>
691
+ <td>team_name</td>
692
+ <td>games</td>
693
+ <td>losses</td>
694
+ <td>points</td>
695
+ <td>total_points</td>
696
+ </tr>
697
+ <tr>
698
+ <td>1965</td>
699
+ <td>coquitlam adanacs</td>
700
+ <td>30</td>
701
+ <td>18</td>
702
+ <td>24</td>
703
+ <td>1129</td>
704
+ </tr>
705
+ <tr>
706
+ <td>1966</td>
707
+ <td>coquitlam adanacs</td>
708
+ <td>30</td>
709
+ <td>11</td>
710
+ <td>38</td>
711
+ <td>1129</td>
712
+ </tr>
713
+ <tr>
714
+ <td>1967</td>
715
+ <td>coquitlam adanacs</td>
716
+ <td>30</td>
717
+ <td>15</td>
718
+ <td>29</td>
719
+ <td>1129</td>
720
+ </tr>
721
+ <tr>
722
+ <td>1969</td>
723
+ <td>coquitlam adanacs</td>
724
+ <td>29</td>
725
+ <td>3</td>
726
+ <td>52</td>
727
+ <td>1129</td>
728
+ </tr>
729
+ <tr>
730
+ <td>1970</td>
731
+ <td>coquitlam adanacs</td>
732
+ <td>30</td>
733
+ <td>16</td>
734
+ <td>28</td>
735
+ <td>1129</td>
736
+ </tr>
737
+ <tr>
738
+ <td>1971</td>
739
+ <td>coquitlam adanacs</td>
740
+ <td>31</td>
741
+ <td>12</td>
742
+ <td>37</td>
743
+ <td>1129</td>
744
+ </tr>
745
+ <tr>
746
+ <td>1972</td>
747
+ <td>coquitlam adanacs</td>
748
+ <td>36</td>
749
+ <td>23</td>
750
+ <td>18</td>
751
+ <td>1129</td>
752
+ </tr>
753
+ <tr>
754
+ <td>1973</td>
755
+ <td>coquitlam adanacs</td>
756
+ <td>25</td>
757
+ <td>9</td>
758
+ <td>32</td>
759
+ <td>1129</td>
760
+ </tr>
761
+ <tr>
762
+ <td>1974</td>
763
+ <td>coquitlam adanacs</td>
764
+ <td>24</td>
765
+ <td>15</td>
766
+ <td>17</td>
767
+ <td>1129</td>
768
+ </tr>
769
+ <tr>
770
+ <td>1975</td>
771
+ <td>coquitlam adanacs</td>
772
+ <td>24</td>
773
+ <td>16</td>
774
+ <td>16</td>
775
+ <td>1129</td>
776
+ </tr>
777
+ <tr>
778
+ <td>1976</td>
779
+ <td>coquitlam adanacs</td>
780
+ <td>24</td>
781
+ <td>15</td>
782
+ <td>18</td>
783
+ <td>1129</td>
784
+ </tr>
785
+ <tr>
786
+ <td>1977</td>
787
+ <td>coquitlam adanacs</td>
788
+ <td>24</td>
789
+ <td>13</td>
790
+ <td>22</td>
791
+ <td>1129</td>
792
+ </tr>
793
+ <tr>
794
+ <td>1978</td>
795
+ <td>coquitlam adanacs</td>
796
+ <td>24</td>
797
+ <td>13</td>
798
+ <td>21</td>
799
+ <td>1129</td>
800
+ </tr>
801
+ <tr>
802
+ <td>1979</td>
803
+ <td>coquitlam adanacs</td>
804
+ <td>30</td>
805
+ <td>12</td>
806
+ <td>35</td>
807
+ <td>1129</td>
808
+ </tr>
809
+ <tr>
810
+ <td>1980</td>
811
+ <td>coquitlam adanacs</td>
812
+ <td>24</td>
813
+ <td>9</td>
814
+ <td>30</td>
815
+ <td>1129</td>
816
+ </tr>
817
+ <tr>
818
+ <td>1981</td>
819
+ <td>coquitlam adanacs</td>
820
+ <td>24</td>
821
+ <td>7</td>
822
+ <td>34</td>
823
+ <td>1129</td>
824
+ </tr>
825
+ <tr>
826
+ <td>1982</td>
827
+ <td>coquitlam adanacs</td>
828
+ <td>24</td>
829
+ <td>16</td>
830
+ <td>16</td>
831
+ <td>1129</td>
832
+ </tr>
833
+ <tr>
834
+ <td>1983</td>
835
+ <td>coquitlam adanacs</td>
836
+ <td>24</td>
837
+ <td>14</td>
838
+ <td>20</td>
839
+ <td>1129</td>
840
+ </tr>
841
+ <tr>
842
+ <td>1984</td>
843
+ <td>coquitlam adanacs</td>
844
+ <td>24</td>
845
+ <td>14</td>
846
+ <td>20</td>
847
+ <td>1129</td>
848
+ </tr>
849
+ <tr>
850
+ <td>1985</td>
851
+ <td>coquitlam adanacs</td>
852
+ <td>24</td>
853
+ <td>10</td>
854
+ <td>28</td>
855
+ <td>1129</td>
856
+ </tr>
857
+ <tr>
858
+ <td>1986</td>
859
+ <td>coquitlam adanacs</td>
860
+ <td>24</td>
861
+ <td>14</td>
862
+ <td>20</td>
863
+ <td>1129</td>
864
+ </tr>
865
+ <tr>
866
+ <td>1987</td>
867
+ <td>coquitlam adanacs</td>
868
+ <td>24</td>
869
+ <td>11</td>
870
+ <td>26</td>
871
+ <td>1129</td>
872
+ </tr>
873
+ <tr>
874
+ <td>1988</td>
875
+ <td>coquitlam adanacs</td>
876
+ <td>24</td>
877
+ <td>11</td>
878
+ <td>26</td>
879
+ <td>1129</td>
880
+ </tr>
881
+ <tr>
882
+ <td>1989</td>
883
+ <td>coquitlam adanacs</td>
884
+ <td>24</td>
885
+ <td>13</td>
886
+ <td>22</td>
887
+ <td>1129</td>
888
+ </tr>
889
+ <tr>
890
+ <td>1990</td>
891
+ <td>coquitlam adanacs</td>
892
+ <td>24</td>
893
+ <td>18</td>
894
+ <td>12</td>
895
+ <td>1129</td>
896
+ </tr>
897
+ <tr>
898
+ <td>1991</td>
899
+ <td>coquitlam adanacs</td>
900
+ <td>24</td>
901
+ <td>6</td>
902
+ <td>36</td>
903
+ <td>1129</td>
904
+ </tr>
905
+ <tr>
906
+ <td>1992</td>
907
+ <td>coquitlam adanacs</td>
908
+ <td>24</td>
909
+ <td>14</td>
910
+ <td>20</td>
911
+ <td>1129</td>
912
+ </tr>
913
+ <tr>
914
+ <td>1993</td>
915
+ <td>coquitlam adanacs</td>
916
+ <td>23</td>
917
+ <td>6</td>
918
+ <td>34</td>
919
+ <td>1129</td>
920
+ </tr>
921
+ <tr>
922
+ <td>1994</td>
923
+ <td>coquitlam adanacs</td>
924
+ <td>20</td>
925
+ <td>7</td>
926
+ <td>26</td>
927
+ <td>1129</td>
928
+ </tr>
929
+ <tr>
930
+ <td>1995</td>
931
+ <td>coquitlam adanacs</td>
932
+ <td>25</td>
933
+ <td>11</td>
934
+ <td>25</td>
935
+ <td>1129</td>
936
+ </tr>
937
+ <tr>
938
+ <td>1996</td>
939
+ <td>coquitlam adanacs</td>
940
+ <td>20</td>
941
+ <td>15</td>
942
+ <td>10</td>
943
+ <td>1129</td>
944
+ </tr>
945
+ <tr>
946
+ <td>1997</td>
947
+ <td>coquitlam adanacs</td>
948
+ <td>20</td>
949
+ <td>10</td>
950
+ <td>19</td>
951
+ <td>1129</td>
952
+ </tr>
953
+ <tr>
954
+ <td>1998</td>
955
+ <td>coquitlam adanacs</td>
956
+ <td>25</td>
957
+ <td>9</td>
958
+ <td>31</td>
959
+ <td>1129</td>
960
+ </tr>
961
+ <tr>
962
+ <td>1999</td>
963
+ <td>coquitlam adanacs</td>
964
+ <td>25</td>
965
+ <td>7</td>
966
+ <td>36</td>
967
+ <td>1129</td>
968
+ </tr>
969
+ <tr>
970
+ <td>2000</td>
971
+ <td>coquitlam adanacs</td>
972
+ <td>25</td>
973
+ <td>11</td>
974
+ <td>28</td>
975
+ <td>1129</td>
976
+ </tr>
977
+ <tr>
978
+ <td>2001</td>
979
+ <td>coquitlam adanacs</td>
980
+ <td>20</td>
981
+ <td>8</td>
982
+ <td>24</td>
983
+ <td>1129</td>
984
+ </tr>
985
+ <tr>
986
+ <td>2002</td>
987
+ <td>coquitlam adanacs</td>
988
+ <td>20</td>
989
+ <td>6</td>
990
+ <td>27</td>
991
+ <td>1129</td>
992
+ </tr>
993
+ <tr>
994
+ <td>2003</td>
995
+ <td>coquitlam adanacs</td>
996
+ <td>20</td>
997
+ <td>3</td>
998
+ <td>34</td>
999
+ <td>1129</td>
1000
+ </tr>
1001
+ <tr>
1002
+ <td>2004</td>
1003
+ <td>coquitlam adanacs</td>
1004
+ <td>20</td>
1005
+ <td>9</td>
1006
+ <td>22</td>
1007
+ <td>1129</td>
1008
+ </tr>
1009
+ <tr>
1010
+ <td>2005</td>
1011
+ <td>coquitlam adanacs</td>
1012
+ <td>18</td>
1013
+ <td>4</td>
1014
+ <td>27</td>
1015
+ <td>1129</td>
1016
+ </tr>
1017
+ <tr>
1018
+ <td>2006</td>
1019
+ <td>coquitlam adanacs</td>
1020
+ <td>18</td>
1021
+ <td>6</td>
1022
+ <td>23</td>
1023
+ <td>1129</td>
1024
+ </tr>
1025
+ <tr>
1026
+ <td>2007</td>
1027
+ <td>coquitlam adanacs</td>
1028
+ <td>18</td>
1029
+ <td>7</td>
1030
+ <td>20</td>
1031
+ <td>1129</td>
1032
+ </tr>
1033
+ <tr>
1034
+ <td>2008</td>
1035
+ <td>coquitlam adanacs</td>
1036
+ <td>18</td>
1037
+ <td>3</td>
1038
+ <td>28</td>
1039
+ <td>1129</td>
1040
+ </tr>
1041
+ <tr>
1042
+ <td>2009</td>
1043
+ <td>coquitlam adanacs</td>
1044
+ <td>18</td>
1045
+ <td>9</td>
1046
+ <td>18</td>
1047
+ <td>1129</td>
1048
+ </tr>
1049
+ </table>
1050
+ </div>
1051
+ </div>
1052
+ <hr/>
1053
+ <div class="step">
1054
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
1055
+ <div class="content" id="step-2">
1056
+ <table>
1057
+ <tr>
1058
+ <td>season</td>
1059
+ <td>team_name</td>
1060
+ <td>games</td>
1061
+ <td>losses</td>
1062
+ <td>points</td>
1063
+ <td>total_points</td>
1064
+ </tr>
1065
+ </table>
1066
+ </div>
1067
+ </div>
1068
+ <hr/>
1069
+
1070
+ </div>
1071
+ </div>
1072
+ <hr/>
1073
+ </body></html>
htmls_POS_mod2/FN/test-1201.html ADDED
@@ -0,0 +1,331 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> spy vs spy is in the arcade genre with amstrad cpc</h3>
24
+ <h3>Input Table: beyond software</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'title' is 'spy vs spy'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>title</td>
32
+ <td>genre</td>
33
+ <td>c___64</td>
34
+ <td>zx_spectrum</td>
35
+ <td>others</td>
36
+ <td>year</td>
37
+ <td>format</td>
38
+ </tr>
39
+ <tr>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">goodness gracious</span></td>
41
+ <td>arcade</td>
42
+ <td>c64</td>
43
+ <td>n / a</td>
44
+ <td>n / a</td>
45
+ <td>1983-01-01</td>
46
+ <td>tape</td>
47
+ </tr>
48
+ <tr>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kriegspiel</span></td>
50
+ <td>strategy</td>
51
+ <td>n / a</td>
52
+ <td>n / a</td>
53
+ <td>dragon 32</td>
54
+ <td>1983-01-01</td>
55
+ <td>tape</td>
56
+ </tr>
57
+ <tr>
58
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">space station zebra</span></td>
59
+ <td>arcade</td>
60
+ <td>n / a</td>
61
+ <td>zx spectrum</td>
62
+ <td>n / a</td>
63
+ <td>1983-01-01</td>
64
+ <td>tape</td>
65
+ </tr>
66
+ <tr>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">up periscope</span></td>
68
+ <td>strategy</td>
69
+ <td>n / a</td>
70
+ <td>n / a</td>
71
+ <td>dragon 32</td>
72
+ <td>1983-01-01</td>
73
+ <td>tape</td>
74
+ </tr>
75
+ <tr>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ankh</span></td>
77
+ <td>puzzle</td>
78
+ <td>c64</td>
79
+ <td>n / a</td>
80
+ <td>n / a</td>
81
+ <td>1984-01-01</td>
82
+ <td>tape</td>
83
+ </tr>
84
+ <tr>
85
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">aztec</span></td>
86
+ <td>arcade</td>
87
+ <td>c64</td>
88
+ <td>n / a</td>
89
+ <td>n / a</td>
90
+ <td>1984-01-01</td>
91
+ <td>tape</td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lords of midnight</span></td>
95
+ <td>graphic adventure</td>
96
+ <td>c64</td>
97
+ <td>zx spectrum</td>
98
+ <td>amstrad cpc</td>
99
+ <td>1984-01-01</td>
100
+ <td>tape , disk</td>
101
+ </tr>
102
+ <tr>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mr robot</span></td>
104
+ <td>arcade</td>
105
+ <td>c64</td>
106
+ <td>n / a</td>
107
+ <td>n / a</td>
108
+ <td>1984-01-01</td>
109
+ <td>tape</td>
110
+ </tr>
111
+ <tr>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">my chess ii</span></td>
113
+ <td>board game</td>
114
+ <td>c64</td>
115
+ <td>n / a</td>
116
+ <td>n / a</td>
117
+ <td>1984-01-01</td>
118
+ <td>tape , disk</td>
119
+ </tr>
120
+ <tr>
121
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">psytron</span></td>
122
+ <td>tactical combat</td>
123
+ <td>c64</td>
124
+ <td>zx spectrum</td>
125
+ <td>n / a</td>
126
+ <td>1984-01-01</td>
127
+ <td>tape</td>
128
+ </tr>
129
+ <tr>
130
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">spellbound</span></td>
131
+ <td>arcade</td>
132
+ <td>n / a</td>
133
+ <td>zx spectrum</td>
134
+ <td>n / a</td>
135
+ <td>1984-01-01</td>
136
+ <td>tape</td>
137
+ </tr>
138
+ <tr>
139
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">spy vs spy</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">arcade</span></td>
141
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">c64</span></td>
142
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">zx spectrum</span></td>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">amstrad cpc</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1984-01-01</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tape</span></td>
146
+ </tr>
147
+ <tr>
148
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bounces</span></td>
149
+ <td>arcade</td>
150
+ <td>c64</td>
151
+ <td>zx spectrum</td>
152
+ <td>n / a</td>
153
+ <td>1985-01-01</td>
154
+ <td>tape</td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">doomdark 's revenge</span></td>
158
+ <td>graphic adventure</td>
159
+ <td>c64</td>
160
+ <td>zx spectrum</td>
161
+ <td>amstrad cpc</td>
162
+ <td>1985-01-01</td>
163
+ <td>tape</td>
164
+ </tr>
165
+ <tr>
166
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">psi warrior</span></td>
167
+ <td>arcade</td>
168
+ <td>c64</td>
169
+ <td>n / a</td>
170
+ <td>n / a</td>
171
+ <td>1985-01-01</td>
172
+ <td>tape</td>
173
+ </tr>
174
+ <tr>
175
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">shadowfire</span></td>
176
+ <td>tactical combat</td>
177
+ <td>c64</td>
178
+ <td>zx spectrum</td>
179
+ <td>amstrad cpc</td>
180
+ <td>1985-01-01</td>
181
+ <td>tape</td>
182
+ </tr>
183
+ <tr>
184
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">shadowfire tuner</span></td>
185
+ <td>game editor</td>
186
+ <td>c64</td>
187
+ <td>zx spectrum</td>
188
+ <td>n / a</td>
189
+ <td>1985-01-01</td>
190
+ <td>tape</td>
191
+ </tr>
192
+ <tr>
193
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sorderon 's shadow</span></td>
194
+ <td>graphic adventure</td>
195
+ <td>n / a</td>
196
+ <td>zx spectrum</td>
197
+ <td>n / a</td>
198
+ <td>1985-01-01</td>
199
+ <td>tape</td>
200
+ </tr>
201
+ <tr>
202
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">quake minus one</span></td>
203
+ <td>rts</td>
204
+ <td>c64</td>
205
+ <td>n / a</td>
206
+ <td>n / a</td>
207
+ <td>1985-01-01</td>
208
+ <td>tape</td>
209
+ </tr>
210
+ <tr>
211
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">superman : the game</span></td>
212
+ <td>arcade / strategy</td>
213
+ <td>c64</td>
214
+ <td>n / a</td>
215
+ <td>n / a</td>
216
+ <td>1985-01-01</td>
217
+ <td>tape</td>
218
+ </tr>
219
+ <tr>
220
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">enigma force</span></td>
221
+ <td>tactical combat</td>
222
+ <td>c64</td>
223
+ <td>zx spectrum</td>
224
+ <td>n / a</td>
225
+ <td>1986-01-01</td>
226
+ <td>tape</td>
227
+ </tr>
228
+ <tr>
229
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">dante 's inferno</span></td>
230
+ <td>arcade adventure</td>
231
+ <td>c64</td>
232
+ <td>n / a</td>
233
+ <td>n / a</td>
234
+ <td>1986-01-01</td>
235
+ <td>tape</td>
236
+ </tr>
237
+ <tr>
238
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">infodroid</span></td>
239
+ <td>arcade</td>
240
+ <td>c64</td>
241
+ <td>n / a</td>
242
+ <td>n / a</td>
243
+ <td>1986-01-01</td>
244
+ <td>tape</td>
245
+ </tr>
246
+ <tr>
247
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">romper room</span></td>
248
+ <td>educational</td>
249
+ <td>c64</td>
250
+ <td>zx spectrum</td>
251
+ <td>n / a</td>
252
+ <td>1986-01-01</td>
253
+ <td>tape</td>
254
+ </tr>
255
+ </table>
256
+ </div>
257
+ <hr/>
258
+ <div class="step">
259
+ <div class="step-title">Step 2: Select rows where 'genre' is 'arcade'.</div>
260
+ <div class="content" id="step-0">
261
+ <table>
262
+ <tr>
263
+ <td>title</td>
264
+ <td>genre</td>
265
+ <td>c___64</td>
266
+ <td>zx_spectrum</td>
267
+ <td>others</td>
268
+ <td>year</td>
269
+ <td>format</td>
270
+ </tr>
271
+ <tr>
272
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">spy vs spy</span></td>
273
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">arcade</span></td>
274
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">c64</span></td>
275
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">zx spectrum</span></td>
276
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">amstrad cpc</span></td>
277
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1984-01-01</span></td>
278
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tape</span></td>
279
+ </tr>
280
+ </table>
281
+ </div>
282
+ </div>
283
+ <hr/>
284
+ <div class="step">
285
+ <div class="step-title">Step 3: Select rows where 'format' is 'amstrad cpc'.</div>
286
+ <div class="content" id="step-1">
287
+ <table>
288
+ <tr>
289
+ <td>title</td>
290
+ <td>genre</td>
291
+ <td>c___64</td>
292
+ <td>zx_spectrum</td>
293
+ <td>others</td>
294
+ <td>year</td>
295
+ <td>format</td>
296
+ </tr>
297
+ <tr>
298
+ <td>spy vs spy</td>
299
+ <td>arcade</td>
300
+ <td>c64</td>
301
+ <td>zx spectrum</td>
302
+ <td>amstrad cpc</td>
303
+ <td>1984-01-01</td>
304
+ <td>tape</td>
305
+ </tr>
306
+ </table>
307
+ </div>
308
+ </div>
309
+ <hr/>
310
+ <div class="step">
311
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
312
+ <div class="content" id="step-2">
313
+ <table>
314
+ <tr>
315
+ <td>title</td>
316
+ <td>genre</td>
317
+ <td>c___64</td>
318
+ <td>zx_spectrum</td>
319
+ <td>others</td>
320
+ <td>year</td>
321
+ <td>format</td>
322
+ </tr>
323
+ </table>
324
+ </div>
325
+ </div>
326
+ <hr/>
327
+
328
+ </div>
329
+ </div>
330
+ <hr/>
331
+ </body></html>
htmls_POS_mod2/FN/test-1205.html ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> on march 19 , 1984 , plymouth argyle played derby county</h3>
24
+ <h3>Input Table: 1983 - 84 fa cup</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where the 'date' is '1984-03-19'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>tie_no</td>
32
+ <td>home_team</td>
33
+ <td>score</td>
34
+ <td>away_team</td>
35
+ <td>date</td>
36
+ </tr>
37
+ <tr>
38
+ <td>1</td>
39
+ <td>notts county</td>
40
+ <td>1 - 2</td>
41
+ <td>everton</td>
42
+ <td>1984-03-10</td>
43
+ </tr>
44
+ <tr>
45
+ <td>2</td>
46
+ <td>sheffield wednesday</td>
47
+ <td>0 - 0</td>
48
+ <td>southampton</td>
49
+ <td>1984-03-11</td>
50
+ </tr>
51
+ <tr>
52
+ <td>replay</td>
53
+ <td>southampton</td>
54
+ <td>5 - 1</td>
55
+ <td>sheffield wednesday</td>
56
+ <td>1984-03-20</td>
57
+ </tr>
58
+ <tr>
59
+ <td>3</td>
60
+ <td>plymouth argyle</td>
61
+ <td>0 - 0</td>
62
+ <td>derby county</td>
63
+ <td>1984-03-10</td>
64
+ </tr>
65
+ <tr>
66
+ <td>replay</td>
67
+ <td>derby county</td>
68
+ <td>0 - 1</td>
69
+ <td>plymouth argyle</td>
70
+ <td>1984-03-14</td>
71
+ </tr>
72
+ <tr>
73
+ <td>4</td>
74
+ <td>birmingham city</td>
75
+ <td>1 - 3</td>
76
+ <td>watford</td>
77
+ <td>1984-03-10</td>
78
+ </tr>
79
+ </table>
80
+ </div>
81
+ <hr/>
82
+ <div class="step">
83
+ <div class="step-title">Step 2: Select rows where 'home_team' is 'plymouth argyle' and 'away_team' is 'derby county'.</div>
84
+ <div class="content" id="step-0">
85
+ <table>
86
+ <tr>
87
+ <td>tie_no</td>
88
+ <td>home_team</td>
89
+ <td>score</td>
90
+ <td>away_team</td>
91
+ <td>date</td>
92
+ </tr>
93
+ </table>
94
+ </div>
95
+ </div>
96
+ <hr/>
97
+ <div class="step">
98
+ <div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
99
+ <div class="content" id="step-1">
100
+ <table>
101
+ <tr>
102
+ <td>tie_no</td>
103
+ <td>home_team</td>
104
+ <td>score</td>
105
+ <td>away_team</td>
106
+ <td>date</td>
107
+ </tr>
108
+ </table>
109
+ </div>
110
+ </div>
111
+ <hr/>
112
+
113
+ </div>
114
+ </div>
115
+ <hr/>
116
+ </body></html>
htmls_POS_mod2/FN/test-1213.html ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> 2007 - 2008 is the season where september 26 , 2007 has the season premier</h3>
24
+ <h3>Input Table: csi (franchise)</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by 'season_premiere' in ascending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>season</td>
32
+ <td>episodes</td>
33
+ <td>time_slot__est_</td>
34
+ <td>season_premiere</td>
35
+ <td>season_finale</td>
36
+ <td>tv_season</td>
37
+ <td>rank</td>
38
+ <td>viewers__in_millions_</td>
39
+ </tr>
40
+ <tr>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23</span></td>
43
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 10 pm / 9c</span></td>
44
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2004-09-22</span></td>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005-05-18</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2004 - 2005</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">21</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13.59</span></td>
49
+ </tr>
50
+ <tr>
51
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 10 pm / 9c</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2005-09-28</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2006-05-17</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005 - 2006</span></td>
57
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22</span></td>
58
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14.04</span></td>
59
+ </tr>
60
+ <tr>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
62
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 10 pm / 9c</span></td>
64
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2006-09-20</span></td>
65
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2007-05-16</span></td>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2006 - 2007</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13.92</span></td>
69
+ </tr>
70
+ <tr>
71
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
72
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">21</span></td>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 10 pm / 9c</span></td>
74
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2007-09-26</span></td>
75
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008-05-21</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2007 - 2008</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28</span></td>
78
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11.71</span></td>
79
+ </tr>
80
+ <tr>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 10 pm / 9c</span></td>
84
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2008-09-24</span></td>
85
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009-05-14</span></td>
86
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008 - 2009</span></td>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13.5</span></td>
89
+ </tr>
90
+ <tr>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
92
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23</span></td>
93
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">wednesday 10 pm / 9c</span></td>
94
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2009-09-23</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2010-05-26</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2009 - 2010</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12.66</span></td>
99
+ </tr>
100
+ <tr>
101
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">friday 9 pm / 8c</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2010-09-24</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2011-05-13</span></td>
106
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2010 - 2011</span></td>
107
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">37</span></td>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10.73</span></td>
109
+ </tr>
110
+ <tr>
111
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">8</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18</span></td>
113
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">friday 9 pm / 8c</span></td>
114
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2011-09-23</span></td>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2012-05-11</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2011 - 2012</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">38</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10.34</span></td>
119
+ </tr>
120
+ </table>
121
+ </div>
122
+ <hr/>
123
+ <div class="step">
124
+ <div class="step-title">Step 2: Select rows where 'season' is '2007'.</div>
125
+ <div class="content" id="step-0">
126
+ <table>
127
+ <tr>
128
+ <td>season</td>
129
+ <td>episodes</td>
130
+ <td>time_slot__est_</td>
131
+ <td>season_premiere</td>
132
+ <td>season_finale</td>
133
+ <td>tv_season</td>
134
+ <td>rank</td>
135
+ <td>viewers__in_millions_</td>
136
+ </tr>
137
+ <tr>
138
+ <td>1</td>
139
+ <td>23</td>
140
+ <td>wednesday 10 pm / 9c</td>
141
+ <td>2004-09-22</td>
142
+ <td>2005-05-18</td>
143
+ <td>2004 - 2005</td>
144
+ <td>21</td>
145
+ <td>13.59</td>
146
+ </tr>
147
+ <tr>
148
+ <td>2</td>
149
+ <td>24</td>
150
+ <td>wednesday 10 pm / 9c</td>
151
+ <td>2005-09-28</td>
152
+ <td>2006-05-17</td>
153
+ <td>2005 - 2006</td>
154
+ <td>22</td>
155
+ <td>14.04</td>
156
+ </tr>
157
+ <tr>
158
+ <td>3</td>
159
+ <td>24</td>
160
+ <td>wednesday 10 pm / 9c</td>
161
+ <td>2006-09-20</td>
162
+ <td>2007-05-16</td>
163
+ <td>2006 - 2007</td>
164
+ <td>25</td>
165
+ <td>13.92</td>
166
+ </tr>
167
+ <tr>
168
+ <td>4</td>
169
+ <td>21</td>
170
+ <td>wednesday 10 pm / 9c</td>
171
+ <td>2007-09-26</td>
172
+ <td>2008-05-21</td>
173
+ <td>2007 - 2008</td>
174
+ <td>28</td>
175
+ <td>11.71</td>
176
+ </tr>
177
+ <tr>
178
+ <td>5</td>
179
+ <td>25</td>
180
+ <td>wednesday 10 pm / 9c</td>
181
+ <td>2008-09-24</td>
182
+ <td>2009-05-14</td>
183
+ <td>2008 - 2009</td>
184
+ <td>17</td>
185
+ <td>13.5</td>
186
+ </tr>
187
+ <tr>
188
+ <td>6</td>
189
+ <td>23</td>
190
+ <td>wednesday 10 pm / 9c</td>
191
+ <td>2009-09-23</td>
192
+ <td>2010-05-26</td>
193
+ <td>2009 - 2010</td>
194
+ <td>23</td>
195
+ <td>12.66</td>
196
+ </tr>
197
+ <tr>
198
+ <td>7</td>
199
+ <td>22</td>
200
+ <td>friday 9 pm / 8c</td>
201
+ <td>2010-09-24</td>
202
+ <td>2011-05-13</td>
203
+ <td>2010 - 2011</td>
204
+ <td>37</td>
205
+ <td>10.73</td>
206
+ </tr>
207
+ <tr>
208
+ <td>8</td>
209
+ <td>18</td>
210
+ <td>friday 9 pm / 8c</td>
211
+ <td>2011-09-23</td>
212
+ <td>2012-05-11</td>
213
+ <td>2011 - 2012</td>
214
+ <td>38</td>
215
+ <td>10.34</td>
216
+ </tr>
217
+ </table>
218
+ </div>
219
+ </div>
220
+ <hr/>
221
+ <div class="step">
222
+ <div class="step-title">Step 3: Select rows where 'season_premiere' is '2007-09-26'.</div>
223
+ <div class="content" id="step-1">
224
+ <table>
225
+ <tr>
226
+ <td>season</td>
227
+ <td>episodes</td>
228
+ <td>time_slot__est_</td>
229
+ <td>season_premiere</td>
230
+ <td>season_finale</td>
231
+ <td>tv_season</td>
232
+ <td>rank</td>
233
+ <td>viewers__in_millions_</td>
234
+ </tr>
235
+ </table>
236
+ </div>
237
+ </div>
238
+ <hr/>
239
+ <div class="step">
240
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
241
+ <div class="content" id="step-2">
242
+ <table>
243
+ <tr>
244
+ <td>season</td>
245
+ <td>episodes</td>
246
+ <td>time_slot__est_</td>
247
+ <td>season_premiere</td>
248
+ <td>season_finale</td>
249
+ <td>tv_season</td>
250
+ <td>rank</td>
251
+ <td>viewers__in_millions_</td>
252
+ </tr>
253
+ </table>
254
+ </div>
255
+ </div>
256
+ <hr/>
257
+
258
+ </div>
259
+ </div>
260
+ <hr/>
261
+ </body></html>
htmls_POS_mod2/FN/test-1218.html ADDED
@@ -0,0 +1,447 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> jonathan legear scored four more goals than matias suarez , the next highest ranked player in the belgian first dvision a league who played in the belgian cup</h3>
24
+ <h3>Input Table: 2008 - 09 r.s.c. anderlecht season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by 'total' in descending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>player</td>
32
+ <td>league</td>
33
+ <td>title_playoff</td>
34
+ <td>super_cup</td>
35
+ <td>total</td>
36
+ </tr>
37
+ <tr>
38
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mbark boussoufa</span></td>
39
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">11</span></td>
43
+ </tr>
44
+ <tr>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tom de sutter</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9</span></td>
50
+ </tr>
51
+ <tr>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">guillaume gillet</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">8</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9</span></td>
57
+ </tr>
58
+ <tr>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">marcin wasilewski</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">8</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
62
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
63
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">8</span></td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jonathan legear</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7</span></td>
71
+ </tr>
72
+ <tr>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nicolás frutos</span></td>
74
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
75
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6</span></td>
78
+ </tr>
79
+ <tr>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">thomas chatelle</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
84
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">4</span></td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">roland juhász</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">4</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stanislav vlček</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">4</span></td>
99
+ </tr>
100
+ <tr>
101
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lucas biglia</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3</span></td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">dmitri bulykin</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3</span></td>
113
+ </tr>
114
+ <tr>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jan polák</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
119
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3</span></td>
120
+ </tr>
121
+ <tr>
122
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">matías suárez</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3</span></td>
127
+ </tr>
128
+ <tr>
129
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jelle van damme</span></td>
130
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3</span></td>
134
+ </tr>
135
+ <tr>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">oleksandr iakovenko</span></td>
137
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
138
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
139
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2</span></td>
141
+ </tr>
142
+ <tr>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hernán losada</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
146
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
147
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2</span></td>
148
+ </tr>
149
+ <tr>
150
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">víctor bernárdez</span></td>
151
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bart goor</span></td>
158
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
159
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
161
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
162
+ </tr>
163
+ <tr>
164
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nemanja rnić</span></td>
165
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
166
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
167
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
168
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
169
+ </tr>
170
+ </table>
171
+ </div>
172
+ <hr/>
173
+ <div class="step">
174
+ <div class="step-title">Step 2: Select row number 1.</div>
175
+ <div class="content" id="step-0">
176
+ <table>
177
+ <tr>
178
+ <td>player</td>
179
+ <td>league</td>
180
+ <td>title_playoff</td>
181
+ <td>super_cup</td>
182
+ <td>total</td>
183
+ </tr>
184
+ <tr>
185
+ <td>mbark boussoufa</td>
186
+ <td>11</td>
187
+ <td>0</td>
188
+ <td>0</td>
189
+ <td>11</td>
190
+ </tr>
191
+ <tr>
192
+ <td>tom de sutter</td>
193
+ <td>9</td>
194
+ <td>0</td>
195
+ <td>0</td>
196
+ <td>9</td>
197
+ </tr>
198
+ <tr>
199
+ <td>guillaume gillet</td>
200
+ <td>8</td>
201
+ <td>0</td>
202
+ <td>0</td>
203
+ <td>9</td>
204
+ </tr>
205
+ <tr>
206
+ <td>marcin wasilewski</td>
207
+ <td>8</td>
208
+ <td>0</td>
209
+ <td>0</td>
210
+ <td>8</td>
211
+ </tr>
212
+ <tr>
213
+ <td>jonathan legear</td>
214
+ <td>5</td>
215
+ <td>1</td>
216
+ <td>0</td>
217
+ <td>7</td>
218
+ </tr>
219
+ <tr>
220
+ <td>nicolás frutos</td>
221
+ <td>6</td>
222
+ <td>0</td>
223
+ <td>0</td>
224
+ <td>6</td>
225
+ </tr>
226
+ <tr>
227
+ <td>thomas chatelle</td>
228
+ <td>4</td>
229
+ <td>0</td>
230
+ <td>0</td>
231
+ <td>4</td>
232
+ </tr>
233
+ <tr>
234
+ <td>roland juhász</td>
235
+ <td>4</td>
236
+ <td>0</td>
237
+ <td>0</td>
238
+ <td>4</td>
239
+ </tr>
240
+ <tr>
241
+ <td>stanislav vlček</td>
242
+ <td>4</td>
243
+ <td>0</td>
244
+ <td>0</td>
245
+ <td>4</td>
246
+ </tr>
247
+ <tr>
248
+ <td>lucas biglia</td>
249
+ <td>2</td>
250
+ <td>0</td>
251
+ <td>0</td>
252
+ <td>3</td>
253
+ </tr>
254
+ <tr>
255
+ <td>dmitri bulykin</td>
256
+ <td>3</td>
257
+ <td>0</td>
258
+ <td>0</td>
259
+ <td>3</td>
260
+ </tr>
261
+ <tr>
262
+ <td>jan polák</td>
263
+ <td>2</td>
264
+ <td>0</td>
265
+ <td>0</td>
266
+ <td>3</td>
267
+ </tr>
268
+ <tr>
269
+ <td>matías suárez</td>
270
+ <td>1</td>
271
+ <td>0</td>
272
+ <td>1</td>
273
+ <td>3</td>
274
+ </tr>
275
+ <tr>
276
+ <td>jelle van damme</td>
277
+ <td>3</td>
278
+ <td>0</td>
279
+ <td>0</td>
280
+ <td>3</td>
281
+ </tr>
282
+ <tr>
283
+ <td>oleksandr iakovenko</td>
284
+ <td>2</td>
285
+ <td>0</td>
286
+ <td>0</td>
287
+ <td>2</td>
288
+ </tr>
289
+ <tr>
290
+ <td>hernán losada</td>
291
+ <td>1</td>
292
+ <td>0</td>
293
+ <td>0</td>
294
+ <td>2</td>
295
+ </tr>
296
+ <tr>
297
+ <td>víctor bernárdez</td>
298
+ <td>1</td>
299
+ <td>0</td>
300
+ <td>0</td>
301
+ <td>1</td>
302
+ </tr>
303
+ <tr>
304
+ <td>bart goor</td>
305
+ <td>1</td>
306
+ <td>0</td>
307
+ <td>0</td>
308
+ <td>1</td>
309
+ </tr>
310
+ <tr>
311
+ <td>nemanja rnić</td>
312
+ <td>0</td>
313
+ <td>0</td>
314
+ <td>0</td>
315
+ <td>1</td>
316
+ </tr>
317
+ </table>
318
+ </div>
319
+ </div>
320
+ <hr/>
321
+ <div class="step">
322
+ <div class="step-title">Step 3: Select rows where 'player' is 'jonathan legear'.</div>
323
+ <div class="content" id="step-1">
324
+ <table>
325
+ <tr>
326
+ <td>player</td>
327
+ <td>league</td>
328
+ <td>title_playoff</td>
329
+ <td>super_cup</td>
330
+ <td>total</td>
331
+ </tr>
332
+ <tr>
333
+ <td>mbark boussoufa</td>
334
+ <td>11</td>
335
+ <td>0</td>
336
+ <td>0</td>
337
+ <td>11</td>
338
+ </tr>
339
+ </table>
340
+ </div>
341
+ </div>
342
+ <hr/>
343
+ <div class="step">
344
+ <div class="step-title">Step 4: Extract the numerical value of goals scored by Jonathan Legear from the 'total' column then add column 'jonathan_goals' to existing table.</div>
345
+ <div class="content" id="step-2">
346
+ <table>
347
+ <tr>
348
+ <td>player</td>
349
+ <td>league</td>
350
+ <td>title_playoff</td>
351
+ <td>super_cup</td>
352
+ <td>total</td>
353
+ </tr>
354
+ </table>
355
+ </div>
356
+ </div>
357
+ <hr/>
358
+ <div class="step">
359
+ <div class="step-title">Step 5: Select rows where 'player' is 'matías suárez'.</div>
360
+ <div class="content" id="step-3">
361
+ <table>
362
+ <tr>
363
+ <td>player</td>
364
+ <td>league</td>
365
+ <td>title_playoff</td>
366
+ <td>super_cup</td>
367
+ <td>total</td>
368
+ <td>jonathan_goals</td>
369
+ </tr>
370
+ </table>
371
+ </div>
372
+ </div>
373
+ <hr/>
374
+ <div class="step">
375
+ <div class="step-title">Step 6: Extract the numerical value of goals scored by Matías Suárez from the 'total' column then add column 'matias_goals' to existing table.</div>
376
+ <div class="content" id="step-4">
377
+ <table>
378
+ <tr>
379
+ <td>player</td>
380
+ <td>league</td>
381
+ <td>title_playoff</td>
382
+ <td>super_cup</td>
383
+ <td>total</td>
384
+ <td>jonathan_goals</td>
385
+ </tr>
386
+ </table>
387
+ </div>
388
+ </div>
389
+ <hr/>
390
+ <div class="step">
391
+ <div class="step-title">Step 7: Subtract 'matias_goals' from 'jonathan_goals' and add column 'goal_difference' to existing table.</div>
392
+ <div class="content" id="step-5">
393
+ <table>
394
+ <tr>
395
+ <td>player</td>
396
+ <td>league</td>
397
+ <td>title_playoff</td>
398
+ <td>super_cup</td>
399
+ <td>total</td>
400
+ <td>jonathan_goals</td>
401
+ <td>matias_goals</td>
402
+ </tr>
403
+ </table>
404
+ </div>
405
+ </div>
406
+ <hr/>
407
+ <div class="step">
408
+ <div class="step-title">Step 8: Select rows where 'goal_difference' is equal to 4.</div>
409
+ <div class="content" id="step-6">
410
+ <table>
411
+ <tr>
412
+ <td>player</td>
413
+ <td>league</td>
414
+ <td>title_playoff</td>
415
+ <td>super_cup</td>
416
+ <td>total</td>
417
+ <td>jonathan_goals</td>
418
+ <td>matias_goals</td>
419
+ <td>goal_difference</td>
420
+ </tr>
421
+ </table>
422
+ </div>
423
+ </div>
424
+ <hr/>
425
+ <div class="step">
426
+ <div class="step-title">Step 9: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
427
+ <div class="content" id="step-7">
428
+ <table>
429
+ <tr>
430
+ <td>player</td>
431
+ <td>league</td>
432
+ <td>title_playoff</td>
433
+ <td>super_cup</td>
434
+ <td>total</td>
435
+ <td>jonathan_goals</td>
436
+ <td>matias_goals</td>
437
+ <td>goal_difference</td>
438
+ </tr>
439
+ </table>
440
+ </div>
441
+ </div>
442
+ <hr/>
443
+
444
+ </div>
445
+ </div>
446
+ <hr/>
447
+ </body></html>
htmls_POS_mod2/FN/test-1227.html ADDED
@@ -0,0 +1,377 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the lions finished with a record of 6 wins and 8 losses</h3>
24
+ <h3>Input Table: 1976 detroit lions season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where the 'result' column contains the substring 'w' (indicating a win).</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>week</td>
32
+ <td>date</td>
33
+ <td>opponent</td>
34
+ <td>result</td>
35
+ <td>attendance</td>
36
+ </tr>
37
+ <tr>
38
+ <td>1</td>
39
+ <td>1976-09-12</td>
40
+ <td>chicago bears</td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 10 - 3</span></td>
42
+ <td>54125</td>
43
+ </tr>
44
+ <tr>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-09-19</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">atlanta falcons</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 24 - 10</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">50840</span></td>
50
+ </tr>
51
+ <tr>
52
+ <td>3</td>
53
+ <td>1976-09-26</td>
54
+ <td>minnesota vikings</td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 10 - 9</span></td>
56
+ <td>77292</td>
57
+ </tr>
58
+ <tr>
59
+ <td>4</td>
60
+ <td>1976-10-03</td>
61
+ <td>green bay packers</td>
62
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 24 - 14</span></td>
63
+ <td>55041</td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-10-10</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">new england patriots</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 30 - 10</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">60174</span></td>
71
+ </tr>
72
+ <tr>
73
+ <td>6</td>
74
+ <td>1976-10-17</td>
75
+ <td>washington redskins</td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 20 - 7</span></td>
77
+ <td>45908</td>
78
+ </tr>
79
+ <tr>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-10-24</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">seattle seahawks</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 41 - 14</span></td>
84
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">61280</span></td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">8</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-10-31</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">green bay packers</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 27 - 6</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">74992</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td>9</td>
95
+ <td>1976-11-07</td>
96
+ <td>minnesota vikings</td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 31 - 23</span></td>
98
+ <td>46735</td>
99
+ </tr>
100
+ <tr>
101
+ <td>10</td>
102
+ <td>1976-11-14</td>
103
+ <td>new orleans saints</td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 17 - 16</span></td>
105
+ <td>42048</td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-11-21</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chicago bears</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 14 - 10</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">78042</span></td>
113
+ </tr>
114
+ <tr>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-11-25</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">buffalo bills</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 27 - 14</span></td>
119
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">66875</span></td>
120
+ </tr>
121
+ <tr>
122
+ <td>13</td>
123
+ <td>1976-12-05</td>
124
+ <td>new york giants</td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 24 - 10</span></td>
126
+ <td>66069</td>
127
+ </tr>
128
+ <tr>
129
+ <td>14</td>
130
+ <td>1976-12-11</td>
131
+ <td>los angeles rams</td>
132
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 20 - 17</span></td>
133
+ <td>73470</td>
134
+ </tr>
135
+ </table>
136
+ </div>
137
+ <hr/>
138
+ <div class="step">
139
+ <div class="step-title">Step 2: Use a `COUNT` function to count the number of rows from step 1 and add column 'win_count' to the existing table.</div>
140
+ <div class="content" id="step-0">
141
+ <table>
142
+ <tr>
143
+ <td>week</td>
144
+ <td>date</td>
145
+ <td>opponent</td>
146
+ <td>result</td>
147
+ <td>attendance</td>
148
+ </tr>
149
+ <tr>
150
+ <td>2</td>
151
+ <td>1976-09-19</td>
152
+ <td>atlanta falcons</td>
153
+ <td>w 24 - 10</td>
154
+ <td>50840</td>
155
+ </tr>
156
+ <tr>
157
+ <td>5</td>
158
+ <td>1976-10-10</td>
159
+ <td>new england patriots</td>
160
+ <td>w 30 - 10</td>
161
+ <td>60174</td>
162
+ </tr>
163
+ <tr>
164
+ <td>7</td>
165
+ <td>1976-10-24</td>
166
+ <td>seattle seahawks</td>
167
+ <td>w 41 - 14</td>
168
+ <td>61280</td>
169
+ </tr>
170
+ <tr>
171
+ <td>8</td>
172
+ <td>1976-10-31</td>
173
+ <td>green bay packers</td>
174
+ <td>w 27 - 6</td>
175
+ <td>74992</td>
176
+ </tr>
177
+ <tr>
178
+ <td>11</td>
179
+ <td>1976-11-21</td>
180
+ <td>chicago bears</td>
181
+ <td>w 14 - 10</td>
182
+ <td>78042</td>
183
+ </tr>
184
+ <tr>
185
+ <td>12</td>
186
+ <td>1976-11-25</td>
187
+ <td>buffalo bills</td>
188
+ <td>w 27 - 14</td>
189
+ <td>66875</td>
190
+ </tr>
191
+ </table>
192
+ </div>
193
+ </div>
194
+ <hr/>
195
+ <div class="step">
196
+ <div class="step-title">Step 3: Select rows where the 'win_count' is equal to 6.</div>
197
+ <div class="content" id="step-1">
198
+ <table>
199
+ <tr>
200
+ <td>week</td>
201
+ <td>date</td>
202
+ <td>opponent</td>
203
+ <td>result</td>
204
+ <td>attendance</td>
205
+ <td>win_count</td>
206
+ </tr>
207
+ <tr>
208
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
209
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-09-19</span></td>
210
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">atlanta falcons</span></td>
211
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 24 - 10</span></td>
212
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">50840</span></td>
213
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6</span></td>
214
+ </tr>
215
+ <tr>
216
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>
217
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-10-10</span></td>
218
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">new england patriots</span></td>
219
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 30 - 10</span></td>
220
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">60174</span></td>
221
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6</span></td>
222
+ </tr>
223
+ <tr>
224
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
225
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-10-24</span></td>
226
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">seattle seahawks</span></td>
227
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 41 - 14</span></td>
228
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">61280</span></td>
229
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6</span></td>
230
+ </tr>
231
+ <tr>
232
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">8</span></td>
233
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-10-31</span></td>
234
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">green bay packers</span></td>
235
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 27 - 6</span></td>
236
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">74992</span></td>
237
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6</span></td>
238
+ </tr>
239
+ <tr>
240
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
241
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-11-21</span></td>
242
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chicago bears</span></td>
243
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 14 - 10</span></td>
244
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">78042</span></td>
245
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6</span></td>
246
+ </tr>
247
+ <tr>
248
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12</span></td>
249
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-11-25</span></td>
250
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">buffalo bills</span></td>
251
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 27 - 14</span></td>
252
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">66875</span></td>
253
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6</span></td>
254
+ </tr>
255
+ </table>
256
+ </div>
257
+ </div>
258
+ <hr/>
259
+ <div class="step">
260
+ <div class="step-title">Step 4: Select rows where the 'result' column contains the substring 'l' (indicating a loss).</div>
261
+ <div class="content" id="step-2">
262
+ <table>
263
+ <tr>
264
+ <td>week</td>
265
+ <td>date</td>
266
+ <td>opponent</td>
267
+ <td>result</td>
268
+ <td>attendance</td>
269
+ <td>win_count</td>
270
+ </tr>
271
+ <tr>
272
+ <td>2</td>
273
+ <td>1976-09-19</td>
274
+ <td>atlanta falcons</td>
275
+ <td>w 24 - 10</td>
276
+ <td>50840</td>
277
+ <td>6</td>
278
+ </tr>
279
+ <tr>
280
+ <td>5</td>
281
+ <td>1976-10-10</td>
282
+ <td>new england patriots</td>
283
+ <td>w 30 - 10</td>
284
+ <td>60174</td>
285
+ <td>6</td>
286
+ </tr>
287
+ <tr>
288
+ <td>7</td>
289
+ <td>1976-10-24</td>
290
+ <td>seattle seahawks</td>
291
+ <td>w 41 - 14</td>
292
+ <td>61280</td>
293
+ <td>6</td>
294
+ </tr>
295
+ <tr>
296
+ <td>8</td>
297
+ <td>1976-10-31</td>
298
+ <td>green bay packers</td>
299
+ <td>w 27 - 6</td>
300
+ <td>74992</td>
301
+ <td>6</td>
302
+ </tr>
303
+ <tr>
304
+ <td>11</td>
305
+ <td>1976-11-21</td>
306
+ <td>chicago bears</td>
307
+ <td>w 14 - 10</td>
308
+ <td>78042</td>
309
+ <td>6</td>
310
+ </tr>
311
+ <tr>
312
+ <td>12</td>
313
+ <td>1976-11-25</td>
314
+ <td>buffalo bills</td>
315
+ <td>w 27 - 14</td>
316
+ <td>66875</td>
317
+ <td>6</td>
318
+ </tr>
319
+ </table>
320
+ </div>
321
+ </div>
322
+ <hr/>
323
+ <div class="step">
324
+ <div class="step-title">Step 5: Use a `COUNT` function to count the number of rows from step 4 and add column 'loss_count' to the existing table.</div>
325
+ <div class="content" id="step-3">
326
+ <table>
327
+ <tr>
328
+ <td>week</td>
329
+ <td>date</td>
330
+ <td>opponent</td>
331
+ <td>result</td>
332
+ <td>attendance</td>
333
+ <td>win_count</td>
334
+ </tr>
335
+ </table>
336
+ </div>
337
+ </div>
338
+ <hr/>
339
+ <div class="step">
340
+ <div class="step-title">Step 6: Select rows where the 'loss_count' is equal to 8.</div>
341
+ <div class="content" id="step-4">
342
+ <table>
343
+ <tr>
344
+ <td>week</td>
345
+ <td>date</td>
346
+ <td>opponent</td>
347
+ <td>result</td>
348
+ <td>attendance</td>
349
+ <td>win_count</td>
350
+ <td>loss_count</td>
351
+ </tr>
352
+ </table>
353
+ </div>
354
+ </div>
355
+ <hr/>
356
+ <div class="step">
357
+ <div class="step-title">Step 7: Use a `CASE` statement to return TRUE if the number of rows from step 3 and step 6 is equal to 1, otherwise return FALSE.</div>
358
+ <div class="content" id="step-5">
359
+ <table>
360
+ <tr>
361
+ <td>week</td>
362
+ <td>date</td>
363
+ <td>opponent</td>
364
+ <td>result</td>
365
+ <td>attendance</td>
366
+ <td>win_count</td>
367
+ <td>loss_count</td>
368
+ </tr>
369
+ </table>
370
+ </div>
371
+ </div>
372
+ <hr/>
373
+
374
+ </div>
375
+ </div>
376
+ <hr/>
377
+ </body></html>
htmls_POS_mod2/FN/test-1231.html ADDED
@@ -0,0 +1,292 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the packers scored the least amount of points (6) in a game versus the lions</h3>
24
+ <h3>Input Table: 1976 detroit lions season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by 'result' in ascending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>week</td>
32
+ <td>date</td>
33
+ <td>opponent</td>
34
+ <td>result</td>
35
+ <td>attendance</td>
36
+ </tr>
37
+ <tr>
38
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
39
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-09-12</span></td>
40
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chicago bears</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 10 - 3</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">54125</span></td>
43
+ </tr>
44
+ <tr>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-09-19</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">atlanta falcons</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 24 - 10</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">50840</span></td>
50
+ </tr>
51
+ <tr>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-09-26</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">minnesota vikings</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 10 - 9</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">77292</span></td>
57
+ </tr>
58
+ <tr>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-10-03</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">green bay packers</span></td>
62
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 24 - 14</span></td>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">55041</span></td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-10-10</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">new england patriots</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 30 - 10</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">60174</span></td>
71
+ </tr>
72
+ <tr>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
74
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-10-17</span></td>
75
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">washington redskins</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 20 - 7</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">45908</span></td>
78
+ </tr>
79
+ <tr>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-10-24</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">seattle seahawks</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 41 - 14</span></td>
84
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">61280</span></td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">8</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-10-31</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">green bay packers</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 27 - 6</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">74992</span></td>
92
+ </tr>
93
+ <tr>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-11-07</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">minnesota vikings</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 31 - 23</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">46735</span></td>
99
+ </tr>
100
+ <tr>
101
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-11-14</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">new orleans saints</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 17 - 16</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">42048</span></td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-11-21</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chicago bears</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 14 - 10</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">78042</span></td>
113
+ </tr>
114
+ <tr>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-11-25</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">buffalo bills</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 27 - 14</span></td>
119
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">66875</span></td>
120
+ </tr>
121
+ <tr>
122
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-12-05</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">new york giants</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 24 - 10</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">66069</span></td>
127
+ </tr>
128
+ <tr>
129
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14</span></td>
130
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1976-12-11</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">los angeles rams</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">l 20 - 17</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">73470</span></td>
134
+ </tr>
135
+ </table>
136
+ </div>
137
+ <hr/>
138
+ <div class="step">
139
+ <div class="step-title">Step 2: Select row number 1.</div>
140
+ <div class="content" id="step-0">
141
+ <table>
142
+ <tr>
143
+ <td>week</td>
144
+ <td>date</td>
145
+ <td>opponent</td>
146
+ <td>result</td>
147
+ <td>attendance</td>
148
+ </tr>
149
+ <tr>
150
+ <td>1</td>
151
+ <td>1976-09-12</td>
152
+ <td>chicago bears</td>
153
+ <td>l 10 - 3</td>
154
+ <td>54125</td>
155
+ </tr>
156
+ <tr>
157
+ <td>3</td>
158
+ <td>1976-09-26</td>
159
+ <td>minnesota vikings</td>
160
+ <td>l 10 - 9</td>
161
+ <td>77292</td>
162
+ </tr>
163
+ <tr>
164
+ <td>10</td>
165
+ <td>1976-11-14</td>
166
+ <td>new orleans saints</td>
167
+ <td>l 17 - 16</td>
168
+ <td>42048</td>
169
+ </tr>
170
+ <tr>
171
+ <td>14</td>
172
+ <td>1976-12-11</td>
173
+ <td>los angeles rams</td>
174
+ <td>l 20 - 17</td>
175
+ <td>73470</td>
176
+ </tr>
177
+ <tr>
178
+ <td>6</td>
179
+ <td>1976-10-17</td>
180
+ <td>washington redskins</td>
181
+ <td>l 20 - 7</td>
182
+ <td>45908</td>
183
+ </tr>
184
+ <tr>
185
+ <td>13</td>
186
+ <td>1976-12-05</td>
187
+ <td>new york giants</td>
188
+ <td>l 24 - 10</td>
189
+ <td>66069</td>
190
+ </tr>
191
+ <tr>
192
+ <td>4</td>
193
+ <td>1976-10-03</td>
194
+ <td>green bay packers</td>
195
+ <td>l 24 - 14</td>
196
+ <td>55041</td>
197
+ </tr>
198
+ <tr>
199
+ <td>9</td>
200
+ <td>1976-11-07</td>
201
+ <td>minnesota vikings</td>
202
+ <td>l 31 - 23</td>
203
+ <td>46735</td>
204
+ </tr>
205
+ <tr>
206
+ <td>11</td>
207
+ <td>1976-11-21</td>
208
+ <td>chicago bears</td>
209
+ <td>w 14 - 10</td>
210
+ <td>78042</td>
211
+ </tr>
212
+ <tr>
213
+ <td>2</td>
214
+ <td>1976-09-19</td>
215
+ <td>atlanta falcons</td>
216
+ <td>w 24 - 10</td>
217
+ <td>50840</td>
218
+ </tr>
219
+ <tr>
220
+ <td>12</td>
221
+ <td>1976-11-25</td>
222
+ <td>buffalo bills</td>
223
+ <td>w 27 - 14</td>
224
+ <td>66875</td>
225
+ </tr>
226
+ <tr>
227
+ <td>8</td>
228
+ <td>1976-10-31</td>
229
+ <td>green bay packers</td>
230
+ <td>w 27 - 6</td>
231
+ <td>74992</td>
232
+ </tr>
233
+ <tr>
234
+ <td>5</td>
235
+ <td>1976-10-10</td>
236
+ <td>new england patriots</td>
237
+ <td>w 30 - 10</td>
238
+ <td>60174</td>
239
+ </tr>
240
+ <tr>
241
+ <td>7</td>
242
+ <td>1976-10-24</td>
243
+ <td>seattle seahawks</td>
244
+ <td>w 41 - 14</td>
245
+ <td>61280</td>
246
+ </tr>
247
+ </table>
248
+ </div>
249
+ </div>
250
+ <hr/>
251
+ <div class="step">
252
+ <div class="step-title">Step 3: Select rows where 'opponent' is 'green bay packers'.</div>
253
+ <div class="content" id="step-1">
254
+ <table>
255
+ <tr>
256
+ <td>week</td>
257
+ <td>date</td>
258
+ <td>opponent</td>
259
+ <td>result</td>
260
+ <td>attendance</td>
261
+ </tr>
262
+ <tr>
263
+ <td>1</td>
264
+ <td>1976-09-12</td>
265
+ <td>chicago bears</td>
266
+ <td>l 10 - 3</td>
267
+ <td>54125</td>
268
+ </tr>
269
+ </table>
270
+ </div>
271
+ </div>
272
+ <hr/>
273
+ <div class="step">
274
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1 and the 'result' is 'w 27 - 6', otherwise return FALSE.</div>
275
+ <div class="content" id="step-2">
276
+ <table>
277
+ <tr>
278
+ <td>week</td>
279
+ <td>date</td>
280
+ <td>opponent</td>
281
+ <td>result</td>
282
+ <td>attendance</td>
283
+ </tr>
284
+ </table>
285
+ </div>
286
+ </div>
287
+ <hr/>
288
+
289
+ </div>
290
+ </div>
291
+ <hr/>
292
+ </body></html>
htmls_POS_mod2/FN/test-124.html ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> jose ortiz was the center in the oregon state jazz club from 1988 - 90</h3>
24
+ <h3>Input Table: utah jazz all - time roster</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'player' is 'jose ortiz'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>player</td>
32
+ <td>nationality</td>
33
+ <td>position</td>
34
+ <td>years_for_jazz</td>
35
+ <td>school___club_team</td>
36
+ </tr>
37
+ <tr>
38
+ <td>mehmet okur</td>
39
+ <td>turkey</td>
40
+ <td>forward - center</td>
41
+ <td>2004 - 11</td>
42
+ <td>efes pilsen ( turkey )</td>
43
+ </tr>
44
+ <tr>
45
+ <td>josã ortiz</td>
46
+ <td>puerto rico</td>
47
+ <td>center</td>
48
+ <td>1988 - 90</td>
49
+ <td>oregon state</td>
50
+ </tr>
51
+ <tr>
52
+ <td>greg ostertag</td>
53
+ <td>united states</td>
54
+ <td>center</td>
55
+ <td>1995 - 2004 , 2005 - 06</td>
56
+ <td>kansas</td>
57
+ </tr>
58
+ <tr>
59
+ <td>dan o 'sullivan</td>
60
+ <td>united states</td>
61
+ <td>center</td>
62
+ <td>1990 - 91</td>
63
+ <td>fordham</td>
64
+ </tr>
65
+ <tr>
66
+ <td>andre owens</td>
67
+ <td>united states</td>
68
+ <td>guard</td>
69
+ <td>2005 - 06</td>
70
+ <td>houston</td>
71
+ </tr>
72
+ </table>
73
+ </div>
74
+ <hr/>
75
+ <div class="step">
76
+ <div class="step-title">Step 2: Select rows where 'position' is 'center'.</div>
77
+ <div class="content" id="step-0">
78
+ <table>
79
+ <tr>
80
+ <td>player</td>
81
+ <td>nationality</td>
82
+ <td>position</td>
83
+ <td>years_for_jazz</td>
84
+ <td>school___club_team</td>
85
+ </tr>
86
+ </table>
87
+ </div>
88
+ </div>
89
+ <hr/>
90
+ <div class="step">
91
+ <div class="step-title">Step 3: Select rows where 'school___club_team' is 'oregon state'.</div>
92
+ <div class="content" id="step-1">
93
+ <table>
94
+ <tr>
95
+ <td>player</td>
96
+ <td>nationality</td>
97
+ <td>position</td>
98
+ <td>years_for_jazz</td>
99
+ <td>school___club_team</td>
100
+ </tr>
101
+ </table>
102
+ </div>
103
+ </div>
104
+ <hr/>
105
+ <div class="step">
106
+ <div class="step-title">Step 4: Select rows where 'years_for_jazz' is '1988-90'.</div>
107
+ <div class="content" id="step-2">
108
+ <table>
109
+ <tr>
110
+ <td>player</td>
111
+ <td>nationality</td>
112
+ <td>position</td>
113
+ <td>years_for_jazz</td>
114
+ <td>school___club_team</td>
115
+ </tr>
116
+ </table>
117
+ </div>
118
+ </div>
119
+ <hr/>
120
+ <div class="step">
121
+ <div class="step-title">Step 5: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
122
+ <div class="content" id="step-3">
123
+ <table>
124
+ <tr>
125
+ <td>player</td>
126
+ <td>nationality</td>
127
+ <td>position</td>
128
+ <td>years_for_jazz</td>
129
+ <td>school___club_team</td>
130
+ </tr>
131
+ </table>
132
+ </div>
133
+ </div>
134
+ <hr/>
135
+
136
+ </div>
137
+ </div>
138
+ <hr/>
139
+ </body></html>
htmls_POS_mod2/FN/test-1240.html ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> episode 11 had 2.77 million us viewers</h3>
24
+ <h3>Input Table: list of white collar episodes</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'no_in_series' is 11.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>no_in_series</td>
32
+ <td>no_in_season</td>
33
+ <td>title</td>
34
+ <td>directed_by</td>
35
+ <td>written_by</td>
36
+ <td>us_viewers__million_</td>
37
+ <td>original_air_date</td>
38
+ <td>production_code</td>
39
+ </tr>
40
+ <tr>
41
+ <td>47</td>
42
+ <td>1</td>
43
+ <td>wanted</td>
44
+ <td>paul holahan</td>
45
+ <td>jeff eastin</td>
46
+ <td>3.21</td>
47
+ <td>2012-07-10</td>
48
+ <td>bcw401</td>
49
+ </tr>
50
+ <tr>
51
+ <td>48</td>
52
+ <td>2</td>
53
+ <td>most wanted</td>
54
+ <td>paul holahan</td>
55
+ <td>mark goffman</td>
56
+ <td>2.98</td>
57
+ <td>2012-07-17</td>
58
+ <td>bcw402</td>
59
+ </tr>
60
+ <tr>
61
+ <td>49</td>
62
+ <td>3</td>
63
+ <td>diminishing returns</td>
64
+ <td>stefan schwartz</td>
65
+ <td>jim campolongo</td>
66
+ <td>3.01</td>
67
+ <td>2012-07-24</td>
68
+ <td>bcw403</td>
69
+ </tr>
70
+ <tr>
71
+ <td>50</td>
72
+ <td>4</td>
73
+ <td>parting shots</td>
74
+ <td>robert duncan mcneill</td>
75
+ <td>alexandra mcnally</td>
76
+ <td>2.82</td>
77
+ <td>2012-07-31</td>
78
+ <td>bcw404</td>
79
+ </tr>
80
+ <tr>
81
+ <td>51</td>
82
+ <td>5</td>
83
+ <td>honor among thieves</td>
84
+ <td>arlene sanford</td>
85
+ <td>joe henderson</td>
86
+ <td>2.93</td>
87
+ <td>2012-08-14</td>
88
+ <td>bcw405</td>
89
+ </tr>
90
+ <tr>
91
+ <td>52</td>
92
+ <td>6</td>
93
+ <td>identity crisis</td>
94
+ <td>david straiton</td>
95
+ <td>channing powell</td>
96
+ <td>3.89</td>
97
+ <td>2012-08-21</td>
98
+ <td>bcw406</td>
99
+ </tr>
100
+ <tr>
101
+ <td>53</td>
102
+ <td>7</td>
103
+ <td>compromising positions</td>
104
+ <td>paul holahan</td>
105
+ <td>matthew negrete</td>
106
+ <td>3.36</td>
107
+ <td>2012-08-28</td>
108
+ <td>bcw407</td>
109
+ </tr>
110
+ <tr>
111
+ <td>54</td>
112
+ <td>8</td>
113
+ <td>ancient history</td>
114
+ <td>russell lee fine</td>
115
+ <td>daniel shattuck</td>
116
+ <td>3.38</td>
117
+ <td>2012-09-04</td>
118
+ <td>bcw408</td>
119
+ </tr>
120
+ <tr>
121
+ <td>55</td>
122
+ <td>9</td>
123
+ <td>gloves off</td>
124
+ <td>renny harlin</td>
125
+ <td>mark goffman</td>
126
+ <td>3.8</td>
127
+ <td>2012-09-11</td>
128
+ <td>bcw409</td>
129
+ </tr>
130
+ <tr>
131
+ <td>56</td>
132
+ <td>10</td>
133
+ <td>vested interest</td>
134
+ <td>russell lee fine</td>
135
+ <td>jeff eastin</td>
136
+ <td>3.41</td>
137
+ <td>2012-09-18</td>
138
+ <td>bcw410</td>
139
+ </tr>
140
+ <tr>
141
+ <td>57</td>
142
+ <td>11</td>
143
+ <td>family business</td>
144
+ <td>paul holahan</td>
145
+ <td>joe henderson</td>
146
+ <td>2.77</td>
147
+ <td>2013-01-22</td>
148
+ <td>bcw411</td>
149
+ </tr>
150
+ <tr>
151
+ <td>58</td>
152
+ <td>12</td>
153
+ <td>brass tacks</td>
154
+ <td>anton cropper</td>
155
+ <td>jim campolongo &amp; alexandra mcnally</td>
156
+ <td>2.61</td>
157
+ <td>2013-01-29</td>
158
+ <td>bcw412</td>
159
+ </tr>
160
+ <tr>
161
+ <td>59</td>
162
+ <td>13</td>
163
+ <td>empire city</td>
164
+ <td>tim dekay</td>
165
+ <td>channing powell &amp; daniel shattuck</td>
166
+ <td>2.28</td>
167
+ <td>2013-02-05</td>
168
+ <td>bcw413</td>
169
+ </tr>
170
+ <tr>
171
+ <td>60</td>
172
+ <td>14</td>
173
+ <td>shoot the moon</td>
174
+ <td>russell lee fine</td>
175
+ <td>matthew negrete &amp; bob derosa</td>
176
+ <td>2.42</td>
177
+ <td>2013-02-19</td>
178
+ <td>bcw414</td>
179
+ </tr>
180
+ <tr>
181
+ <td>61</td>
182
+ <td>15</td>
183
+ <td>the original</td>
184
+ <td>john kretchmer</td>
185
+ <td>mark goffman</td>
186
+ <td>2.12</td>
187
+ <td>2013-02-26</td>
188
+ <td>bcw415</td>
189
+ </tr>
190
+ </table>
191
+ </div>
192
+ <hr/>
193
+ <div class="step">
194
+ <div class="step-title">Step 2: Select rows where 'us_viewers__million_' is 2.77.</div>
195
+ <div class="content" id="step-0">
196
+ <table>
197
+ <tr>
198
+ <td>no_in_series</td>
199
+ <td>no_in_season</td>
200
+ <td>title</td>
201
+ <td>directed_by</td>
202
+ <td>written_by</td>
203
+ <td>us_viewers__million_</td>
204
+ <td>original_air_date</td>
205
+ <td>production_code</td>
206
+ </tr>
207
+ </table>
208
+ </div>
209
+ </div>
210
+ <hr/>
211
+ <div class="step">
212
+ <div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
213
+ <div class="content" id="step-1">
214
+ <table>
215
+ <tr>
216
+ <td>no_in_series</td>
217
+ <td>no_in_season</td>
218
+ <td>title</td>
219
+ <td>directed_by</td>
220
+ <td>written_by</td>
221
+ <td>us_viewers__million_</td>
222
+ <td>original_air_date</td>
223
+ <td>production_code</td>
224
+ </tr>
225
+ </table>
226
+ </div>
227
+ </div>
228
+ <hr/>
229
+
230
+ </div>
231
+ </div>
232
+ <hr/>
233
+ </body></html>
htmls_POS_mod2/FN/test-125.html ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> andre owens was the houston jazz club guard from 2005 - 06</h3>
24
+ <h3>Input Table: utah jazz all - time roster</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'player' is 'andre owens'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>player</td>
32
+ <td>nationality</td>
33
+ <td>position</td>
34
+ <td>years_for_jazz</td>
35
+ <td>school___club_team</td>
36
+ </tr>
37
+ <tr>
38
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mehmet okur</span></td>
39
+ <td>turkey</td>
40
+ <td>forward - center</td>
41
+ <td>2004 - 11</td>
42
+ <td>efes pilsen ( turkey )</td>
43
+ </tr>
44
+ <tr>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">josã ortiz</span></td>
46
+ <td>puerto rico</td>
47
+ <td>center</td>
48
+ <td>1988 - 90</td>
49
+ <td>oregon state</td>
50
+ </tr>
51
+ <tr>
52
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg ostertag</span></td>
53
+ <td>united states</td>
54
+ <td>center</td>
55
+ <td>1995 - 2004 , 2005 - 06</td>
56
+ <td>kansas</td>
57
+ </tr>
58
+ <tr>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">dan o 'sullivan</span></td>
60
+ <td>united states</td>
61
+ <td>center</td>
62
+ <td>1990 - 91</td>
63
+ <td>fordham</td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">andre owens</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">united states</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">guard</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005 - 06</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">houston</span></td>
71
+ </tr>
72
+ </table>
73
+ </div>
74
+ <hr/>
75
+ <div class="step">
76
+ <div class="step-title">Step 2: Select rows where 'school___club_team' is 'houston'.</div>
77
+ <div class="content" id="step-0">
78
+ <table>
79
+ <tr>
80
+ <td>player</td>
81
+ <td>nationality</td>
82
+ <td>position</td>
83
+ <td>years_for_jazz</td>
84
+ <td>school___club_team</td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">andre owens</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">united states</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">guard</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005 - 06</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">houston</span></td>
92
+ </tr>
93
+ </table>
94
+ </div>
95
+ </div>
96
+ <hr/>
97
+ <div class="step">
98
+ <div class="step-title">Step 3: Select rows where 'years_for_jazz' is '2005-06'.</div>
99
+ <div class="content" id="step-1">
100
+ <table>
101
+ <tr>
102
+ <td>player</td>
103
+ <td>nationality</td>
104
+ <td>position</td>
105
+ <td>years_for_jazz</td>
106
+ <td>school___club_team</td>
107
+ </tr>
108
+ <tr>
109
+ <td>andre owens</td>
110
+ <td>united states</td>
111
+ <td>guard</td>
112
+ <td>2005 - 06</td>
113
+ <td>houston</td>
114
+ </tr>
115
+ </table>
116
+ </div>
117
+ </div>
118
+ <hr/>
119
+ <div class="step">
120
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
121
+ <div class="content" id="step-2">
122
+ <table>
123
+ <tr>
124
+ <td>player</td>
125
+ <td>nationality</td>
126
+ <td>position</td>
127
+ <td>years_for_jazz</td>
128
+ <td>school___club_team</td>
129
+ </tr>
130
+ </table>
131
+ </div>
132
+ </div>
133
+ <hr/>
134
+
135
+ </div>
136
+ </div>
137
+ <hr/>
138
+ </body></html>
htmls_POS_mod2/FN/test-1250.html ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> both pakistan and yemen have won one bronze medal for wushu at the asian games</h3>
24
+ <h3>Input Table: wushu at the asian games</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'nation' is 'pakistan' or 'yemen'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>rank</td>
32
+ <td>nation</td>
33
+ <td>gold</td>
34
+ <td>silver</td>
35
+ <td>bronze</td>
36
+ <td>total</td>
37
+ </tr>
38
+ <tr>
39
+ <td>1</td>
40
+ <td>china (chn)</td>
41
+ <td>43</td>
42
+ <td>7</td>
43
+ <td>3</td>
44
+ <td>53</td>
45
+ </tr>
46
+ <tr>
47
+ <td>2</td>
48
+ <td>iran (iri)</td>
49
+ <td>4</td>
50
+ <td>3</td>
51
+ <td>5</td>
52
+ <td>12</td>
53
+ </tr>
54
+ <tr>
55
+ <td>3</td>
56
+ <td>malaysia (mas)</td>
57
+ <td>3</td>
58
+ <td>1</td>
59
+ <td>5</td>
60
+ <td>9</td>
61
+ </tr>
62
+ <tr>
63
+ <td>4</td>
64
+ <td>hong kong (hkg)</td>
65
+ <td>2</td>
66
+ <td>9</td>
67
+ <td>4</td>
68
+ <td>15</td>
69
+ </tr>
70
+ <tr>
71
+ <td>5</td>
72
+ <td>thailand (tha)</td>
73
+ <td>2</td>
74
+ <td>3</td>
75
+ <td>6</td>
76
+ <td>11</td>
77
+ </tr>
78
+ <tr>
79
+ <td>6</td>
80
+ <td>japan (jpn)</td>
81
+ <td>1</td>
82
+ <td>6</td>
83
+ <td>5</td>
84
+ <td>12</td>
85
+ </tr>
86
+ <tr>
87
+ <td>7</td>
88
+ <td>philippines (phi)</td>
89
+ <td>1</td>
90
+ <td>5</td>
91
+ <td>8</td>
92
+ <td>14</td>
93
+ </tr>
94
+ <tr>
95
+ <td>8</td>
96
+ <td>macau (mac)</td>
97
+ <td>1</td>
98
+ <td>5</td>
99
+ <td>4</td>
100
+ <td>10</td>
101
+ </tr>
102
+ <tr>
103
+ <td>9</td>
104
+ <td>south korea (kor)</td>
105
+ <td>1</td>
106
+ <td>4</td>
107
+ <td>6</td>
108
+ <td>11</td>
109
+ </tr>
110
+ <tr>
111
+ <td>10</td>
112
+ <td>chinese taipei (tpe)</td>
113
+ <td>1</td>
114
+ <td>3</td>
115
+ <td>11</td>
116
+ <td>15</td>
117
+ </tr>
118
+ <tr>
119
+ <td>11</td>
120
+ <td>myanmar (mya)</td>
121
+ <td>1</td>
122
+ <td>1</td>
123
+ <td>2</td>
124
+ <td>4</td>
125
+ </tr>
126
+ <tr>
127
+ <td>12</td>
128
+ <td>vietnam (vie)</td>
129
+ <td>0</td>
130
+ <td>9</td>
131
+ <td>7</td>
132
+ <td>16</td>
133
+ </tr>
134
+ <tr>
135
+ <td>13</td>
136
+ <td>indonesia (ina)</td>
137
+ <td>0</td>
138
+ <td>2</td>
139
+ <td>2</td>
140
+ <td>4</td>
141
+ </tr>
142
+ <tr>
143
+ <td>14</td>
144
+ <td>laos (lao)</td>
145
+ <td>0</td>
146
+ <td>1</td>
147
+ <td>5</td>
148
+ <td>6</td>
149
+ </tr>
150
+ <tr>
151
+ <td>15</td>
152
+ <td>india (ind)</td>
153
+ <td>0</td>
154
+ <td>1</td>
155
+ <td>2</td>
156
+ <td>3</td>
157
+ </tr>
158
+ <tr>
159
+ <td>16</td>
160
+ <td>pakistan (pak)</td>
161
+ <td>0</td>
162
+ <td>1</td>
163
+ <td>1</td>
164
+ <td>2</td>
165
+ </tr>
166
+ <tr>
167
+ <td>17</td>
168
+ <td>singapore (sin)</td>
169
+ <td>0</td>
170
+ <td>0</td>
171
+ <td>5</td>
172
+ <td>5</td>
173
+ </tr>
174
+ <tr>
175
+ <td>18</td>
176
+ <td>mongolia (mgl)</td>
177
+ <td>0</td>
178
+ <td>0</td>
179
+ <td>3</td>
180
+ <td>3</td>
181
+ </tr>
182
+ <tr>
183
+ <td>19</td>
184
+ <td>kazakhstan (kaz)</td>
185
+ <td>0</td>
186
+ <td>0</td>
187
+ <td>2</td>
188
+ <td>2</td>
189
+ </tr>
190
+ <tr>
191
+ <td>20</td>
192
+ <td>yemen (yem)</td>
193
+ <td>0</td>
194
+ <td>0</td>
195
+ <td>1</td>
196
+ <td>1</td>
197
+ </tr>
198
+ <tr>
199
+ <td>total</td>
200
+ <td>total</td>
201
+ <td>60</td>
202
+ <td>61</td>
203
+ <td>87</td>
204
+ <td>208</td>
205
+ </tr>
206
+ </table>
207
+ </div>
208
+ <hr/>
209
+ <div class="step">
210
+ <div class="step-title">Step 2: Select rows where 'bronze' is 1.</div>
211
+ <div class="content" id="step-0">
212
+ <table>
213
+ <tr>
214
+ <td>rank</td>
215
+ <td>nation</td>
216
+ <td>gold</td>
217
+ <td>silver</td>
218
+ <td>bronze</td>
219
+ <td>total</td>
220
+ </tr>
221
+ </table>
222
+ </div>
223
+ </div>
224
+ <hr/>
225
+ <div class="step">
226
+ <div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 2, otherwise return FALSE.</div>
227
+ <div class="content" id="step-1">
228
+ <table>
229
+ <tr>
230
+ <td>rank</td>
231
+ <td>nation</td>
232
+ <td>gold</td>
233
+ <td>silver</td>
234
+ <td>bronze</td>
235
+ <td>total</td>
236
+ </tr>
237
+ </table>
238
+ </div>
239
+ </div>
240
+ <hr/>
241
+
242
+ </div>
243
+ </div>
244
+ <hr/>
245
+ </body></html>
htmls_POS_mod2/FN/test-1251.html ADDED
@@ -0,0 +1,336 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> china has won 39 more gold medals than iran for wushu at the asian games</h3>
24
+ <h3>Input Table: wushu at the asian games</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'nation' is 'china (chn)'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>rank</td>
32
+ <td>nation</td>
33
+ <td>gold</td>
34
+ <td>silver</td>
35
+ <td>bronze</td>
36
+ <td>total</td>
37
+ </tr>
38
+ <tr>
39
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
40
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">china (chn)</span></td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">43</span></td>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
43
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
44
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">53</span></td>
45
+ </tr>
46
+ <tr>
47
+ <td>2</td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">iran (iri)</span></td>
49
+ <td>4</td>
50
+ <td>3</td>
51
+ <td>5</td>
52
+ <td>12</td>
53
+ </tr>
54
+ <tr>
55
+ <td>3</td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">malaysia (mas)</span></td>
57
+ <td>3</td>
58
+ <td>1</td>
59
+ <td>5</td>
60
+ <td>9</td>
61
+ </tr>
62
+ <tr>
63
+ <td>4</td>
64
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hong kong (hkg)</span></td>
65
+ <td>2</td>
66
+ <td>9</td>
67
+ <td>4</td>
68
+ <td>15</td>
69
+ </tr>
70
+ <tr>
71
+ <td>5</td>
72
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">thailand (tha)</span></td>
73
+ <td>2</td>
74
+ <td>3</td>
75
+ <td>6</td>
76
+ <td>11</td>
77
+ </tr>
78
+ <tr>
79
+ <td>6</td>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">japan (jpn)</span></td>
81
+ <td>1</td>
82
+ <td>6</td>
83
+ <td>5</td>
84
+ <td>12</td>
85
+ </tr>
86
+ <tr>
87
+ <td>7</td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">philippines (phi)</span></td>
89
+ <td>1</td>
90
+ <td>5</td>
91
+ <td>8</td>
92
+ <td>14</td>
93
+ </tr>
94
+ <tr>
95
+ <td>8</td>
96
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">macau (mac)</span></td>
97
+ <td>1</td>
98
+ <td>5</td>
99
+ <td>4</td>
100
+ <td>10</td>
101
+ </tr>
102
+ <tr>
103
+ <td>9</td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">south korea (kor)</span></td>
105
+ <td>1</td>
106
+ <td>4</td>
107
+ <td>6</td>
108
+ <td>11</td>
109
+ </tr>
110
+ <tr>
111
+ <td>10</td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chinese taipei (tpe)</span></td>
113
+ <td>1</td>
114
+ <td>3</td>
115
+ <td>11</td>
116
+ <td>15</td>
117
+ </tr>
118
+ <tr>
119
+ <td>11</td>
120
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">myanmar (mya)</span></td>
121
+ <td>1</td>
122
+ <td>1</td>
123
+ <td>2</td>
124
+ <td>4</td>
125
+ </tr>
126
+ <tr>
127
+ <td>12</td>
128
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">vietnam (vie)</span></td>
129
+ <td>0</td>
130
+ <td>9</td>
131
+ <td>7</td>
132
+ <td>16</td>
133
+ </tr>
134
+ <tr>
135
+ <td>13</td>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">indonesia (ina)</span></td>
137
+ <td>0</td>
138
+ <td>2</td>
139
+ <td>2</td>
140
+ <td>4</td>
141
+ </tr>
142
+ <tr>
143
+ <td>14</td>
144
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">laos (lao)</span></td>
145
+ <td>0</td>
146
+ <td>1</td>
147
+ <td>5</td>
148
+ <td>6</td>
149
+ </tr>
150
+ <tr>
151
+ <td>15</td>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">india (ind)</span></td>
153
+ <td>0</td>
154
+ <td>1</td>
155
+ <td>2</td>
156
+ <td>3</td>
157
+ </tr>
158
+ <tr>
159
+ <td>16</td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pakistan (pak)</span></td>
161
+ <td>0</td>
162
+ <td>1</td>
163
+ <td>1</td>
164
+ <td>2</td>
165
+ </tr>
166
+ <tr>
167
+ <td>17</td>
168
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">singapore (sin)</span></td>
169
+ <td>0</td>
170
+ <td>0</td>
171
+ <td>5</td>
172
+ <td>5</td>
173
+ </tr>
174
+ <tr>
175
+ <td>18</td>
176
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mongolia (mgl)</span></td>
177
+ <td>0</td>
178
+ <td>0</td>
179
+ <td>3</td>
180
+ <td>3</td>
181
+ </tr>
182
+ <tr>
183
+ <td>19</td>
184
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kazakhstan (kaz)</span></td>
185
+ <td>0</td>
186
+ <td>0</td>
187
+ <td>2</td>
188
+ <td>2</td>
189
+ </tr>
190
+ <tr>
191
+ <td>20</td>
192
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">yemen (yem)</span></td>
193
+ <td>0</td>
194
+ <td>0</td>
195
+ <td>1</td>
196
+ <td>1</td>
197
+ </tr>
198
+ <tr>
199
+ <td>total</td>
200
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">total</span></td>
201
+ <td>60</td>
202
+ <td>61</td>
203
+ <td>87</td>
204
+ <td>208</td>
205
+ </tr>
206
+ </table>
207
+ </div>
208
+ <hr/>
209
+ <div class="step">
210
+ <div class="step-title">Step 2: Extract the value of 'gold' from the selected rows and add a column 'china_gold' to the existing table.</div>
211
+ <div class="content" id="step-0">
212
+ <table>
213
+ <tr>
214
+ <td>rank</td>
215
+ <td>nation</td>
216
+ <td>gold</td>
217
+ <td>silver</td>
218
+ <td>bronze</td>
219
+ <td>total</td>
220
+ </tr>
221
+ <tr>
222
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
223
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">china (chn)</span></td>
224
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">43</span></td>
225
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
226
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
227
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">53</span></td>
228
+ </tr>
229
+ </table>
230
+ </div>
231
+ </div>
232
+ <hr/>
233
+ <div class="step">
234
+ <div class="step-title">Step 3: Select rows where 'nation' is 'iran (iri)'.</div>
235
+ <div class="content" id="step-1">
236
+ <table>
237
+ <tr>
238
+ <td>rank</td>
239
+ <td>nation</td>
240
+ <td>gold</td>
241
+ <td>silver</td>
242
+ <td>bronze</td>
243
+ <td>total</td>
244
+ <td>china_gold</td>
245
+ </tr>
246
+ <tr>
247
+ <td>1</td>
248
+ <td>china (chn)</td>
249
+ <td>43</td>
250
+ <td>7</td>
251
+ <td>3</td>
252
+ <td>53</td>
253
+ <td>43</td>
254
+ </tr>
255
+ </table>
256
+ </div>
257
+ </div>
258
+ <hr/>
259
+ <div class="step">
260
+ <div class="step-title">Step 4: Extract the value of 'gold' from the selected rows and add a column 'iran_gold' to the existing table.</div>
261
+ <div class="content" id="step-2">
262
+ <table>
263
+ <tr>
264
+ <td>rank</td>
265
+ <td>nation</td>
266
+ <td>gold</td>
267
+ <td>silver</td>
268
+ <td>bronze</td>
269
+ <td>total</td>
270
+ <td>china_gold</td>
271
+ </tr>
272
+ </table>
273
+ </div>
274
+ </div>
275
+ <hr/>
276
+ <div class="step">
277
+ <div class="step-title">Step 5: Calculate the difference between 'china_gold' and 'iran_gold' and add a column 'gold_difference' to the existing table.</div>
278
+ <div class="content" id="step-3">
279
+ <table>
280
+ <tr>
281
+ <td>rank</td>
282
+ <td>nation</td>
283
+ <td>gold</td>
284
+ <td>silver</td>
285
+ <td>bronze</td>
286
+ <td>total</td>
287
+ <td>china_gold</td>
288
+ <td>iran_gold</td>
289
+ </tr>
290
+ </table>
291
+ </div>
292
+ </div>
293
+ <hr/>
294
+ <div class="step">
295
+ <div class="step-title">Step 6: Select rows where 'gold_difference' is equal to 39.</div>
296
+ <div class="content" id="step-4">
297
+ <table>
298
+ <tr>
299
+ <td>rank</td>
300
+ <td>nation</td>
301
+ <td>gold</td>
302
+ <td>silver</td>
303
+ <td>bronze</td>
304
+ <td>total</td>
305
+ <td>china_gold</td>
306
+ <td>iran_gold</td>
307
+ <td>gold_difference</td>
308
+ </tr>
309
+ </table>
310
+ </div>
311
+ </div>
312
+ <hr/>
313
+ <div class="step">
314
+ <div class="step-title">Step 7: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
315
+ <div class="content" id="step-5">
316
+ <table>
317
+ <tr>
318
+ <td>rank</td>
319
+ <td>nation</td>
320
+ <td>gold</td>
321
+ <td>silver</td>
322
+ <td>bronze</td>
323
+ <td>total</td>
324
+ <td>china_gold</td>
325
+ <td>iran_gold</td>
326
+ <td>gold_difference</td>
327
+ </tr>
328
+ </table>
329
+ </div>
330
+ </div>
331
+ <hr/>
332
+
333
+ </div>
334
+ </div>
335
+ <hr/>
336
+ </body></html>
htmls_POS_mod2/FN/test-1253.html ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the philippines and macau have won the same number of gold and silver medals for wushu , but the philippines have won 4 more bronze medals</h3>
24
+ <h3>Input Table: wushu at the asian games</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'nation' is 'philippines' or 'macau'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>rank</td>
32
+ <td>nation</td>
33
+ <td>gold</td>
34
+ <td>silver</td>
35
+ <td>bronze</td>
36
+ <td>total</td>
37
+ </tr>
38
+ <tr>
39
+ <td>1</td>
40
+ <td>china (chn)</td>
41
+ <td>43</td>
42
+ <td>7</td>
43
+ <td>3</td>
44
+ <td>53</td>
45
+ </tr>
46
+ <tr>
47
+ <td>2</td>
48
+ <td>iran (iri)</td>
49
+ <td>4</td>
50
+ <td>3</td>
51
+ <td>5</td>
52
+ <td>12</td>
53
+ </tr>
54
+ <tr>
55
+ <td>3</td>
56
+ <td>malaysia (mas)</td>
57
+ <td>3</td>
58
+ <td>1</td>
59
+ <td>5</td>
60
+ <td>9</td>
61
+ </tr>
62
+ <tr>
63
+ <td>4</td>
64
+ <td>hong kong (hkg)</td>
65
+ <td>2</td>
66
+ <td>9</td>
67
+ <td>4</td>
68
+ <td>15</td>
69
+ </tr>
70
+ <tr>
71
+ <td>5</td>
72
+ <td>thailand (tha)</td>
73
+ <td>2</td>
74
+ <td>3</td>
75
+ <td>6</td>
76
+ <td>11</td>
77
+ </tr>
78
+ <tr>
79
+ <td>6</td>
80
+ <td>japan (jpn)</td>
81
+ <td>1</td>
82
+ <td>6</td>
83
+ <td>5</td>
84
+ <td>12</td>
85
+ </tr>
86
+ <tr>
87
+ <td>7</td>
88
+ <td>philippines (phi)</td>
89
+ <td>1</td>
90
+ <td>5</td>
91
+ <td>8</td>
92
+ <td>14</td>
93
+ </tr>
94
+ <tr>
95
+ <td>8</td>
96
+ <td>macau (mac)</td>
97
+ <td>1</td>
98
+ <td>5</td>
99
+ <td>4</td>
100
+ <td>10</td>
101
+ </tr>
102
+ <tr>
103
+ <td>9</td>
104
+ <td>south korea (kor)</td>
105
+ <td>1</td>
106
+ <td>4</td>
107
+ <td>6</td>
108
+ <td>11</td>
109
+ </tr>
110
+ <tr>
111
+ <td>10</td>
112
+ <td>chinese taipei (tpe)</td>
113
+ <td>1</td>
114
+ <td>3</td>
115
+ <td>11</td>
116
+ <td>15</td>
117
+ </tr>
118
+ <tr>
119
+ <td>11</td>
120
+ <td>myanmar (mya)</td>
121
+ <td>1</td>
122
+ <td>1</td>
123
+ <td>2</td>
124
+ <td>4</td>
125
+ </tr>
126
+ <tr>
127
+ <td>12</td>
128
+ <td>vietnam (vie)</td>
129
+ <td>0</td>
130
+ <td>9</td>
131
+ <td>7</td>
132
+ <td>16</td>
133
+ </tr>
134
+ <tr>
135
+ <td>13</td>
136
+ <td>indonesia (ina)</td>
137
+ <td>0</td>
138
+ <td>2</td>
139
+ <td>2</td>
140
+ <td>4</td>
141
+ </tr>
142
+ <tr>
143
+ <td>14</td>
144
+ <td>laos (lao)</td>
145
+ <td>0</td>
146
+ <td>1</td>
147
+ <td>5</td>
148
+ <td>6</td>
149
+ </tr>
150
+ <tr>
151
+ <td>15</td>
152
+ <td>india (ind)</td>
153
+ <td>0</td>
154
+ <td>1</td>
155
+ <td>2</td>
156
+ <td>3</td>
157
+ </tr>
158
+ <tr>
159
+ <td>16</td>
160
+ <td>pakistan (pak)</td>
161
+ <td>0</td>
162
+ <td>1</td>
163
+ <td>1</td>
164
+ <td>2</td>
165
+ </tr>
166
+ <tr>
167
+ <td>17</td>
168
+ <td>singapore (sin)</td>
169
+ <td>0</td>
170
+ <td>0</td>
171
+ <td>5</td>
172
+ <td>5</td>
173
+ </tr>
174
+ <tr>
175
+ <td>18</td>
176
+ <td>mongolia (mgl)</td>
177
+ <td>0</td>
178
+ <td>0</td>
179
+ <td>3</td>
180
+ <td>3</td>
181
+ </tr>
182
+ <tr>
183
+ <td>19</td>
184
+ <td>kazakhstan (kaz)</td>
185
+ <td>0</td>
186
+ <td>0</td>
187
+ <td>2</td>
188
+ <td>2</td>
189
+ </tr>
190
+ <tr>
191
+ <td>20</td>
192
+ <td>yemen (yem)</td>
193
+ <td>0</td>
194
+ <td>0</td>
195
+ <td>1</td>
196
+ <td>1</td>
197
+ </tr>
198
+ <tr>
199
+ <td>total</td>
200
+ <td>total</td>
201
+ <td>60</td>
202
+ <td>61</td>
203
+ <td>87</td>
204
+ <td>208</td>
205
+ </tr>
206
+ </table>
207
+ </div>
208
+ <hr/>
209
+ <div class="step">
210
+ <div class="step-title">Step 2: Select rows where 'gold' is equal for both nations.</div>
211
+ <div class="content" id="step-0">
212
+ <table>
213
+ <tr>
214
+ <td>rank</td>
215
+ <td>nation</td>
216
+ <td>gold</td>
217
+ <td>silver</td>
218
+ <td>bronze</td>
219
+ <td>total</td>
220
+ </tr>
221
+ </table>
222
+ </div>
223
+ </div>
224
+ <hr/>
225
+ <div class="step">
226
+ <div class="step-title">Step 3: Select rows where 'silver' is equal for both nations.</div>
227
+ <div class="content" id="step-1">
228
+ <table>
229
+ <tr>
230
+ <td>rank</td>
231
+ <td>nation</td>
232
+ <td>gold</td>
233
+ <td>silver</td>
234
+ <td>bronze</td>
235
+ <td>total</td>
236
+ </tr>
237
+ </table>
238
+ </div>
239
+ </div>
240
+ <hr/>
241
+ <div class="step">
242
+ <div class="step-title">Step 4: Select rows where 'bronze' for the philippines is 4 more than 'bronze' for macau.</div>
243
+ <div class="content" id="step-2">
244
+ <table>
245
+ <tr>
246
+ <td>rank</td>
247
+ <td>nation</td>
248
+ <td>gold</td>
249
+ <td>silver</td>
250
+ <td>bronze</td>
251
+ <td>total</td>
252
+ </tr>
253
+ </table>
254
+ </div>
255
+ </div>
256
+ <hr/>
257
+ <div class="step">
258
+ <div class="step-title">Step 5: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
259
+ <div class="content" id="step-3">
260
+ <table>
261
+ <tr>
262
+ <td>rank</td>
263
+ <td>nation</td>
264
+ <td>gold</td>
265
+ <td>silver</td>
266
+ <td>bronze</td>
267
+ <td>total</td>
268
+ </tr>
269
+ </table>
270
+ </div>
271
+ </div>
272
+ <hr/>
273
+
274
+ </div>
275
+ </div>
276
+ <hr/>
277
+ </body></html>
htmls_POS_mod2/FN/test-126.html ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> houston had a jazz club during the 2005 - 06 school year</h3>
24
+ <h3>Input Table: utah jazz all - time roster</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'school___club_team' is 'houston'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>player</td>
32
+ <td>nationality</td>
33
+ <td>position</td>
34
+ <td>years_for_jazz</td>
35
+ <td>school___club_team</td>
36
+ </tr>
37
+ <tr>
38
+ <td>mehmet okur</td>
39
+ <td>turkey</td>
40
+ <td>forward - center</td>
41
+ <td>2004 - 11</td>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">efes pilsen ( turkey )</span></td>
43
+ </tr>
44
+ <tr>
45
+ <td>josã ortiz</td>
46
+ <td>puerto rico</td>
47
+ <td>center</td>
48
+ <td>1988 - 90</td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">oregon state</span></td>
50
+ </tr>
51
+ <tr>
52
+ <td>greg ostertag</td>
53
+ <td>united states</td>
54
+ <td>center</td>
55
+ <td>1995 - 2004 , 2005 - 06</td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kansas</span></td>
57
+ </tr>
58
+ <tr>
59
+ <td>dan o 'sullivan</td>
60
+ <td>united states</td>
61
+ <td>center</td>
62
+ <td>1990 - 91</td>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">fordham</span></td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">andre owens</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">united states</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">guard</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005 - 06</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">houston</span></td>
71
+ </tr>
72
+ </table>
73
+ </div>
74
+ <hr/>
75
+ <div class="step">
76
+ <div class="step-title">Step 2: Select rows where 'years_for_jazz' is '2005-06'.</div>
77
+ <div class="content" id="step-0">
78
+ <table>
79
+ <tr>
80
+ <td>player</td>
81
+ <td>nationality</td>
82
+ <td>position</td>
83
+ <td>years_for_jazz</td>
84
+ <td>school___club_team</td>
85
+ </tr>
86
+ <tr>
87
+ <td>andre owens</td>
88
+ <td>united states</td>
89
+ <td>guard</td>
90
+ <td>2005 - 06</td>
91
+ <td>houston</td>
92
+ </tr>
93
+ </table>
94
+ </div>
95
+ </div>
96
+ <hr/>
97
+ <div class="step">
98
+ <div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
99
+ <div class="content" id="step-1">
100
+ <table>
101
+ <tr>
102
+ <td>player</td>
103
+ <td>nationality</td>
104
+ <td>position</td>
105
+ <td>years_for_jazz</td>
106
+ <td>school___club_team</td>
107
+ </tr>
108
+ </table>
109
+ </div>
110
+ </div>
111
+ <hr/>
112
+
113
+ </div>
114
+ </div>
115
+ <hr/>
116
+ </body></html>
htmls_POS_mod2/FN/test-1260.html ADDED
@@ -0,0 +1,873 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> shane hall ran a total of 190 races between the years of 1995 - 2008</h3>
24
+ <h3>Input Table: shane hall</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'year' is between 1995 and 2008.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>year</td>
32
+ <td>races</td>
33
+ <td>wins</td>
34
+ <td>poles</td>
35
+ <td>top_5</td>
36
+ <td>top_10</td>
37
+ <td>dnf</td>
38
+ <td>finish</td>
39
+ <td>start</td>
40
+ <td>winnings</td>
41
+ <td>season_rank</td>
42
+ <td>team__s_</td>
43
+ </tr>
44
+ <tr>
45
+ <td>1995</td>
46
+ <td>2</td>
47
+ <td>0</td>
48
+ <td>0</td>
49
+ <td>0</td>
50
+ <td>0</td>
51
+ <td>0</td>
52
+ <td>24.0</td>
53
+ <td>37.0</td>
54
+ <td>5225</td>
55
+ <td>75th</td>
56
+ <td>stegell motorsports</td>
57
+ </tr>
58
+ <tr>
59
+ <td>1996</td>
60
+ <td>14</td>
61
+ <td>0</td>
62
+ <td>0</td>
63
+ <td>0</td>
64
+ <td>0</td>
65
+ <td>6</td>
66
+ <td>26.4</td>
67
+ <td>25.1</td>
68
+ <td>63865</td>
69
+ <td>42nd</td>
70
+ <td>stegell motorsports</td>
71
+ </tr>
72
+ <tr>
73
+ <td>1997</td>
74
+ <td>28</td>
75
+ <td>0</td>
76
+ <td>1</td>
77
+ <td>0</td>
78
+ <td>1</td>
79
+ <td>10</td>
80
+ <td>27.1</td>
81
+ <td>21.6</td>
82
+ <td>196656</td>
83
+ <td>23rd</td>
84
+ <td>stegell motorsports</td>
85
+ </tr>
86
+ <tr>
87
+ <td>1998</td>
88
+ <td>31</td>
89
+ <td>0</td>
90
+ <td>1</td>
91
+ <td>0</td>
92
+ <td>3</td>
93
+ <td>5</td>
94
+ <td>24.9</td>
95
+ <td>25.5</td>
96
+ <td>335163</td>
97
+ <td>19th</td>
98
+ <td>stegell motorsports</td>
99
+ </tr>
100
+ <tr>
101
+ <td>1999</td>
102
+ <td>25</td>
103
+ <td>0</td>
104
+ <td>0</td>
105
+ <td>1</td>
106
+ <td>1</td>
107
+ <td>9</td>
108
+ <td>25.8</td>
109
+ <td>18.2</td>
110
+ <td>243810</td>
111
+ <td>24th</td>
112
+ <td>curb - agajanian performance group</td>
113
+ </tr>
114
+ <tr>
115
+ <td>2000</td>
116
+ <td>2</td>
117
+ <td>0</td>
118
+ <td>0</td>
119
+ <td>0</td>
120
+ <td>0</td>
121
+ <td>1</td>
122
+ <td>35.0</td>
123
+ <td>28.5</td>
124
+ <td>15900</td>
125
+ <td>90th</td>
126
+ <td>alumni motorsports</td>
127
+ </tr>
128
+ <tr>
129
+ <td>2001</td>
130
+ <td>33</td>
131
+ <td>0</td>
132
+ <td>0</td>
133
+ <td>0</td>
134
+ <td>0</td>
135
+ <td>6</td>
136
+ <td>27.9</td>
137
+ <td>32.7</td>
138
+ <td>491977</td>
139
+ <td>23rd</td>
140
+ <td>hensley racing</td>
141
+ </tr>
142
+ <tr>
143
+ <td>2002</td>
144
+ <td>24</td>
145
+ <td>0</td>
146
+ <td>0</td>
147
+ <td>0</td>
148
+ <td>1</td>
149
+ <td>11</td>
150
+ <td>27.0</td>
151
+ <td>33.0</td>
152
+ <td>288325</td>
153
+ <td>29th</td>
154
+ <td>hensley racing</td>
155
+ </tr>
156
+ <tr>
157
+ <td>2003</td>
158
+ <td>5</td>
159
+ <td>0</td>
160
+ <td>0</td>
161
+ <td>0</td>
162
+ <td>0</td>
163
+ <td>4</td>
164
+ <td>35.8</td>
165
+ <td>25.6</td>
166
+ <td>68360</td>
167
+ <td>85th</td>
168
+ <td>jay robinson racing</td>
169
+ </tr>
170
+ <tr>
171
+ <td>2004</td>
172
+ <td>9</td>
173
+ <td>0</td>
174
+ <td>0</td>
175
+ <td>0</td>
176
+ <td>0</td>
177
+ <td>6</td>
178
+ <td>31.4</td>
179
+ <td>37.2</td>
180
+ <td>139685</td>
181
+ <td>54th</td>
182
+ <td>moy racing / jay robinson racing</td>
183
+ </tr>
184
+ <tr>
185
+ <td>2005</td>
186
+ <td>7</td>
187
+ <td>0</td>
188
+ <td>0</td>
189
+ <td>0</td>
190
+ <td>0</td>
191
+ <td>7</td>
192
+ <td>40.9</td>
193
+ <td>32.6</td>
194
+ <td>108921</td>
195
+ <td>83rd</td>
196
+ <td>jay robinson racing</td>
197
+ </tr>
198
+ <tr>
199
+ <td>2006</td>
200
+ <td>9</td>
201
+ <td>0</td>
202
+ <td>0</td>
203
+ <td>0</td>
204
+ <td>0</td>
205
+ <td>7</td>
206
+ <td>38.9</td>
207
+ <td>39.1</td>
208
+ <td>151184</td>
209
+ <td>70th</td>
210
+ <td>jay robinson racing</td>
211
+ </tr>
212
+ <tr>
213
+ <td>2008</td>
214
+ <td>1</td>
215
+ <td>0</td>
216
+ <td>0</td>
217
+ <td>0</td>
218
+ <td>0</td>
219
+ <td>1</td>
220
+ <td>43.0</td>
221
+ <td>34.0</td>
222
+ <td>15674</td>
223
+ <td>149th</td>
224
+ <td>jay robinson racing</td>
225
+ </tr>
226
+ </table>
227
+ </div>
228
+ <hr/>
229
+ <div class="step">
230
+ <div class="step-title">Step 2: Extract the sum of 'races' column then add column 'total_races' to existing table.</div>
231
+ <div class="content" id="step-0">
232
+ <table>
233
+ <tr>
234
+ <td>year</td>
235
+ <td>races</td>
236
+ <td>wins</td>
237
+ <td>poles</td>
238
+ <td>top_5</td>
239
+ <td>top_10</td>
240
+ <td>dnf</td>
241
+ <td>finish</td>
242
+ <td>start</td>
243
+ <td>winnings</td>
244
+ <td>season_rank</td>
245
+ <td>team__s_</td>
246
+ </tr>
247
+ <tr>
248
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1995</span></td>
249
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2</span></td>
250
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
251
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
252
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
253
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
254
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
255
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24.0</span></td>
256
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">37.0</span></td>
257
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5225</span></td>
258
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">75th</span></td>
259
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
260
+ </tr>
261
+ <tr>
262
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1996</span></td>
263
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">14</span></td>
264
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
265
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
266
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
267
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
268
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
269
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26.4</span></td>
270
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.1</span></td>
271
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">63865</span></td>
272
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">42nd</span></td>
273
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
274
+ </tr>
275
+ <tr>
276
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1997</span></td>
277
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">28</span></td>
278
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
279
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
280
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
281
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
282
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>
283
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27.1</span></td>
284
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">21.6</span></td>
285
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">196656</span></td>
286
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23rd</span></td>
287
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
288
+ </tr>
289
+ <tr>
290
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1998</span></td>
291
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">31</span></td>
292
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
293
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
294
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
295
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
296
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>
297
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24.9</span></td>
298
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.5</span></td>
299
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">335163</span></td>
300
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">19th</span></td>
301
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
302
+ </tr>
303
+ <tr>
304
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1999</span></td>
305
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">25</span></td>
306
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
307
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
308
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
309
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
310
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
311
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.8</span></td>
312
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18.2</span></td>
313
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">243810</span></td>
314
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24th</span></td>
315
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">curb - agajanian performance group</span></td>
316
+ </tr>
317
+ <tr>
318
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000</span></td>
319
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2</span></td>
320
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
321
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
322
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
323
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
324
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
325
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">35.0</span></td>
326
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28.5</span></td>
327
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15900</span></td>
328
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">90th</span></td>
329
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alumni motorsports</span></td>
330
+ </tr>
331
+ <tr>
332
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2001</span></td>
333
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">33</span></td>
334
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
335
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
336
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
337
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
338
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
339
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27.9</span></td>
340
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">32.7</span></td>
341
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">491977</span></td>
342
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23rd</span></td>
343
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hensley racing</span></td>
344
+ </tr>
345
+ <tr>
346
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2002</span></td>
347
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">24</span></td>
348
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
349
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
350
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
351
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
352
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
353
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27.0</span></td>
354
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">33.0</span></td>
355
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">288325</span></td>
356
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29th</span></td>
357
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hensley racing</span></td>
358
+ </tr>
359
+ <tr>
360
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2003</span></td>
361
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">5</span></td>
362
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
363
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
364
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
365
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
366
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
367
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">35.8</span></td>
368
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.6</span></td>
369
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">68360</span></td>
370
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">85th</span></td>
371
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
372
+ </tr>
373
+ <tr>
374
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2004</span></td>
375
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9</span></td>
376
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
377
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
378
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
379
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
380
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
381
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">31.4</span></td>
382
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">37.2</span></td>
383
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">139685</span></td>
384
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">54th</span></td>
385
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">moy racing / jay robinson racing</span></td>
386
+ </tr>
387
+ <tr>
388
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005</span></td>
389
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7</span></td>
390
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
391
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
392
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
393
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
394
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
395
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">40.9</span></td>
396
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">32.6</span></td>
397
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">108921</span></td>
398
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">83rd</span></td>
399
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
400
+ </tr>
401
+ <tr>
402
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2006</span></td>
403
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9</span></td>
404
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
405
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
406
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
407
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
408
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
409
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">38.9</span></td>
410
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">39.1</span></td>
411
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">151184</span></td>
412
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">70th</span></td>
413
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
414
+ </tr>
415
+ <tr>
416
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008</span></td>
417
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
418
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
419
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
420
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
421
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
422
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
423
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">43.0</span></td>
424
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">34.0</span></td>
425
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15674</span></td>
426
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">149th</span></td>
427
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
428
+ </tr>
429
+ </table>
430
+ </div>
431
+ </div>
432
+ <hr/>
433
+ <div class="step">
434
+ <div class="step-title">Step 3: Select rows where 'total_races' is equal to 190.</div>
435
+ <div class="content" id="step-1">
436
+ <table>
437
+ <tr>
438
+ <td>year</td>
439
+ <td>races</td>
440
+ <td>wins</td>
441
+ <td>poles</td>
442
+ <td>top_5</td>
443
+ <td>top_10</td>
444
+ <td>dnf</td>
445
+ <td>finish</td>
446
+ <td>start</td>
447
+ <td>winnings</td>
448
+ <td>season_rank</td>
449
+ <td>team__s_</td>
450
+ <td>total_races</td>
451
+ </tr>
452
+ <tr>
453
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1995</span></td>
454
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
455
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
456
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
457
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
458
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
459
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
460
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24.0</span></td>
461
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">37.0</span></td>
462
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5225</span></td>
463
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">75th</span></td>
464
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
465
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
466
+ </tr>
467
+ <tr>
468
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1996</span></td>
469
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14</span></td>
470
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
471
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
472
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
473
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
474
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
475
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26.4</span></td>
476
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.1</span></td>
477
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">63865</span></td>
478
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">42nd</span></td>
479
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
480
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
481
+ </tr>
482
+ <tr>
483
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1997</span></td>
484
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28</span></td>
485
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
486
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
487
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
488
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
489
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>
490
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27.1</span></td>
491
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">21.6</span></td>
492
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">196656</span></td>
493
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23rd</span></td>
494
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
495
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
496
+ </tr>
497
+ <tr>
498
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1998</span></td>
499
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">31</span></td>
500
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
501
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
502
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
503
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
504
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>
505
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24.9</span></td>
506
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.5</span></td>
507
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">335163</span></td>
508
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">19th</span></td>
509
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
510
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
511
+ </tr>
512
+ <tr>
513
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1999</span></td>
514
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
515
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
516
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
517
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
518
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
519
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
520
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.8</span></td>
521
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18.2</span></td>
522
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">243810</span></td>
523
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24th</span></td>
524
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">curb - agajanian performance group</span></td>
525
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
526
+ </tr>
527
+ <tr>
528
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000</span></td>
529
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
530
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
531
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
532
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
533
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
534
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
535
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">35.0</span></td>
536
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28.5</span></td>
537
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15900</span></td>
538
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">90th</span></td>
539
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alumni motorsports</span></td>
540
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
541
+ </tr>
542
+ <tr>
543
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2001</span></td>
544
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">33</span></td>
545
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
546
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
547
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
548
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
549
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
550
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27.9</span></td>
551
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">32.7</span></td>
552
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">491977</span></td>
553
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23rd</span></td>
554
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hensley racing</span></td>
555
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
556
+ </tr>
557
+ <tr>
558
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2002</span></td>
559
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
560
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
561
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
562
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
563
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
564
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
565
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27.0</span></td>
566
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">33.0</span></td>
567
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">288325</span></td>
568
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29th</span></td>
569
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hensley racing</span></td>
570
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
571
+ </tr>
572
+ <tr>
573
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2003</span></td>
574
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>
575
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
576
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
577
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
578
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
579
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
580
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">35.8</span></td>
581
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.6</span></td>
582
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">68360</span></td>
583
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">85th</span></td>
584
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
585
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
586
+ </tr>
587
+ <tr>
588
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2004</span></td>
589
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
590
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
591
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
592
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
593
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
594
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
595
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">31.4</span></td>
596
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">37.2</span></td>
597
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">139685</span></td>
598
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">54th</span></td>
599
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">moy racing / jay robinson racing</span></td>
600
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
601
+ </tr>
602
+ <tr>
603
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005</span></td>
604
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
605
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
606
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
607
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
608
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
609
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
610
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">40.9</span></td>
611
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">32.6</span></td>
612
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">108921</span></td>
613
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">83rd</span></td>
614
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
615
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
616
+ </tr>
617
+ <tr>
618
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2006</span></td>
619
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
620
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
621
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
622
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
623
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
624
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
625
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">38.9</span></td>
626
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">39.1</span></td>
627
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">151184</span></td>
628
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">70th</span></td>
629
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
630
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
631
+ </tr>
632
+ <tr>
633
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008</span></td>
634
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
635
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
636
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
637
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
638
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
639
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
640
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">43.0</span></td>
641
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">34.0</span></td>
642
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15674</span></td>
643
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">149th</span></td>
644
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
645
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
646
+ </tr>
647
+ </table>
648
+ </div>
649
+ </div>
650
+ <hr/>
651
+ <div class="step">
652
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
653
+ <div class="content" id="step-2">
654
+ <table>
655
+ <tr>
656
+ <td>year</td>
657
+ <td>races</td>
658
+ <td>wins</td>
659
+ <td>poles</td>
660
+ <td>top_5</td>
661
+ <td>top_10</td>
662
+ <td>dnf</td>
663
+ <td>finish</td>
664
+ <td>start</td>
665
+ <td>winnings</td>
666
+ <td>season_rank</td>
667
+ <td>team__s_</td>
668
+ <td>total_races</td>
669
+ </tr>
670
+ <tr>
671
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1995</span></td>
672
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2</span></td>
673
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
674
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
675
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
676
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
677
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
678
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">24.0</span></td>
679
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">37.0</span></td>
680
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">5225</span></td>
681
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">75th</span></td>
682
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">stegell motorsports</span></td>
683
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
684
+ </tr>
685
+ <tr>
686
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1996</span></td>
687
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">14</span></td>
688
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
689
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
690
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
691
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
692
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6</span></td>
693
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">26.4</span></td>
694
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">25.1</span></td>
695
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">63865</span></td>
696
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">42nd</span></td>
697
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">stegell motorsports</span></td>
698
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
699
+ </tr>
700
+ <tr>
701
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1997</span></td>
702
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">28</span></td>
703
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
704
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
705
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
706
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
707
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">10</span></td>
708
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">27.1</span></td>
709
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">21.6</span></td>
710
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">196656</span></td>
711
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">23rd</span></td>
712
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">stegell motorsports</span></td>
713
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
714
+ </tr>
715
+ <tr>
716
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1998</span></td>
717
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">31</span></td>
718
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
719
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
720
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
721
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3</span></td>
722
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">5</span></td>
723
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">24.9</span></td>
724
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">25.5</span></td>
725
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">335163</span></td>
726
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">19th</span></td>
727
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">stegell motorsports</span></td>
728
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
729
+ </tr>
730
+ <tr>
731
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1999</span></td>
732
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">25</span></td>
733
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
734
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
735
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
736
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
737
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9</span></td>
738
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">25.8</span></td>
739
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">18.2</span></td>
740
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">243810</span></td>
741
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">24th</span></td>
742
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">curb - agajanian performance group</span></td>
743
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
744
+ </tr>
745
+ <tr>
746
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2000</span></td>
747
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2</span></td>
748
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
749
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
750
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
751
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
752
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
753
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">35.0</span></td>
754
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">28.5</span></td>
755
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">15900</span></td>
756
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">90th</span></td>
757
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">alumni motorsports</span></td>
758
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
759
+ </tr>
760
+ <tr>
761
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2001</span></td>
762
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">33</span></td>
763
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
764
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
765
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
766
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
767
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6</span></td>
768
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">27.9</span></td>
769
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">32.7</span></td>
770
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">491977</span></td>
771
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">23rd</span></td>
772
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">hensley racing</span></td>
773
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
774
+ </tr>
775
+ <tr>
776
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2002</span></td>
777
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">24</span></td>
778
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
779
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
780
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
781
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
782
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">11</span></td>
783
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">27.0</span></td>
784
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">33.0</span></td>
785
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">288325</span></td>
786
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">29th</span></td>
787
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">hensley racing</span></td>
788
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
789
+ </tr>
790
+ <tr>
791
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2003</span></td>
792
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">5</span></td>
793
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
794
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
795
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
796
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
797
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">4</span></td>
798
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">35.8</span></td>
799
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">25.6</span></td>
800
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">68360</span></td>
801
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">85th</span></td>
802
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">jay robinson racing</span></td>
803
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
804
+ </tr>
805
+ <tr>
806
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2004</span></td>
807
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9</span></td>
808
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
809
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
810
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
811
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
812
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">6</span></td>
813
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">31.4</span></td>
814
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">37.2</span></td>
815
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">139685</span></td>
816
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">54th</span></td>
817
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">moy racing / jay robinson racing</span></td>
818
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
819
+ </tr>
820
+ <tr>
821
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2005</span></td>
822
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7</span></td>
823
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
824
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
825
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
826
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
827
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7</span></td>
828
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">40.9</span></td>
829
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">32.6</span></td>
830
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">108921</span></td>
831
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">83rd</span></td>
832
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">jay robinson racing</span></td>
833
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
834
+ </tr>
835
+ <tr>
836
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2006</span></td>
837
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9</span></td>
838
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
839
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
840
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
841
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
842
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7</span></td>
843
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">38.9</span></td>
844
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">39.1</span></td>
845
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">151184</span></td>
846
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">70th</span></td>
847
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">jay robinson racing</span></td>
848
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
849
+ </tr>
850
+ <tr>
851
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2008</span></td>
852
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
853
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
854
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
855
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
856
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>
857
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
858
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">43.0</span></td>
859
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">34.0</span></td>
860
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">15674</span></td>
861
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">149th</span></td>
862
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">jay robinson racing</span></td>
863
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">190</span></td>
864
+ </tr>
865
+ </table>
866
+ </div>
867
+ </div>
868
+ <hr/>
869
+
870
+ </div>
871
+ </div>
872
+ <hr/>
873
+ </body></html>
htmls_POS_mod2/FN/test-1261.html ADDED
@@ -0,0 +1,683 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> shane hall had an average finish of 31.39 between 1995 - 2008</h3>
24
+ <h3>Input Table: shane hall</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Calculate the average finish for each year by dividing the sum of the 'finish' column by the number of races in that year. Add a column 'avg_finish' to the existing table.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>year</td>
32
+ <td>races</td>
33
+ <td>wins</td>
34
+ <td>poles</td>
35
+ <td>top_5</td>
36
+ <td>top_10</td>
37
+ <td>dnf</td>
38
+ <td>finish</td>
39
+ <td>start</td>
40
+ <td>winnings</td>
41
+ <td>season_rank</td>
42
+ <td>team__s_</td>
43
+ </tr>
44
+ <tr>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1995</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
50
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
51
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
52
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">24.0</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">37.0</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5225</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">75th</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
57
+ </tr>
58
+ <tr>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1996</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">14</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
62
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
64
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
65
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
66
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">26.4</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.1</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">63865</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">42nd</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
71
+ </tr>
72
+ <tr>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1997</span></td>
74
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">28</span></td>
75
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
78
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
79
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>
80
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">27.1</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">21.6</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">196656</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23rd</span></td>
84
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1998</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">31</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
92
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
93
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>
94
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">24.9</span></td>
95
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.5</span></td>
96
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">335163</span></td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">19th</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
99
+ </tr>
100
+ <tr>
101
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1999</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">25</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
106
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
107
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
108
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">25.8</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18.2</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">243810</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24th</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">curb - agajanian performance group</span></td>
113
+ </tr>
114
+ <tr>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2000</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2</span></td>
117
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
118
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
119
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
120
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
121
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
122
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">35.0</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28.5</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15900</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">90th</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alumni motorsports</span></td>
127
+ </tr>
128
+ <tr>
129
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2001</span></td>
130
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">33</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
134
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
135
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
136
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">27.9</span></td>
137
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">32.7</span></td>
138
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">491977</span></td>
139
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23rd</span></td>
140
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hensley racing</span></td>
141
+ </tr>
142
+ <tr>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2002</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">24</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
146
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
147
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
148
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
149
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
150
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">27.0</span></td>
151
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">33.0</span></td>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">288325</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29th</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hensley racing</span></td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2003</span></td>
158
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">5</span></td>
159
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
161
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
162
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
163
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
164
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">35.8</span></td>
165
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.6</span></td>
166
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">68360</span></td>
167
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">85th</span></td>
168
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
169
+ </tr>
170
+ <tr>
171
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2004</span></td>
172
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9</span></td>
173
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
174
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
175
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
176
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
177
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
178
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">31.4</span></td>
179
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">37.2</span></td>
180
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">139685</span></td>
181
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">54th</span></td>
182
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">moy racing / jay robinson racing</span></td>
183
+ </tr>
184
+ <tr>
185
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2005</span></td>
186
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7</span></td>
187
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
188
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
189
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
190
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
191
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
192
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">40.9</span></td>
193
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">32.6</span></td>
194
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">108921</span></td>
195
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">83rd</span></td>
196
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
197
+ </tr>
198
+ <tr>
199
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2006</span></td>
200
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9</span></td>
201
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
202
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
203
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
204
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
205
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
206
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">38.9</span></td>
207
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">39.1</span></td>
208
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">151184</span></td>
209
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">70th</span></td>
210
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
211
+ </tr>
212
+ <tr>
213
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2008</span></td>
214
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1</span></td>
215
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
216
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
217
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
218
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
219
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
220
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">43.0</span></td>
221
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">34.0</span></td>
222
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15674</span></td>
223
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">149th</span></td>
224
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
225
+ </tr>
226
+ </table>
227
+ </div>
228
+ <hr/>
229
+ <div class="step">
230
+ <div class="step-title">Step 2: Select rows where the 'year' is between 1995 and 2008 (inclusive).</div>
231
+ <div class="content" id="step-0">
232
+ <table>
233
+ <tr>
234
+ <td>year</td>
235
+ <td>races</td>
236
+ <td>wins</td>
237
+ <td>poles</td>
238
+ <td>top_5</td>
239
+ <td>top_10</td>
240
+ <td>dnf</td>
241
+ <td>finish</td>
242
+ <td>start</td>
243
+ <td>winnings</td>
244
+ <td>season_rank</td>
245
+ <td>team__s_</td>
246
+ <td>avg_finish</td>
247
+ </tr>
248
+ <tr>
249
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1995</span></td>
250
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
251
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
252
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
253
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
254
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
255
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
256
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24.0</span></td>
257
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">37.0</span></td>
258
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5225</span></td>
259
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">75th</span></td>
260
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
261
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12.0</span></td>
262
+ </tr>
263
+ <tr>
264
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1996</span></td>
265
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14</span></td>
266
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
267
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
268
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
269
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
270
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
271
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">26.4</span></td>
272
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.1</span></td>
273
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">63865</span></td>
274
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">42nd</span></td>
275
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
276
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1.8857142857142857</span></td>
277
+ </tr>
278
+ <tr>
279
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1997</span></td>
280
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28</span></td>
281
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
282
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
283
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
284
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
285
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>
286
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27.1</span></td>
287
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">21.6</span></td>
288
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">196656</span></td>
289
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23rd</span></td>
290
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
291
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0.9678571428571429</span></td>
292
+ </tr>
293
+ <tr>
294
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1998</span></td>
295
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">31</span></td>
296
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
297
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
298
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
299
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
300
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>
301
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24.9</span></td>
302
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.5</span></td>
303
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">335163</span></td>
304
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">19th</span></td>
305
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">stegell motorsports</span></td>
306
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0.8032258064516129</span></td>
307
+ </tr>
308
+ <tr>
309
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">1999</span></td>
310
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>
311
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
312
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
313
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
314
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
315
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
316
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.8</span></td>
317
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">18.2</span></td>
318
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">243810</span></td>
319
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24th</span></td>
320
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">curb - agajanian performance group</span></td>
321
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1.032</span></td>
322
+ </tr>
323
+ <tr>
324
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2000</span></td>
325
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
326
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
327
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
328
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
329
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
330
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
331
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">35.0</span></td>
332
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">28.5</span></td>
333
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15900</span></td>
334
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">90th</span></td>
335
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alumni motorsports</span></td>
336
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">17.5</span></td>
337
+ </tr>
338
+ <tr>
339
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2001</span></td>
340
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">33</span></td>
341
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
342
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
343
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
344
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
345
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
346
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27.9</span></td>
347
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">32.7</span></td>
348
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">491977</span></td>
349
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">23rd</span></td>
350
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hensley racing</span></td>
351
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0.8454545454545455</span></td>
352
+ </tr>
353
+ <tr>
354
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2002</span></td>
355
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">24</span></td>
356
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
357
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
358
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
359
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
360
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
361
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">27.0</span></td>
362
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">33.0</span></td>
363
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">288325</span></td>
364
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">29th</span></td>
365
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hensley racing</span></td>
366
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1.125</span></td>
367
+ </tr>
368
+ <tr>
369
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2003</span></td>
370
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>
371
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
372
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
373
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
374
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
375
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4</span></td>
376
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">35.8</span></td>
377
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25.6</span></td>
378
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">68360</span></td>
379
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">85th</span></td>
380
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
381
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7.159999999999999</span></td>
382
+ </tr>
383
+ <tr>
384
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2004</span></td>
385
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
386
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
387
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
388
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
389
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
390
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
391
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">31.4</span></td>
392
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">37.2</span></td>
393
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">139685</span></td>
394
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">54th</span></td>
395
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">moy racing / jay robinson racing</span></td>
396
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3.488888888888889</span></td>
397
+ </tr>
398
+ <tr>
399
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2005</span></td>
400
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
401
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
402
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
403
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
404
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
405
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
406
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">40.9</span></td>
407
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">32.6</span></td>
408
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">108921</span></td>
409
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">83rd</span></td>
410
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
411
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5.8428571428571425</span></td>
412
+ </tr>
413
+ <tr>
414
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2006</span></td>
415
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9</span></td>
416
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
417
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
418
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
419
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
420
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7</span></td>
421
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">38.9</span></td>
422
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">39.1</span></td>
423
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">151184</span></td>
424
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">70th</span></td>
425
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
426
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4.322222222222222</span></td>
427
+ </tr>
428
+ <tr>
429
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2008</span></td>
430
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
431
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
432
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
433
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
434
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>
435
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
436
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">43.0</span></td>
437
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">34.0</span></td>
438
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15674</span></td>
439
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">149th</span></td>
440
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jay robinson racing</span></td>
441
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">43.0</span></td>
442
+ </tr>
443
+ </table>
444
+ </div>
445
+ </div>
446
+ <hr/>
447
+ <div class="step">
448
+ <div class="step-title">Step 3: Calculate the overall average finish by dividing the sum of the 'avg_finish' column by the number of rows.</div>
449
+ <div class="content" id="step-1">
450
+ <table>
451
+ <tr>
452
+ <td>year</td>
453
+ <td>races</td>
454
+ <td>wins</td>
455
+ <td>poles</td>
456
+ <td>top_5</td>
457
+ <td>top_10</td>
458
+ <td>dnf</td>
459
+ <td>finish</td>
460
+ <td>start</td>
461
+ <td>winnings</td>
462
+ <td>season_rank</td>
463
+ <td>team__s_</td>
464
+ <td>avg_finish</td>
465
+ </tr>
466
+ <tr>
467
+ <td>1995</td>
468
+ <td>2</td>
469
+ <td>0</td>
470
+ <td>0</td>
471
+ <td>0</td>
472
+ <td>0</td>
473
+ <td>0</td>
474
+ <td>24.0</td>
475
+ <td>37.0</td>
476
+ <td>5225</td>
477
+ <td>75th</td>
478
+ <td>stegell motorsports</td>
479
+ <td>12.0</td>
480
+ </tr>
481
+ <tr>
482
+ <td>1996</td>
483
+ <td>14</td>
484
+ <td>0</td>
485
+ <td>0</td>
486
+ <td>0</td>
487
+ <td>0</td>
488
+ <td>6</td>
489
+ <td>26.4</td>
490
+ <td>25.1</td>
491
+ <td>63865</td>
492
+ <td>42nd</td>
493
+ <td>stegell motorsports</td>
494
+ <td>1.8857142857142857</td>
495
+ </tr>
496
+ <tr>
497
+ <td>1997</td>
498
+ <td>28</td>
499
+ <td>0</td>
500
+ <td>1</td>
501
+ <td>0</td>
502
+ <td>1</td>
503
+ <td>10</td>
504
+ <td>27.1</td>
505
+ <td>21.6</td>
506
+ <td>196656</td>
507
+ <td>23rd</td>
508
+ <td>stegell motorsports</td>
509
+ <td>0.9678571428571429</td>
510
+ </tr>
511
+ <tr>
512
+ <td>1998</td>
513
+ <td>31</td>
514
+ <td>0</td>
515
+ <td>1</td>
516
+ <td>0</td>
517
+ <td>3</td>
518
+ <td>5</td>
519
+ <td>24.9</td>
520
+ <td>25.5</td>
521
+ <td>335163</td>
522
+ <td>19th</td>
523
+ <td>stegell motorsports</td>
524
+ <td>0.8032258064516129</td>
525
+ </tr>
526
+ <tr>
527
+ <td>1999</td>
528
+ <td>25</td>
529
+ <td>0</td>
530
+ <td>0</td>
531
+ <td>1</td>
532
+ <td>1</td>
533
+ <td>9</td>
534
+ <td>25.8</td>
535
+ <td>18.2</td>
536
+ <td>243810</td>
537
+ <td>24th</td>
538
+ <td>curb - agajanian performance group</td>
539
+ <td>1.032</td>
540
+ </tr>
541
+ <tr>
542
+ <td>2000</td>
543
+ <td>2</td>
544
+ <td>0</td>
545
+ <td>0</td>
546
+ <td>0</td>
547
+ <td>0</td>
548
+ <td>1</td>
549
+ <td>35.0</td>
550
+ <td>28.5</td>
551
+ <td>15900</td>
552
+ <td>90th</td>
553
+ <td>alumni motorsports</td>
554
+ <td>17.5</td>
555
+ </tr>
556
+ <tr>
557
+ <td>2001</td>
558
+ <td>33</td>
559
+ <td>0</td>
560
+ <td>0</td>
561
+ <td>0</td>
562
+ <td>0</td>
563
+ <td>6</td>
564
+ <td>27.9</td>
565
+ <td>32.7</td>
566
+ <td>491977</td>
567
+ <td>23rd</td>
568
+ <td>hensley racing</td>
569
+ <td>0.8454545454545455</td>
570
+ </tr>
571
+ <tr>
572
+ <td>2002</td>
573
+ <td>24</td>
574
+ <td>0</td>
575
+ <td>0</td>
576
+ <td>0</td>
577
+ <td>1</td>
578
+ <td>11</td>
579
+ <td>27.0</td>
580
+ <td>33.0</td>
581
+ <td>288325</td>
582
+ <td>29th</td>
583
+ <td>hensley racing</td>
584
+ <td>1.125</td>
585
+ </tr>
586
+ <tr>
587
+ <td>2003</td>
588
+ <td>5</td>
589
+ <td>0</td>
590
+ <td>0</td>
591
+ <td>0</td>
592
+ <td>0</td>
593
+ <td>4</td>
594
+ <td>35.8</td>
595
+ <td>25.6</td>
596
+ <td>68360</td>
597
+ <td>85th</td>
598
+ <td>jay robinson racing</td>
599
+ <td>7.159999999999999</td>
600
+ </tr>
601
+ <tr>
602
+ <td>2004</td>
603
+ <td>9</td>
604
+ <td>0</td>
605
+ <td>0</td>
606
+ <td>0</td>
607
+ <td>0</td>
608
+ <td>6</td>
609
+ <td>31.4</td>
610
+ <td>37.2</td>
611
+ <td>139685</td>
612
+ <td>54th</td>
613
+ <td>moy racing / jay robinson racing</td>
614
+ <td>3.488888888888889</td>
615
+ </tr>
616
+ <tr>
617
+ <td>2005</td>
618
+ <td>7</td>
619
+ <td>0</td>
620
+ <td>0</td>
621
+ <td>0</td>
622
+ <td>0</td>
623
+ <td>7</td>
624
+ <td>40.9</td>
625
+ <td>32.6</td>
626
+ <td>108921</td>
627
+ <td>83rd</td>
628
+ <td>jay robinson racing</td>
629
+ <td>5.8428571428571425</td>
630
+ </tr>
631
+ <tr>
632
+ <td>2006</td>
633
+ <td>9</td>
634
+ <td>0</td>
635
+ <td>0</td>
636
+ <td>0</td>
637
+ <td>0</td>
638
+ <td>7</td>
639
+ <td>38.9</td>
640
+ <td>39.1</td>
641
+ <td>151184</td>
642
+ <td>70th</td>
643
+ <td>jay robinson racing</td>
644
+ <td>4.322222222222222</td>
645
+ </tr>
646
+ <tr>
647
+ <td>2008</td>
648
+ <td>1</td>
649
+ <td>0</td>
650
+ <td>0</td>
651
+ <td>0</td>
652
+ <td>0</td>
653
+ <td>1</td>
654
+ <td>43.0</td>
655
+ <td>34.0</td>
656
+ <td>15674</td>
657
+ <td>149th</td>
658
+ <td>jay robinson racing</td>
659
+ <td>43.0</td>
660
+ </tr>
661
+ </table>
662
+ </div>
663
+ </div>
664
+ <hr/>
665
+ <div class="step">
666
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the overall average finish is equal to 31.39, otherwise return FALSE.</div>
667
+ <div class="content" id="step-2">
668
+ <table>
669
+ <tr>
670
+ <td>overall_avg_finish</td>
671
+ </tr>
672
+ <tr>
673
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7.690247694957372</span></td>
674
+ </tr>
675
+ </table>
676
+ </div>
677
+ </div>
678
+ <hr/>
679
+
680
+ </div>
681
+ </div>
682
+ <hr/>
683
+ </body></html>
htmls_POS_mod2/FN/test-127.html ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> dan o 'sullivan plays center for the fordham jazz club</h3>
24
+ <h3>Input Table: utah jazz all - time roster</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'player' is 'dan o'sullivan'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>player</td>
32
+ <td>nationality</td>
33
+ <td>position</td>
34
+ <td>years_for_jazz</td>
35
+ <td>school___club_team</td>
36
+ </tr>
37
+ <tr>
38
+ <td>mehmet okur</td>
39
+ <td>turkey</td>
40
+ <td>forward - center</td>
41
+ <td>2004 - 11</td>
42
+ <td>efes pilsen ( turkey )</td>
43
+ </tr>
44
+ <tr>
45
+ <td>josã ortiz</td>
46
+ <td>puerto rico</td>
47
+ <td>center</td>
48
+ <td>1988 - 90</td>
49
+ <td>oregon state</td>
50
+ </tr>
51
+ <tr>
52
+ <td>greg ostertag</td>
53
+ <td>united states</td>
54
+ <td>center</td>
55
+ <td>1995 - 2004 , 2005 - 06</td>
56
+ <td>kansas</td>
57
+ </tr>
58
+ <tr>
59
+ <td>dan o 'sullivan</td>
60
+ <td>united states</td>
61
+ <td>center</td>
62
+ <td>1990 - 91</td>
63
+ <td>fordham</td>
64
+ </tr>
65
+ <tr>
66
+ <td>andre owens</td>
67
+ <td>united states</td>
68
+ <td>guard</td>
69
+ <td>2005 - 06</td>
70
+ <td>houston</td>
71
+ </tr>
72
+ </table>
73
+ </div>
74
+ <hr/>
75
+ <div class="step">
76
+ <div class="step-title">Step 2: Select rows where 'position' is 'center'.</div>
77
+ <div class="content" id="step-0">
78
+ <table>
79
+ <tr>
80
+ <td>player</td>
81
+ <td>nationality</td>
82
+ <td>position</td>
83
+ <td>years_for_jazz</td>
84
+ <td>school___club_team</td>
85
+ </tr>
86
+ </table>
87
+ </div>
88
+ </div>
89
+ <hr/>
90
+ <div class="step">
91
+ <div class="step-title">Step 3: Select rows where 'school___club_team' is 'fordham'.</div>
92
+ <div class="content" id="step-1">
93
+ <table>
94
+ <tr>
95
+ <td>player</td>
96
+ <td>nationality</td>
97
+ <td>position</td>
98
+ <td>years_for_jazz</td>
99
+ <td>school___club_team</td>
100
+ </tr>
101
+ </table>
102
+ </div>
103
+ </div>
104
+ <hr/>
105
+ <div class="step">
106
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
107
+ <div class="content" id="step-2">
108
+ <table>
109
+ <tr>
110
+ <td>player</td>
111
+ <td>nationality</td>
112
+ <td>position</td>
113
+ <td>years_for_jazz</td>
114
+ <td>school___club_team</td>
115
+ </tr>
116
+ </table>
117
+ </div>
118
+ </div>
119
+ <hr/>
120
+
121
+ </div>
122
+ </div>
123
+ <hr/>
124
+ </body></html>
htmls_POS_mod2/FN/test-1271.html ADDED
@@ -0,0 +1,295 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> the nuggets won all six games played at the pepsi center during this span</h3>
24
+ <h3>Input Table: 2009 - 10 denver nuggets season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where the 'location_attendance' column contains 'pepsi center'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>game</td>
32
+ <td>date</td>
33
+ <td>team</td>
34
+ <td>score</td>
35
+ <td>high_points</td>
36
+ <td>high_rebounds</td>
37
+ <td>high_assists</td>
38
+ <td>location_attendance</td>
39
+ <td>record</td>
40
+ </tr>
41
+ <tr>
42
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
43
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-01</span></td>
44
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">grizzlies</span></td>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 133 - 123 (ot)</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (42)</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nenê (9)</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (12)</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">pepsi center 15823</span></td>
50
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3 - 0</span></td>
51
+ </tr>
52
+ <tr>
53
+ <td>4</td>
54
+ <td>9999-11-03</td>
55
+ <td>pacers</td>
56
+ <td>w 111 - 93 (ot)</td>
57
+ <td>carmelo anthony (25)</td>
58
+ <td>nenê (13)</td>
59
+ <td>anthony carter (5)</td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">conseco fieldhouse 10627</span></td>
61
+ <td>4 - 0</td>
62
+ </tr>
63
+ <tr>
64
+ <td>5</td>
65
+ <td>9999-11-04</td>
66
+ <td>nets</td>
67
+ <td>w 122 - 94 (ot)</td>
68
+ <td>ty lawson (23)</td>
69
+ <td>kenyon martin (10)</td>
70
+ <td>chauncey billups (5)</td>
71
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">izod center 15319</span></td>
72
+ <td>5 - 0</td>
73
+ </tr>
74
+ <tr>
75
+ <td>7</td>
76
+ <td>9999-11-07</td>
77
+ <td>hawks</td>
78
+ <td>l 100 - 125 (ot)</td>
79
+ <td>carmelo anthony (30)</td>
80
+ <td>chris andersen (11)</td>
81
+ <td>chauncey billups (7)</td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">philips arena 17801</span></td>
83
+ <td>5 - 2</td>
84
+ </tr>
85
+ <tr>
86
+ <td>8</td>
87
+ <td>9999-11-10</td>
88
+ <td>bulls</td>
89
+ <td>w 90 - 89 (ot)</td>
90
+ <td>carmelo anthony (20)</td>
91
+ <td>nenê (12)</td>
92
+ <td>chauncey billups (6)</td>
93
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">united center 21409</span></td>
94
+ <td>6 - 2</td>
95
+ </tr>
96
+ <tr>
97
+ <td>9</td>
98
+ <td>9999-11-11</td>
99
+ <td>bucks</td>
100
+ <td>l 102 - 108 (ot)</td>
101
+ <td>carmelo anthony (32)</td>
102
+ <td>carmelo anthony (10)</td>
103
+ <td>chauncey billups , ty lawson (5)</td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bradley center 12987</span></td>
105
+ <td>6 - 3</td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-13</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lakers</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 105 - 79 (ot)</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (25)</span></td>
113
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chris andersen (11)</span></td>
114
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (8)</span></td>
115
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">pepsi center 19141</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7 - 3</span></td>
117
+ </tr>
118
+ <tr>
119
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11</span></td>
120
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-17</span></td>
121
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">raptors</span></td>
122
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 130 - 112 (ot)</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (32)</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nenê (10)</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (10)</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">pepsi center 16446</span></td>
127
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">8 - 3</span></td>
128
+ </tr>
129
+ <tr>
130
+ <td>12</td>
131
+ <td>9999-11-20</td>
132
+ <td>clippers</td>
133
+ <td>l 99 - 106 (ot)</td>
134
+ <td>carmelo anthony (37)</td>
135
+ <td>nenê (12)</td>
136
+ <td>chauncey billups (7)</td>
137
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">staples center 18155</span></td>
138
+ <td>8 - 4</td>
139
+ </tr>
140
+ <tr>
141
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">13</span></td>
142
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-21</span></td>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bulls</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 112 - 93 (ot)</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (30)</span></td>
146
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony , kenyon martin (11)</span></td>
147
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (7)</span></td>
148
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">pepsi center 19359</span></td>
149
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9 - 4</span></td>
150
+ </tr>
151
+ <tr>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">14</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-24</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nets</span></td>
155
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 101 - 87 (ot)</span></td>
156
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (27)</span></td>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nenê (9)</span></td>
158
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (7)</span></td>
159
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">pepsi center 16307</span></td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10 - 4</span></td>
161
+ </tr>
162
+ <tr>
163
+ <td>15</td>
164
+ <td>9999-11-25</td>
165
+ <td>timberwolves</td>
166
+ <td>w 124 - 111 (ot)</td>
167
+ <td>carmelo anthony (22)</td>
168
+ <td>nenê (8)</td>
169
+ <td>nenê , ty lawson (6)</td>
170
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">target center 13101</span></td>
171
+ <td>11 - 4</td>
172
+ </tr>
173
+ <tr>
174
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">16</span></td>
175
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-27</span></td>
176
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">knicks</span></td>
177
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 128 - 125 (ot)</span></td>
178
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (50)</span></td>
179
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nenê , kenyon martin (11)</span></td>
180
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (8)</span></td>
181
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">pepsi center 19155</span></td>
182
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12 - 4</span></td>
183
+ </tr>
184
+ </table>
185
+ </div>
186
+ <hr/>
187
+ <div class="step">
188
+ <div class="step-title">Step 2: Select rows where the 'record' column contains 'w'.</div>
189
+ <div class="content" id="step-0">
190
+ <table>
191
+ <tr>
192
+ <td>game</td>
193
+ <td>date</td>
194
+ <td>team</td>
195
+ <td>score</td>
196
+ <td>high_points</td>
197
+ <td>high_rebounds</td>
198
+ <td>high_assists</td>
199
+ <td>location_attendance</td>
200
+ <td>record</td>
201
+ </tr>
202
+ <tr>
203
+ <td>3</td>
204
+ <td>9999-11-01</td>
205
+ <td>grizzlies</td>
206
+ <td>w 133 - 123 (ot)</td>
207
+ <td>carmelo anthony (42)</td>
208
+ <td>nenê (9)</td>
209
+ <td>chauncey billups (12)</td>
210
+ <td>pepsi center 15823</td>
211
+ <td>3 - 0</td>
212
+ </tr>
213
+ <tr>
214
+ <td>10</td>
215
+ <td>9999-11-13</td>
216
+ <td>lakers</td>
217
+ <td>w 105 - 79 (ot)</td>
218
+ <td>carmelo anthony (25)</td>
219
+ <td>chris andersen (11)</td>
220
+ <td>chauncey billups (8)</td>
221
+ <td>pepsi center 19141</td>
222
+ <td>7 - 3</td>
223
+ </tr>
224
+ <tr>
225
+ <td>11</td>
226
+ <td>9999-11-17</td>
227
+ <td>raptors</td>
228
+ <td>w 130 - 112 (ot)</td>
229
+ <td>carmelo anthony (32)</td>
230
+ <td>nenê (10)</td>
231
+ <td>chauncey billups (10)</td>
232
+ <td>pepsi center 16446</td>
233
+ <td>8 - 3</td>
234
+ </tr>
235
+ <tr>
236
+ <td>13</td>
237
+ <td>9999-11-21</td>
238
+ <td>bulls</td>
239
+ <td>w 112 - 93 (ot)</td>
240
+ <td>carmelo anthony (30)</td>
241
+ <td>carmelo anthony , kenyon martin (11)</td>
242
+ <td>carmelo anthony (7)</td>
243
+ <td>pepsi center 19359</td>
244
+ <td>9 - 4</td>
245
+ </tr>
246
+ <tr>
247
+ <td>14</td>
248
+ <td>9999-11-24</td>
249
+ <td>nets</td>
250
+ <td>w 101 - 87 (ot)</td>
251
+ <td>carmelo anthony (27)</td>
252
+ <td>nenê (9)</td>
253
+ <td>chauncey billups (7)</td>
254
+ <td>pepsi center 16307</td>
255
+ <td>10 - 4</td>
256
+ </tr>
257
+ <tr>
258
+ <td>16</td>
259
+ <td>9999-11-27</td>
260
+ <td>knicks</td>
261
+ <td>w 128 - 125 (ot)</td>
262
+ <td>carmelo anthony (50)</td>
263
+ <td>nenê , kenyon martin (11)</td>
264
+ <td>chauncey billups (8)</td>
265
+ <td>pepsi center 19155</td>
266
+ <td>12 - 4</td>
267
+ </tr>
268
+ </table>
269
+ </div>
270
+ </div>
271
+ <hr/>
272
+ <div class="step">
273
+ <div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 6, otherwise return FALSE.</div>
274
+ <div class="content" id="step-1">
275
+ <table>
276
+ <tr>
277
+ <td>game</td>
278
+ <td>date</td>
279
+ <td>team</td>
280
+ <td>score</td>
281
+ <td>high_points</td>
282
+ <td>high_rebounds</td>
283
+ <td>high_assists</td>
284
+ <td>location_attendance</td>
285
+ <td>record</td>
286
+ </tr>
287
+ </table>
288
+ </div>
289
+ </div>
290
+ <hr/>
291
+
292
+ </div>
293
+ </div>
294
+ <hr/>
295
+ </body></html>
htmls_POS_mod2/FN/test-1274.html ADDED
@@ -0,0 +1,383 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> chauncey billups led or was tied for the lead in assists for 10 out of 13 games</h3>
24
+ <h3>Input Table: 2009 - 10 denver nuggets season</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Order the table by 'game' in ascending order.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>game</td>
32
+ <td>date</td>
33
+ <td>team</td>
34
+ <td>score</td>
35
+ <td>high_points</td>
36
+ <td>high_rebounds</td>
37
+ <td>high_assists</td>
38
+ <td>location_attendance</td>
39
+ <td>record</td>
40
+ </tr>
41
+ <tr>
42
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3</span></td>
43
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-01</span></td>
44
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">grizzlies</span></td>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 133 - 123 (ot)</span></td>
46
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (42)</span></td>
47
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nenê (9)</span></td>
48
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (12)</span></td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pepsi center 15823</span></td>
50
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3 - 0</span></td>
51
+ </tr>
52
+ <tr>
53
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">4</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-03</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pacers</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 111 - 93 (ot)</span></td>
57
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (25)</span></td>
58
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nenê (13)</span></td>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">anthony carter (5)</span></td>
60
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">conseco fieldhouse 10627</span></td>
61
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">4 - 0</span></td>
62
+ </tr>
63
+ <tr>
64
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">5</span></td>
65
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-04</span></td>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nets</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 122 - 94 (ot)</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ty lawson (23)</span></td>
69
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kenyon martin (10)</span></td>
70
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (5)</span></td>
71
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">izod center 15319</span></td>
72
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5 - 0</span></td>
73
+ </tr>
74
+ <tr>
75
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">7</span></td>
76
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-07</span></td>
77
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hawks</span></td>
78
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 100 - 125 (ot)</span></td>
79
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (30)</span></td>
80
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chris andersen (11)</span></td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (7)</span></td>
82
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">philips arena 17801</span></td>
83
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5 - 2</span></td>
84
+ </tr>
85
+ <tr>
86
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">8</span></td>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-10</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bulls</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 90 - 89 (ot)</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (20)</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nenê (12)</span></td>
92
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (6)</span></td>
93
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">united center 21409</span></td>
94
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6 - 2</span></td>
95
+ </tr>
96
+ <tr>
97
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9</span></td>
98
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-11</span></td>
99
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bucks</span></td>
100
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 102 - 108 (ot)</span></td>
101
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (32)</span></td>
102
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (10)</span></td>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups , ty lawson (5)</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bradley center 12987</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6 - 3</span></td>
106
+ </tr>
107
+ <tr>
108
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">10</span></td>
109
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-13</span></td>
110
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lakers</span></td>
111
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 105 - 79 (ot)</span></td>
112
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (25)</span></td>
113
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chris andersen (11)</span></td>
114
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (8)</span></td>
115
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pepsi center 19141</span></td>
116
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">7 - 3</span></td>
117
+ </tr>
118
+ <tr>
119
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">11</span></td>
120
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-17</span></td>
121
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">raptors</span></td>
122
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 130 - 112 (ot)</span></td>
123
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (32)</span></td>
124
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nenê (10)</span></td>
125
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (10)</span></td>
126
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pepsi center 16446</span></td>
127
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">8 - 3</span></td>
128
+ </tr>
129
+ <tr>
130
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">12</span></td>
131
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-20</span></td>
132
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">clippers</span></td>
133
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">l 99 - 106 (ot)</span></td>
134
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (37)</span></td>
135
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nenê (12)</span></td>
136
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (7)</span></td>
137
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">staples center 18155</span></td>
138
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">8 - 4</span></td>
139
+ </tr>
140
+ <tr>
141
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">13</span></td>
142
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-21</span></td>
143
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bulls</span></td>
144
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 112 - 93 (ot)</span></td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (30)</span></td>
146
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony , kenyon martin (11)</span></td>
147
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (7)</span></td>
148
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pepsi center 19359</span></td>
149
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9 - 4</span></td>
150
+ </tr>
151
+ <tr>
152
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">14</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-24</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nets</span></td>
155
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 101 - 87 (ot)</span></td>
156
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (27)</span></td>
157
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nenê (9)</span></td>
158
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (7)</span></td>
159
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pepsi center 16307</span></td>
160
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10 - 4</span></td>
161
+ </tr>
162
+ <tr>
163
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">15</span></td>
164
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-25</span></td>
165
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">timberwolves</span></td>
166
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 124 - 111 (ot)</span></td>
167
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (22)</span></td>
168
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nenê (8)</span></td>
169
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nenê , ty lawson (6)</span></td>
170
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">target center 13101</span></td>
171
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11 - 4</span></td>
172
+ </tr>
173
+ <tr>
174
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">16</span></td>
175
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-27</span></td>
176
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">knicks</span></td>
177
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 128 - 125 (ot)</span></td>
178
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (50)</span></td>
179
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nenê , kenyon martin (11)</span></td>
180
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (8)</span></td>
181
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">pepsi center 19155</span></td>
182
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">12 - 4</span></td>
183
+ </tr>
184
+ </table>
185
+ </div>
186
+ <hr/>
187
+ <div class="step">
188
+ <div class="step-title">Step 2: Select rows where 'high_assists' is equal to or greater than the maximum value of 'high_assists' in the table.</div>
189
+ <div class="content" id="step-0">
190
+ <table>
191
+ <tr>
192
+ <td>game</td>
193
+ <td>date</td>
194
+ <td>team</td>
195
+ <td>score</td>
196
+ <td>high_points</td>
197
+ <td>high_rebounds</td>
198
+ <td>high_assists</td>
199
+ <td>location_attendance</td>
200
+ <td>record</td>
201
+ </tr>
202
+ <tr>
203
+ <td>3</td>
204
+ <td>9999-11-01</td>
205
+ <td>grizzlies</td>
206
+ <td>w 133 - 123 (ot)</td>
207
+ <td>carmelo anthony (42)</td>
208
+ <td>nenê (9)</td>
209
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (12)</span></td>
210
+ <td>pepsi center 15823</td>
211
+ <td>3 - 0</td>
212
+ </tr>
213
+ <tr>
214
+ <td>4</td>
215
+ <td>9999-11-03</td>
216
+ <td>pacers</td>
217
+ <td>w 111 - 93 (ot)</td>
218
+ <td>carmelo anthony (25)</td>
219
+ <td>nenê (13)</td>
220
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">anthony carter (5)</span></td>
221
+ <td>conseco fieldhouse 10627</td>
222
+ <td>4 - 0</td>
223
+ </tr>
224
+ <tr>
225
+ <td>5</td>
226
+ <td>9999-11-04</td>
227
+ <td>nets</td>
228
+ <td>w 122 - 94 (ot)</td>
229
+ <td>ty lawson (23)</td>
230
+ <td>kenyon martin (10)</td>
231
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (5)</span></td>
232
+ <td>izod center 15319</td>
233
+ <td>5 - 0</td>
234
+ </tr>
235
+ <tr>
236
+ <td>7</td>
237
+ <td>9999-11-07</td>
238
+ <td>hawks</td>
239
+ <td>l 100 - 125 (ot)</td>
240
+ <td>carmelo anthony (30)</td>
241
+ <td>chris andersen (11)</td>
242
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (7)</span></td>
243
+ <td>philips arena 17801</td>
244
+ <td>5 - 2</td>
245
+ </tr>
246
+ <tr>
247
+ <td>8</td>
248
+ <td>9999-11-10</td>
249
+ <td>bulls</td>
250
+ <td>w 90 - 89 (ot)</td>
251
+ <td>carmelo anthony (20)</td>
252
+ <td>nenê (12)</td>
253
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (6)</span></td>
254
+ <td>united center 21409</td>
255
+ <td>6 - 2</td>
256
+ </tr>
257
+ <tr>
258
+ <td>9</td>
259
+ <td>9999-11-11</td>
260
+ <td>bucks</td>
261
+ <td>l 102 - 108 (ot)</td>
262
+ <td>carmelo anthony (32)</td>
263
+ <td>carmelo anthony (10)</td>
264
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups , ty lawson (5)</span></td>
265
+ <td>bradley center 12987</td>
266
+ <td>6 - 3</td>
267
+ </tr>
268
+ <tr>
269
+ <td>10</td>
270
+ <td>9999-11-13</td>
271
+ <td>lakers</td>
272
+ <td>w 105 - 79 (ot)</td>
273
+ <td>carmelo anthony (25)</td>
274
+ <td>chris andersen (11)</td>
275
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (8)</span></td>
276
+ <td>pepsi center 19141</td>
277
+ <td>7 - 3</td>
278
+ </tr>
279
+ <tr>
280
+ <td>11</td>
281
+ <td>9999-11-17</td>
282
+ <td>raptors</td>
283
+ <td>w 130 - 112 (ot)</td>
284
+ <td>carmelo anthony (32)</td>
285
+ <td>nenê (10)</td>
286
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (10)</span></td>
287
+ <td>pepsi center 16446</td>
288
+ <td>8 - 3</td>
289
+ </tr>
290
+ <tr>
291
+ <td>12</td>
292
+ <td>9999-11-20</td>
293
+ <td>clippers</td>
294
+ <td>l 99 - 106 (ot)</td>
295
+ <td>carmelo anthony (37)</td>
296
+ <td>nenê (12)</td>
297
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (7)</span></td>
298
+ <td>staples center 18155</td>
299
+ <td>8 - 4</td>
300
+ </tr>
301
+ <tr>
302
+ <td>13</td>
303
+ <td>9999-11-21</td>
304
+ <td>bulls</td>
305
+ <td>w 112 - 93 (ot)</td>
306
+ <td>carmelo anthony (30)</td>
307
+ <td>carmelo anthony , kenyon martin (11)</td>
308
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (7)</span></td>
309
+ <td>pepsi center 19359</td>
310
+ <td>9 - 4</td>
311
+ </tr>
312
+ <tr>
313
+ <td>14</td>
314
+ <td>9999-11-24</td>
315
+ <td>nets</td>
316
+ <td>w 101 - 87 (ot)</td>
317
+ <td>carmelo anthony (27)</td>
318
+ <td>nenê (9)</td>
319
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (7)</span></td>
320
+ <td>pepsi center 16307</td>
321
+ <td>10 - 4</td>
322
+ </tr>
323
+ <tr>
324
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">15</span></td>
325
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-25</span></td>
326
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">timberwolves</span></td>
327
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">w 124 - 111 (ot)</span></td>
328
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carmelo anthony (22)</span></td>
329
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">nenê (8)</span></td>
330
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">nenê , ty lawson (6)</span></td>
331
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">target center 13101</span></td>
332
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">11 - 4</span></td>
333
+ </tr>
334
+ <tr>
335
+ <td>16</td>
336
+ <td>9999-11-27</td>
337
+ <td>knicks</td>
338
+ <td>w 128 - 125 (ot)</td>
339
+ <td>carmelo anthony (50)</td>
340
+ <td>nenê , kenyon martin (11)</td>
341
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">chauncey billups (8)</span></td>
342
+ <td>pepsi center 19155</td>
343
+ <td>12 - 4</td>
344
+ </tr>
345
+ </table>
346
+ </div>
347
+ </div>
348
+ <hr/>
349
+ <div class="step">
350
+ <div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 10, otherwise return FALSE.</div>
351
+ <div class="content" id="step-1">
352
+ <table>
353
+ <tr>
354
+ <td>game</td>
355
+ <td>date</td>
356
+ <td>team</td>
357
+ <td>score</td>
358
+ <td>high_points</td>
359
+ <td>high_rebounds</td>
360
+ <td>high_assists</td>
361
+ <td>location_attendance</td>
362
+ <td>record</td>
363
+ </tr>
364
+ <tr>
365
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">15</span></td>
366
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-11-25</span></td>
367
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">timberwolves</span></td>
368
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">w 124 - 111 (ot)</span></td>
369
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">carmelo anthony (22)</span></td>
370
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">nenê (8)</span></td>
371
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">nenê , ty lawson (6)</span></td>
372
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">target center 13101</span></td>
373
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">11 - 4</span></td>
374
+ </tr>
375
+ </table>
376
+ </div>
377
+ </div>
378
+ <hr/>
379
+
380
+ </div>
381
+ </div>
382
+ <hr/>
383
+ </body></html>
htmls_POS_mod2/FN/test-128.html ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> greg ostertag played the center position for the jazz from 1995 to 2004 and then from 2005 to 2006</h3>
24
+ <h3>Input Table: utah jazz all - time roster</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'player' is 'greg ostertag'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>player</td>
32
+ <td>nationality</td>
33
+ <td>position</td>
34
+ <td>years_for_jazz</td>
35
+ <td>school___club_team</td>
36
+ </tr>
37
+ <tr>
38
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mehmet okur</span></td>
39
+ <td>turkey</td>
40
+ <td>forward - center</td>
41
+ <td>2004 - 11</td>
42
+ <td>efes pilsen ( turkey )</td>
43
+ </tr>
44
+ <tr>
45
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">josã ortiz</span></td>
46
+ <td>puerto rico</td>
47
+ <td>center</td>
48
+ <td>1988 - 90</td>
49
+ <td>oregon state</td>
50
+ </tr>
51
+ <tr>
52
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">greg ostertag</span></td>
53
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">united states</span></td>
54
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">center</span></td>
55
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1995 - 2004 , 2005 - 06</span></td>
56
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kansas</span></td>
57
+ </tr>
58
+ <tr>
59
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">dan o 'sullivan</span></td>
60
+ <td>united states</td>
61
+ <td>center</td>
62
+ <td>1990 - 91</td>
63
+ <td>fordham</td>
64
+ </tr>
65
+ <tr>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">andre owens</span></td>
67
+ <td>united states</td>
68
+ <td>guard</td>
69
+ <td>2005 - 06</td>
70
+ <td>houston</td>
71
+ </tr>
72
+ </table>
73
+ </div>
74
+ <hr/>
75
+ <div class="step">
76
+ <div class="step-title">Step 2: Select rows where 'position' is 'center'.</div>
77
+ <div class="content" id="step-0">
78
+ <table>
79
+ <tr>
80
+ <td>player</td>
81
+ <td>nationality</td>
82
+ <td>position</td>
83
+ <td>years_for_jazz</td>
84
+ <td>school___club_team</td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">greg ostertag</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">united states</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">center</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1995 - 2004 , 2005 - 06</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kansas</span></td>
92
+ </tr>
93
+ </table>
94
+ </div>
95
+ </div>
96
+ <hr/>
97
+ <div class="step">
98
+ <div class="step-title">Step 3: Select rows where 'years_for_jazz' includes '1995-2004' and '2005-2006'.</div>
99
+ <div class="content" id="step-1">
100
+ <table>
101
+ <tr>
102
+ <td>player</td>
103
+ <td>nationality</td>
104
+ <td>position</td>
105
+ <td>years_for_jazz</td>
106
+ <td>school___club_team</td>
107
+ </tr>
108
+ <tr>
109
+ <td>greg ostertag</td>
110
+ <td>united states</td>
111
+ <td>center</td>
112
+ <td>1995 - 2004 , 2005 - 06</td>
113
+ <td>kansas</td>
114
+ </tr>
115
+ </table>
116
+ </div>
117
+ </div>
118
+ <hr/>
119
+ <div class="step">
120
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
121
+ <div class="content" id="step-2">
122
+ <table>
123
+ <tr>
124
+ <td>player</td>
125
+ <td>nationality</td>
126
+ <td>position</td>
127
+ <td>years_for_jazz</td>
128
+ <td>school___club_team</td>
129
+ </tr>
130
+ </table>
131
+ </div>
132
+ </div>
133
+ <hr/>
134
+
135
+ </div>
136
+ </div>
137
+ <hr/>
138
+ </body></html>
htmls_POS_mod2/FN/test-1294.html ADDED
@@ -0,0 +1,421 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html><head>
2
+ <style>
3
+ body { font-family: Arial, sans-serif; margin: 20px; }
4
+ h1 { text-align: center; }
5
+ .cot-title { color: blue; }
6
+ .pos-title { color: green; }
7
+ h2 { color: black; text-align: left; }
8
+ h3 { color: black; text-align: left; }
9
+ h4 { color: darkslategray; }
10
+ table { width: 100%; border-collapse: collapse; margin: 20px 0; }
11
+ table, th, td { border: 1px solid #ddd; padding: 8px; }
12
+ th { background-color: #f2f2f2; }
13
+ tr:nth-child(even) { background-color: #f9f9f9; }
14
+ .highlight { background-color: #ffffcc; }
15
+ .true { color: green; }
16
+ .false { color: red; }
17
+ .highlighted-cell { background-color: yellow; cursor: pointer; }
18
+ .step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }
19
+ .step { display: block; }
20
+ </style>
21
+ </head><body>
22
+ <hr/>
23
+ <h3><span>Statement:</span> robert garrett and james connolly represent the same country</h3>
24
+ <h3>Input Table: list of multiple olympic medalists</h3>
25
+ <div class="step">
26
+ <div class="step">
27
+ <div class="step-title">Step 1: Select rows where 'athlete' is 'robert garrett'.</div>
28
+ <div class="content" id="step-1">
29
+ <table>
30
+ <tr>
31
+ <td>medal_count</td>
32
+ <td>date</td>
33
+ <td>athlete</td>
34
+ <td>nation</td>
35
+ <td>sport</td>
36
+ <td>record_medal_event</td>
37
+ </tr>
38
+ <tr>
39
+ <td>1</td>
40
+ <td>1896-04-06</td>
41
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">james connolly</span></td>
42
+ <td>united states</td>
43
+ <td>athletics</td>
44
+ <td>triple jump g</td>
45
+ </tr>
46
+ <tr>
47
+ <td>1</td>
48
+ <td>1896-04-06</td>
49
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alexandre tuffère</span></td>
50
+ <td>france</td>
51
+ <td>athletics</td>
52
+ <td>triple jump s</td>
53
+ </tr>
54
+ <tr>
55
+ <td>1</td>
56
+ <td>1896-04-06</td>
57
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ioannis persakis</span></td>
58
+ <td>greece</td>
59
+ <td>athletics</td>
60
+ <td>triple jump b</td>
61
+ </tr>
62
+ <tr>
63
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1</span></td>
64
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1896-04-06</span></td>
65
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">robert garrett</span></td>
66
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">united states</span></td>
67
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">athletics</span></td>
68
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">discus g</span></td>
69
+ </tr>
70
+ <tr>
71
+ <td>1</td>
72
+ <td>1896-04-06</td>
73
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">panagiotis paraskevopoulos</span></td>
74
+ <td>greece</td>
75
+ <td>athletics</td>
76
+ <td>discus s</td>
77
+ </tr>
78
+ <tr>
79
+ <td>1</td>
80
+ <td>1896-04-06</td>
81
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sotirios versis</span></td>
82
+ <td>greece</td>
83
+ <td>athletics</td>
84
+ <td>discus b</td>
85
+ </tr>
86
+ <tr>
87
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2</span></td>
88
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1896-04-07</span></td>
89
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">robert garrett</span></td>
90
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">united states</span></td>
91
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">athletics</span></td>
92
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">long jump s</span></td>
93
+ </tr>
94
+ <tr>
95
+ <td>2</td>
96
+ <td>1896-04-07</td>
97
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">james connolly</span></td>
98
+ <td>united states</td>
99
+ <td>athletics</td>
100
+ <td>long jump b</td>
101
+ </tr>
102
+ <tr>
103
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>
104
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1896-04-07</span></td>
105
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">robert garrett</span></td>
106
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">united states</span></td>
107
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">athletics</span></td>
108
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">shot put g</span></td>
109
+ </tr>
110
+ <tr>
111
+ <td>3</td>
112
+ <td>1896-04-09</td>
113
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carl schuhmann</span></td>
114
+ <td>germany</td>
115
+ <td>gymnastics</td>
116
+ <td>vault g</td>
117
+ </tr>
118
+ <tr>
119
+ <td>3</td>
120
+ <td>1896-04-09</td>
121
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hermann weingärtner</span></td>
122
+ <td>germany</td>
123
+ <td>gymnastics</td>
124
+ <td>vault b</td>
125
+ </tr>
126
+ <tr>
127
+ <td>4</td>
128
+ <td>1896-04-09</td>
129
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hermann weingärtner</span></td>
130
+ <td>germany</td>
131
+ <td>gymnastics</td>
132
+ <td>pommel horse s</td>
133
+ </tr>
134
+ <tr>
135
+ <td>5</td>
136
+ <td>1896-04-09</td>
137
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hermann weingärtner</span></td>
138
+ <td>germany</td>
139
+ <td>gymnastics</td>
140
+ <td>rings s</td>
141
+ </tr>
142
+ <tr>
143
+ <td>6</td>
144
+ <td>1896-04-09</td>
145
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">hermann weingärtner</span></td>
146
+ <td>germany</td>
147
+ <td>gymnastics</td>
148
+ <td>horizontal bar g</td>
149
+ </tr>
150
+ <tr>
151
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">6</span></td>
152
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1900-07-16</span></td>
153
+ <td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">robert garrett</span></td>
154
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">united states</span></td>
155
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">athletics</span></td>
156
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">standing triple jump b</span></td>
157
+ </tr>
158
+ <tr>
159
+ <td>6</td>
160
+ <td>1904-09-03</td>
161
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ray ewry</span></td>
162
+ <td>united states</td>
163
+ <td>athletics</td>
164
+ <td>standing triple jump g</td>
165
+ </tr>
166
+ <tr>
167
+ <td>7</td>
168
+ <td>1908-07-20</td>
169
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ray ewry</span></td>
170
+ <td>united states</td>
171
+ <td>athletics</td>
172
+ <td>standing long jump g</td>
173
+ </tr>
174
+ <tr>
175
+ <td>8</td>
176
+ <td>1908-07-23</td>
177
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ray ewry</span></td>
178
+ <td>united states</td>
179
+ <td>athletics</td>
180
+ <td>standing high jump g</td>
181
+ </tr>
182
+ <tr>
183
+ <td>8</td>
184
+ <td>1920-07-29</td>
185
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carl osburn</span></td>
186
+ <td>united states</td>
187
+ <td>shooting</td>
188
+ <td>team 300 m / 600 m military rifle , prone g</td>
189
+ </tr>
190
+ <tr>
191
+ <td>9</td>
192
+ <td>1920-07-30</td>
193
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carl osburn</span></td>
194
+ <td>united states</td>
195
+ <td>shooting</td>
196
+ <td>300 m military rifle , standing g</td>
197
+ </tr>
198
+ <tr>
199
+ <td>10</td>
200
+ <td>1920-07-31</td>
201
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carl osburn</span></td>
202
+ <td>united states</td>
203
+ <td>shooting</td>
204
+ <td>team free rifle g</td>
205
+ </tr>
206
+ <tr>
207
+ <td>11</td>
208
+ <td>1924-06-27</td>
209
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">carl osburn</span></td>
210
+ <td>united states</td>
211
+ <td>shooting</td>
212
+ <td>600 m free rifle s</td>
213
+ </tr>
214
+ <tr>
215
+ <td>11</td>
216
+ <td>1928-08-03</td>
217
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">paavo nurmi</span></td>
218
+ <td>finland</td>
219
+ <td>athletics</td>
220
+ <td>5000 m s</td>
221
+ </tr>
222
+ <tr>
223
+ <td>12</td>
224
+ <td>1928-08-04</td>
225
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">paavo nurmi</span></td>
226
+ <td>finland</td>
227
+ <td>athletics</td>
228
+ <td>3000 m steeplechase s</td>
229
+ </tr>
230
+ <tr>
231
+ <td>12</td>
232
+ <td>1960-09-02</td>
233
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">edoardo mangiarotti</span></td>
234
+ <td>italy</td>
235
+ <td>fencing</td>
236
+ <td>team foil s</td>
237
+ </tr>
238
+ <tr>
239
+ <td>13</td>
240
+ <td>1960-09-09</td>
241
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">edoardo mangiarotti</span></td>
242
+ <td>italy</td>
243
+ <td>fencing</td>
244
+ <td>team épée g</td>
245
+ </tr>
246
+ <tr>
247
+ <td>13</td>
248
+ <td>1964-10-21</td>
249
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">larisa latynina</span></td>
250
+ <td>soviet union</td>
251
+ <td>gymnastics</td>
252
+ <td>team g</td>
253
+ </tr>
254
+ <tr>
255
+ <td>14</td>
256
+ <td>1964-10-21</td>
257
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">larisa latynina</span></td>
258
+ <td>soviet union</td>
259
+ <td>gymnastics</td>
260
+ <td>all - around s</td>
261
+ </tr>
262
+ <tr>
263
+ <td>15</td>
264
+ <td>1964-10-22</td>
265
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">larisa latynina</span></td>
266
+ <td>soviet union</td>
267
+ <td>gymnastics</td>
268
+ <td>vault s</td>
269
+ </tr>
270
+ <tr>
271
+ <td>16</td>
272
+ <td>1964-10-22</td>
273
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">larisa latynina</span></td>
274
+ <td>soviet union</td>
275
+ <td>gymnastics</td>
276
+ <td>uneven bars b</td>
277
+ </tr>
278
+ <tr>
279
+ <td>17</td>
280
+ <td>1964-10-23</td>
281
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">larisa latynina</span></td>
282
+ <td>soviet union</td>
283
+ <td>gymnastics</td>
284
+ <td>balance beam b</td>
285
+ </tr>
286
+ <tr>
287
+ <td>18</td>
288
+ <td>1964-10-23</td>
289
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">larisa latynina</span></td>
290
+ <td>soviet union</td>
291
+ <td>gymnastics</td>
292
+ <td>floor exercise g</td>
293
+ </tr>
294
+ <tr>
295
+ <td>18</td>
296
+ <td>2012-07-31</td>
297
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">michael phelps</span></td>
298
+ <td>united states</td>
299
+ <td>swimming</td>
300
+ <td>200 m butterfly s</td>
301
+ </tr>
302
+ <tr>
303
+ <td>19</td>
304
+ <td>2012-07-31</td>
305
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">michael phelps</span></td>
306
+ <td>united states</td>
307
+ <td>swimming</td>
308
+ <td>4 x 200 m freestyle g</td>
309
+ </tr>
310
+ <tr>
311
+ <td>20</td>
312
+ <td>2012-08-02</td>
313
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">michael phelps</span></td>
314
+ <td>united states</td>
315
+ <td>swimming</td>
316
+ <td>200 m individual medley g</td>
317
+ </tr>
318
+ <tr>
319
+ <td>21</td>
320
+ <td>2012-08-03</td>
321
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">michael phelps</span></td>
322
+ <td>united states</td>
323
+ <td>swimming</td>
324
+ <td>100 m butterfly g</td>
325
+ </tr>
326
+ <tr>
327
+ <td>22</td>
328
+ <td>2012-08-04</td>
329
+ <td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">michael phelps</span></td>
330
+ <td>united states</td>
331
+ <td>swimming</td>
332
+ <td>4 100 m medley relay g</td>
333
+ </tr>
334
+ </table>
335
+ </div>
336
+ <hr/>
337
+ <div class="step">
338
+ <div class="step-title">Step 2: Select rows where 'athlete' is 'james connolly'.</div>
339
+ <div class="content" id="step-0">
340
+ <table>
341
+ <tr>
342
+ <td>medal_count</td>
343
+ <td>date</td>
344
+ <td>athlete</td>
345
+ <td>nation</td>
346
+ <td>sport</td>
347
+ <td>record_medal_event</td>
348
+ </tr>
349
+ <tr>
350
+ <td>1</td>
351
+ <td>1896-04-06</td>
352
+ <td>robert garrett</td>
353
+ <td>united states</td>
354
+ <td>athletics</td>
355
+ <td>discus g</td>
356
+ </tr>
357
+ <tr>
358
+ <td>2</td>
359
+ <td>1896-04-07</td>
360
+ <td>robert garrett</td>
361
+ <td>united states</td>
362
+ <td>athletics</td>
363
+ <td>long jump s</td>
364
+ </tr>
365
+ <tr>
366
+ <td>3</td>
367
+ <td>1896-04-07</td>
368
+ <td>robert garrett</td>
369
+ <td>united states</td>
370
+ <td>athletics</td>
371
+ <td>shot put g</td>
372
+ </tr>
373
+ <tr>
374
+ <td>6</td>
375
+ <td>1900-07-16</td>
376
+ <td>robert garrett</td>
377
+ <td>united states</td>
378
+ <td>athletics</td>
379
+ <td>standing triple jump b</td>
380
+ </tr>
381
+ </table>
382
+ </div>
383
+ </div>
384
+ <hr/>
385
+ <div class="step">
386
+ <div class="step-title">Step 3: Select rows where 'nation' is the same for both athletes.</div>
387
+ <div class="content" id="step-1">
388
+ <table>
389
+ <tr>
390
+ <td>medal_count</td>
391
+ <td>date</td>
392
+ <td>athlete</td>
393
+ <td>nation</td>
394
+ <td>sport</td>
395
+ <td>record_medal_event</td>
396
+ </tr>
397
+ </table>
398
+ </div>
399
+ </div>
400
+ <hr/>
401
+ <div class="step">
402
+ <div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>
403
+ <div class="content" id="step-2">
404
+ <table>
405
+ <tr>
406
+ <td>medal_count</td>
407
+ <td>date</td>
408
+ <td>athlete</td>
409
+ <td>nation</td>
410
+ <td>sport</td>
411
+ <td>record_medal_event</td>
412
+ </tr>
413
+ </table>
414
+ </div>
415
+ </div>
416
+ <hr/>
417
+
418
+ </div>
419
+ </div>
420
+ <hr/>
421
+ </body></html>