luulinh90s/Tabular-LLM-Study-Preference-Ranking
0
1<html><head>2<style>3body { font-family: Arial, sans-serif; margin: 20px; }4h1 { text-align: center; }5.cot-title { color: blue; }6.pos-title { color: green; }7h2 { color: black; text-align: left; }8h3 { color: black; text-align: left; }9h4 { color: darkslategray; }10table { width: 100%; border-collapse: collapse; margin: 20px 0; }11table, th, td { border: 1px solid #ddd; padding: 8px; }12th { background-color: #f2f2f2; }13tr:nth-child(even) { background-color: #f9f9f9; }14.highlight { background-color: #ffffcc; }15.true { color: green; }16.false { color: red; }17.highlighted-cell { background-color: yellow; cursor: pointer; }18.step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }19.step { display: block; }20</style>21</head><body>22<h1 class="pos-title">Plan-of-SQLs (Ours)</h1>23<hr>24<h3><span>Statement:</span> north melbourne had the second highest score out all the way team</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 1975 vfl season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'away_team' is not 'north melbourne'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>home_team</td>34<td>home_team_score</td>35<td>away_team</td>36<td>away_team_score</td>37<td>venue</td>38<td>crowd</td>39<td>date</td>40</tr>41<tr>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">geelong</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14.20 (104)</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">melbourne</span></td>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14.14 (98)</span></td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kardinia park</span></td>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13328</span></td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1975-06-07</span></td>49</tr>50<tr>51<td>st kilda</td>52<td>15.9 (99)</td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">north melbourne</span></td>54<td>17.19 (121)</td>55<td>moorabbin oval</td>56<td>17811</td>57<td>1975-06-07</td>58</tr>59<tr>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">richmond</span></td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19.14 (128)</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">essendon</span></td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12.9 (81)</span></td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mcg</span></td>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">49469</span></td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1975-06-07</span></td>67</tr>68<tr>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hawthorn</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19.24 (138)</span></td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">collingwood</span></td>72<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13.11 (89)</span></td>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">princes park</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">23830</span></td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1975-06-07</span></td>76</tr>77<tr>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fitzroy</span></td>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15.7 (97)</span></td>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">carlton</span></td>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16.10 (106)</span></td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">junction oval</span></td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16249</span></td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1975-06-07</span></td>85</tr>86<tr>87<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">footscray</span></td>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13.11 (89)</span></td>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">south melbourne</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12.15 (87)</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">vfl park</span></td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14056</span></td>93<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1975-06-07</span></td>94</tr>95</table>96</div>97<hr>98<div class="step">99<div class="step-title">Step 2: Cast to REAL and order the table by 'away_team_score' in descending order and select the second row.</div>100<div id="step-0" class="content">101<table>102<tr>103<td>home_team</td>104<td>home_team_score</td>105<td>away_team</td>106<td>away_team_score</td>107<td>venue</td>108<td>crowd</td>109<td>date</td>110</tr>111<tr>112<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">geelong</span></td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">14.20 (104)</span></td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">melbourne</span></td>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">14.14 (98)</span></td>116<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">kardinia park</span></td>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">13328</span></td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1975-06-07</span></td>119</tr>120<tr>121<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">richmond</span></td>122<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19.14 (128)</span></td>123<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">essendon</span></td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12.9 (81)</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mcg</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">49469</span></td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1975-06-07</span></td>128</tr>129<tr>130<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hawthorn</span></td>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19.24 (138)</span></td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">collingwood</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13.11 (89)</span></td>134<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">princes park</span></td>135<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">23830</span></td>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1975-06-07</span></td>137</tr>138<tr>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fitzroy</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15.7 (97)</span></td>141<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">carlton</span></td>142<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16.10 (106)</span></td>143<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">junction oval</span></td>144<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16249</span></td>145<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1975-06-07</span></td>146</tr>147<tr>148<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">footscray</span></td>149<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13.11 (89)</span></td>150<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south melbourne</span></td>151<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12.15 (87)</span></td>152<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">vfl park</span></td>153<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14056</span></td>154<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1975-06-07</span></td>155</tr>156</table>157</div>158</div>159<hr>160<div class="step">161<div class="step-title">Step 3: Select rows where 'away_team' is 'north melbourne'.</div>162<div id="step-1" class="content">163<table>164<tr>165<td>home_team</td>166<td>home_team_score</td>167<td>away_team</td>168<td>away_team_score</td>169<td>venue</td>170<td>crowd</td>171<td>date</td>172</tr>173<tr>174<td>geelong</td>175<td>14.20 (104)</td>176<td>melbourne</td>177<td>14.14 (98)</td>178<td>kardinia park</td>179<td>13328</td>180<td>1975-06-07</td>181</tr>182</table>183</div>184</div>185<hr>186<div class="step">187<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>188<div id="step-2" class="content">189<table>190<tr>191<td>home_team</td>192<td>home_team_score</td>193<td>away_team</td>194<td>away_team_score</td>195<td>venue</td>196<td>crowd</td>197<td>date</td>198</tr>199</table>200</div>201</div>202<hr>203<div class="step">204<div class="step-title">Final output table:</div>205<div id="step-3" class="content">206<table>207<tr>208<td>verification_result</td>209</tr>210<tr>211<td>FALSE</td>212</tr>213</table>214</div>215</div>216<hr>217<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>218<h3>Ground-truth:</span> FALSE</h3></div>219</body></html>220 