| <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> | |
| <hr> | |
| <h3><span>Statement:</span> shane hall had an average finish of 31.39 between 1995 - 2008</h3> | |
| <h3>Input Table: shane hall</h3> | |
| <div class="step"> | |
| <div class="step"> | |
| <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> | |
| <div id="step-1" class="content"> | |
| <table> | |
| <tr> | |
| <td>year</td> | |
| <td>races</td> | |
| <td>wins</td> | |
| <td>poles</td> | |
| <td>top_5</td> | |
| <td>top_10</td> | |
| <td>dnf</td> | |
| <td>finish</td> | |
| <td>start</td> | |
| <td>winnings</td> | |
| <td>season_rank</td> | |
| <td>team__s_</td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1995</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">24.0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">37.0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5225</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">75th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stegell motorsports</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1996</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">14</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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;">26.4</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">25.1</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">63865</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">42nd</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stegell motorsports</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1997</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">28</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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:yellow;">0</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:yellow;">10</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">27.1</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">21.6</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">196656</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">23rd</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stegell motorsports</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1998</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">31</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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:yellow;">0</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;">5</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">24.9</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">25.5</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">335163</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stegell motorsports</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1999</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">25</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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:yellow;">1</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;">25.8</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">18.2</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">243810</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">curb - agajanian performance group</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2000</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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;">35.0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">28.5</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15900</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">90th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">alumni motorsports</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2001</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">33</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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;">27.9</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">32.7</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">491977</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">23rd</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hensley racing</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2002</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">24</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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:yellow;">11</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">27.0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">33.0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">288325</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">29th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hensley racing</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">5</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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;">35.8</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">25.6</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">68360</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">85th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jay robinson racing</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2004</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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;">31.4</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">37.2</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">139685</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">54th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">moy racing / jay robinson racing</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2005</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">7</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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;">40.9</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">32.6</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">108921</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">83rd</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jay robinson racing</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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;">38.9</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">39.1</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">151184</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">70th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jay robinson racing</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008</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:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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;">43.0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">34.0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15674</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">149th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jay robinson racing</span></td> | |
| </tr> | |
| </table> | |
| </div> | |
| <hr> | |
| <div class="step"> | |
| <div class="step-title">Step 2: Select rows where the 'year' is between 1995 and 2008 (inclusive).</div> | |
| <div id="step-0" class="content"> | |
| <table> | |
| <tr> | |
| <td>year</td> | |
| <td>races</td> | |
| <td>wins</td> | |
| <td>poles</td> | |
| <td>top_5</td> | |
| <td>top_10</td> | |
| <td>dnf</td> | |
| <td>finish</td> | |
| <td>start</td> | |
| <td>winnings</td> | |
| <td>season_rank</td> | |
| <td>team__s_</td> | |
| <td>avg_finish</td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1995</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;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24.0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">37.0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5225</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">75th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stegell motorsports</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12.0</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1996</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;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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;">26.4</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">25.1</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">63865</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">42nd</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stegell motorsports</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1.8857142857142857</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1997</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">28</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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:yellow;">0</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:yellow;">10</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">27.1</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">21.6</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">196656</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">23rd</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stegell motorsports</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0.9678571428571429</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1998</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">31</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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:yellow;">0</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;">5</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24.9</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">25.5</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">335163</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stegell motorsports</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0.8032258064516129</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1999</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">25</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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:yellow;">1</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;">25.8</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">18.2</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">243810</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">curb - agajanian performance group</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1.032</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2000</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;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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:yellow;">35.0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">28.5</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15900</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">90th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">alumni motorsports</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17.5</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2001</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">33</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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;">27.9</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">32.7</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">491977</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">23rd</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hensley racing</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0.8454545454545455</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2002</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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:yellow;">11</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">27.0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">33.0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">288325</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">29th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hensley racing</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1.125</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2003</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;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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;">35.8</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">25.6</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">68360</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">85th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jay robinson racing</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7.159999999999999</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2004</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;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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;">31.4</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">37.2</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">139685</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">54th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">moy racing / jay robinson racing</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3.488888888888889</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2005</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;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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;">40.9</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">32.6</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">108921</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">83rd</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jay robinson racing</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5.8428571428571425</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2006</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;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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;">38.9</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">39.1</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">151184</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">70th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jay robinson racing</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4.322222222222222</span></td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008</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:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</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:yellow;">43.0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">34.0</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15674</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">149th</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jay robinson racing</span></td> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">43.0</span></td> | |
| </tr> | |
| </table> | |
| </div> | |
| </div> | |
| <hr> | |
| <div class="step"> | |
| <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> | |
| <div id="step-1" class="content"> | |
| <table> | |
| <tr> | |
| <td>year</td> | |
| <td>races</td> | |
| <td>wins</td> | |
| <td>poles</td> | |
| <td>top_5</td> | |
| <td>top_10</td> | |
| <td>dnf</td> | |
| <td>finish</td> | |
| <td>start</td> | |
| <td>winnings</td> | |
| <td>season_rank</td> | |
| <td>team__s_</td> | |
| <td>avg_finish</td> | |
| </tr> | |
| <tr> | |
| <td>1995</td> | |
| <td>2</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>24.0</td> | |
| <td>37.0</td> | |
| <td>5225</td> | |
| <td>75th</td> | |
| <td>stegell motorsports</td> | |
| <td>12.0</td> | |
| </tr> | |
| <tr> | |
| <td>1996</td> | |
| <td>14</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>6</td> | |
| <td>26.4</td> | |
| <td>25.1</td> | |
| <td>63865</td> | |
| <td>42nd</td> | |
| <td>stegell motorsports</td> | |
| <td>1.8857142857142857</td> | |
| </tr> | |
| <tr> | |
| <td>1997</td> | |
| <td>28</td> | |
| <td>0</td> | |
| <td>1</td> | |
| <td>0</td> | |
| <td>1</td> | |
| <td>10</td> | |
| <td>27.1</td> | |
| <td>21.6</td> | |
| <td>196656</td> | |
| <td>23rd</td> | |
| <td>stegell motorsports</td> | |
| <td>0.9678571428571429</td> | |
| </tr> | |
| <tr> | |
| <td>1998</td> | |
| <td>31</td> | |
| <td>0</td> | |
| <td>1</td> | |
| <td>0</td> | |
| <td>3</td> | |
| <td>5</td> | |
| <td>24.9</td> | |
| <td>25.5</td> | |
| <td>335163</td> | |
| <td>19th</td> | |
| <td>stegell motorsports</td> | |
| <td>0.8032258064516129</td> | |
| </tr> | |
| <tr> | |
| <td>1999</td> | |
| <td>25</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>1</td> | |
| <td>1</td> | |
| <td>9</td> | |
| <td>25.8</td> | |
| <td>18.2</td> | |
| <td>243810</td> | |
| <td>24th</td> | |
| <td>curb - agajanian performance group</td> | |
| <td>1.032</td> | |
| </tr> | |
| <tr> | |
| <td>2000</td> | |
| <td>2</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>1</td> | |
| <td>35.0</td> | |
| <td>28.5</td> | |
| <td>15900</td> | |
| <td>90th</td> | |
| <td>alumni motorsports</td> | |
| <td>17.5</td> | |
| </tr> | |
| <tr> | |
| <td>2001</td> | |
| <td>33</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>6</td> | |
| <td>27.9</td> | |
| <td>32.7</td> | |
| <td>491977</td> | |
| <td>23rd</td> | |
| <td>hensley racing</td> | |
| <td>0.8454545454545455</td> | |
| </tr> | |
| <tr> | |
| <td>2002</td> | |
| <td>24</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>1</td> | |
| <td>11</td> | |
| <td>27.0</td> | |
| <td>33.0</td> | |
| <td>288325</td> | |
| <td>29th</td> | |
| <td>hensley racing</td> | |
| <td>1.125</td> | |
| </tr> | |
| <tr> | |
| <td>2003</td> | |
| <td>5</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>4</td> | |
| <td>35.8</td> | |
| <td>25.6</td> | |
| <td>68360</td> | |
| <td>85th</td> | |
| <td>jay robinson racing</td> | |
| <td>7.159999999999999</td> | |
| </tr> | |
| <tr> | |
| <td>2004</td> | |
| <td>9</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>6</td> | |
| <td>31.4</td> | |
| <td>37.2</td> | |
| <td>139685</td> | |
| <td>54th</td> | |
| <td>moy racing / jay robinson racing</td> | |
| <td>3.488888888888889</td> | |
| </tr> | |
| <tr> | |
| <td>2005</td> | |
| <td>7</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>7</td> | |
| <td>40.9</td> | |
| <td>32.6</td> | |
| <td>108921</td> | |
| <td>83rd</td> | |
| <td>jay robinson racing</td> | |
| <td>5.8428571428571425</td> | |
| </tr> | |
| <tr> | |
| <td>2006</td> | |
| <td>9</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>7</td> | |
| <td>38.9</td> | |
| <td>39.1</td> | |
| <td>151184</td> | |
| <td>70th</td> | |
| <td>jay robinson racing</td> | |
| <td>4.322222222222222</td> | |
| </tr> | |
| <tr> | |
| <td>2008</td> | |
| <td>1</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>0</td> | |
| <td>1</td> | |
| <td>43.0</td> | |
| <td>34.0</td> | |
| <td>15674</td> | |
| <td>149th</td> | |
| <td>jay robinson racing</td> | |
| <td>43.0</td> | |
| </tr> | |
| </table> | |
| </div> | |
| </div> | |
| <hr> | |
| <div class="step"> | |
| <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> | |
| <div id="step-2" class="content"> | |
| <table> | |
| <tr> | |
| <td>overall_avg_finish</td> | |
| </tr> | |
| <tr> | |
| <td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">7.690247694957372</span></td> | |
| </tr> | |
| </table> | |
| </div> | |
| </div> | |
| <hr> | |
| <table> | |
| <tr> | |
| <td>overall_avg_finish</td> | |
| <td>verification_result</td> | |
| </tr> | |
| <tr> | |
| <td>7.690247694957372</td> | |
| <td>FALSE</td> | |
| </tr> | |
| </table> | |
| </div> | |
| </div> | |
| <hr> | |
| </body></html> | |