|
<html><head> |
|
<style> |
|
body { font-family: Arial, sans-serif; margin: 20px; } |
|
h1 { text-align: center; } |
|
.cot-title { color: blue; } |
|
.pos-title { color: green; } |
|
h2 { color: black; text-align: left; } |
|
h3 { color: black; text-align: left; } |
|
h4 { color: darkslategray; } |
|
table { width: 100%; border-collapse: collapse; margin: 20px 0; } |
|
table, th, td { border: 1px solid #ddd; padding: 8px; } |
|
th { background-color: #f2f2f2; } |
|
tr:nth-child(even) { background-color: #f9f9f9; } |
|
.highlight { background-color: #ffffcc; } |
|
.true { color: green; } |
|
.false { color: red; } |
|
.highlighted-cell { background-color: yellow; cursor: pointer; } |
|
.step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; } |
|
.step { display: block; } |
|
</style> |
|
</head><body> |
|
<h1 class="pos-title">Plan-of-SQLs (Ours)</h1> |
|
<hr> |
|
<h3><span>Statement:</span> the gap between first and last was less than 50 points</h3> |
|
<h3>Ground-truth:</span> FALSE</h3> |
|
<h3>Input Table: 1976 world junior figure skating championships</h3> |
|
<div class="step"> |
|
<div class="step"> |
|
<div class="step-title">Step 1: Select rows where 'points' is not null.</div> |
|
<div id="step-1" class="content"> |
|
<table> |
|
<tr> |
|
<td>rank</td> |
|
<td>name</td> |
|
<td>nation</td> |
|
<td>sp___fs</td> |
|
<td>points</td> |
|
<td>places</td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mark cockerell</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">172.42</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">takashi mura</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">japan</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">165.7</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">brian pockar</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">canada</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">166.62</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">23.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">norbert schramm</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">west germany</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">159.8</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">40.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">andrew bestwick</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united kingdom</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">158.1</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">48.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stephan bril</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">west germany</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">155.72</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">57.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">patrice macrez</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">france</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">151.76</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">71.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">8</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">pierre lamine</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">france</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">8</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">150.5</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">79.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">shinji someya</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">japan</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">150.34</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">74.5</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jozef sabovčík</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">czechoslovakia</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">148.88</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">87.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">daniel fuerer</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">switzerland</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">146.18</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">92.5</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gerald schranz</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">austria</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">143.04</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">102.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">helmut kristofics - binder</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">austria</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">137.32</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">123.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">michael pasfield</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">australia</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">136.6</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">119.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">francis demarteau</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">belgium</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">131.02</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">140.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">adrian vasile</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">romania</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">127.74</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">143.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">miljan begovic</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">yugoslavia</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">127.3</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">143.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">18</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jeremy dowson</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south africa</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">18</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">114.98</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">166.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marc franquet</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">belgium</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">114.38</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">167.0</span></td> |
|
</tr> |
|
</table> |
|
</div> |
|
<hr> |
|
<div class="step"> |
|
<div class="step-title">Step 2: Cast to FLOAT and order the table by 'points' in descending order and select the first row.</div> |
|
<div id="step-0" class="content"> |
|
<table> |
|
<tr> |
|
<td>rank</td> |
|
<td>name</td> |
|
<td>nation</td> |
|
<td>sp___fs</td> |
|
<td>points</td> |
|
<td>places</td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">mark cockerell</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">united states</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">172.42</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">11.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">takashi mura</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">japan</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">165.7</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">brian pockar</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">canada</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">166.62</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">23.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">norbert schramm</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">west germany</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">159.8</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">40.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">andrew bestwick</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united kingdom</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">158.1</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">48.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stephan bril</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">west germany</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">155.72</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">57.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">patrice macrez</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">france</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">151.76</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">71.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">8</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">pierre lamine</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">france</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">8</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">150.5</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">79.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">shinji someya</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">japan</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">150.34</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">74.5</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jozef sabovčík</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">czechoslovakia</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">148.88</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">87.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">daniel fuerer</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">switzerland</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">146.18</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">92.5</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gerald schranz</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">austria</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">143.04</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">102.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">helmut kristofics - binder</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">austria</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">137.32</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">123.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">michael pasfield</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">australia</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">136.6</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">119.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">francis demarteau</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">belgium</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">131.02</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">140.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">adrian vasile</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">romania</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">127.74</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">143.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">miljan begovic</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">yugoslavia</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">127.3</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">143.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">18</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jeremy dowson</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south africa</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">18</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">114.98</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">166.0</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marc franquet</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">belgium</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">114.38</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">167.0</span></td> |
|
</tr> |
|
</table> |
|
</div> |
|
</div> |
|
<hr> |
|
<div class="step"> |
|
<div class="step-title">Step 3: Select rows where 'points' is not null.</div> |
|
<div id="step-1" class="content"> |
|
<table> |
|
<tr> |
|
<td>rank</td> |
|
<td>name</td> |
|
<td>nation</td> |
|
<td>sp___fs</td> |
|
<td>points</td> |
|
<td>places</td> |
|
<td>float_points</td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mark cockerell</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">172.42</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11.0</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">172.42</span></td> |
|
</tr> |
|
</table> |
|
</div> |
|
</div> |
|
<hr> |
|
<div class="step"> |
|
<div class="step-title">Step 4: Cast to FLOAT and order the table by 'points' in ascending order and select the first row.</div> |
|
<div id="step-2" class="content"> |
|
<table> |
|
<tr> |
|
<td>rank</td> |
|
<td>name</td> |
|
<td>nation</td> |
|
<td>sp___fs</td> |
|
<td>points</td> |
|
<td>places</td> |
|
<td>float_points</td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">mark cockerell</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">united states</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">172.42</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">11.0</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">172.42</span></td> |
|
</tr> |
|
</table> |
|
</div> |
|
</div> |
|
<hr> |
|
<div class="step"> |
|
<div class="step-title">Step 5: Calculate the difference between the points of the first and last rows.</div> |
|
<div id="step-3" class="content"> |
|
<table> |
|
<tr> |
|
<td>rank</td> |
|
<td>name</td> |
|
<td>nation</td> |
|
<td>sp___fs</td> |
|
<td>points</td> |
|
<td>places</td> |
|
<td>float_points</td> |
|
</tr> |
|
<tr> |
|
<td>1</td> |
|
<td>mark cockerell</td> |
|
<td>united states</td> |
|
<td>1</td> |
|
<td>172.42</td> |
|
<td>11.0</td> |
|
<td>172.42</td> |
|
</tr> |
|
</table> |
|
</div> |
|
</div> |
|
<hr> |
|
<div class="step"> |
|
<div class="step-title">Step 6: Use a `CASE` statement to return TRUE if the difference is less than 50, otherwise return FALSE.</div> |
|
<div id="step-4" class="content"> |
|
<table> |
|
<tr> |
|
<td>point_difference</td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0.0</span></td> |
|
</tr> |
|
</table> |
|
</div> |
|
</div> |
|
<hr> |
|
<div class="step"> |
|
<div class="step-title">Final output table:</div> |
|
<div id="step-5" class="content"> |
|
<table> |
|
<tr> |
|
<td>verification_result</td> |
|
</tr> |
|
<tr> |
|
<td>TRUE</td> |
|
</tr> |
|
</table> |
|
</div> |
|
</div> |
|
<hr> |
|
<div class="step"><h3><span class="false">Prediction: TRUE </span></h3> |
|
<h3>Ground-truth:</span> FALSE</h3></div> |
|
</body></html> |
|
|