|
<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> season 3 of dexter began airing after october of 2008</h3> |
|
<h3>Input Table: dexter (season 3)</h3> |
|
<div class="step"> |
|
<div class="step"> |
|
<div class="step-title">Step 1: Select rows where 'original_air_date' is after October 2008.</div> |
|
<div id="step-1" class="content"> |
|
<table> |
|
<tr> |
|
<td>no_in_series</td> |
|
<td>no_in_season</td> |
|
<td>title</td> |
|
<td>directed_by</td> |
|
<td>written_by</td> |
|
<td>original_air_date</td> |
|
<td>us_viewers__millions_</td> |
|
</tr> |
|
<tr> |
|
<td>25</td> |
|
<td>1</td> |
|
<td>our father</td> |
|
<td>keith gordon</td> |
|
<td>clyde phillips</td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-09-28</span></td> |
|
<td>n / a</td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">26</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;">finding freebo</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marcos siega</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">melissa rosenberg</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-10-05</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0.79</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">27</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;">the lion sleeps tonight</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">john dahl</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">scott buck</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-10-12</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td> |
|
</tr> |
|
<tr> |
|
<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;">4</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">all in the family</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">keith gordon</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">adam e fierro</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-10-19</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0.86</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">29</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;">turning biminese</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marcos siega</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tim schlattmann</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-10-26</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">30</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;">sã se puede</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ernest dickerson</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">charles h eglee</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-11-02</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td> |
|
</tr> |
|
<tr> |
|
<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;">7</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">easy as pie</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">steve shill</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lauren gussis</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-11-09</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">32</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;">the damage a man can do</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marcos siega</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">scott buck</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-11-16</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">34</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;">go your own way</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">john dahl</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tim schlattmann</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-11-30</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">35</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;">i had a dream</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marcos siega</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">charles h eglee and lauren gussis</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-12-07</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td> |
|
</tr> |
|
</table> |
|
</div> |
|
<hr> |
|
<div class="step"> |
|
<div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is greater than or equal to 1, otherwise return FALSE.</div> |
|
<div id="step-0" class="content"> |
|
<table> |
|
<tr> |
|
<td>no_in_series</td> |
|
<td>no_in_season</td> |
|
<td>title</td> |
|
<td>directed_by</td> |
|
<td>written_by</td> |
|
<td>original_air_date</td> |
|
<td>us_viewers__millions_</td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">26</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:#90EE90;">finding freebo</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">marcos siega</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">melissa rosenberg</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-10-05</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0.79</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">27</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">3</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">the lion sleeps tonight</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">john dahl</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">scott buck</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-10-12</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">n / a</span></td> |
|
</tr> |
|
<tr> |
|
<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:#90EE90;">4</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">all in the family</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">keith gordon</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">adam e fierro</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-10-19</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0.86</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">29</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:#90EE90;">turning biminese</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">marcos siega</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">tim schlattmann</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-10-26</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">n / a</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">30</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">6</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">sã se puede</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ernest dickerson</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">charles h eglee</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-11-02</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">n / a</span></td> |
|
</tr> |
|
<tr> |
|
<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:#90EE90;">7</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">easy as pie</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">steve shill</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">lauren gussis</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-11-09</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">n / a</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">32</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">8</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">the damage a man can do</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">marcos siega</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">scott buck</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-11-16</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">n / a</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">34</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">10</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">go your own way</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">john dahl</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">tim schlattmann</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-11-30</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">n / a</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">35</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">11</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">i had a dream</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">marcos siega</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">charles h eglee and lauren gussis</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2008-12-07</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">n / a</span></td> |
|
</tr> |
|
</table> |
|
</div> |
|
</div> |
|
<hr> |
|
<table> |
|
<tr> |
|
<td>verification_result</td> |
|
</tr> |
|
<tr> |
|
<td>TRUE</td> |
|
</tr> |
|
</table> |
|
</div> |
|
</div> |
|
<hr> |
|
<h3>Prediction:</span> TRUE</h3> |
|
</body></html> |
|
|