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> paphos is the player being released by mkd</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 2008 - 09 apoel f.c. season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'moving_to' is 'paphos'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>nat</td>34<td>name</td>35<td>moving_to</td>36<td>type</td>37<td>transfer_window</td>38<td>transfer_fee</td>39<td>source</td>40</tr>41<tr>42<td>gre</td>43<td>machlas</td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">retired</span></td>45<td>retirement</td>46<td>summer</td>47<td>-</td>48<td>contragr</td>49</tr>50<tr>51<td>cyp</td>52<td>makrides</td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">metalurh donetsk</span></td>54<td>end of contract</td>55<td>summer</td>56<td>free</td>57<td>kerkidanet</td>58</tr>59<tr>60<td>ser</td>61<td>čorović</td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ael limassol</span></td>63<td>loan return</td>64<td>summer</td>65<td>-</td>66<td>-</td>67</tr>68<tr>69<td>cyp</td>70<td>louka</td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ael limassol</span></td>72<td>end of contract</td>73<td>summer</td>74<td>free</td>75<td>kerkidanet</td>76</tr>77<tr>78<td>gre</td>79<td>kapsis</td>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">levadiakos</span></td>81<td>end of contract</td>82<td>summer</td>83<td>free</td>84<td>-</td>85</tr>86<tr>87<td>cyp</td>88<td>daskalakis</td>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">aek larnaca</span></td>90<td>end of contract</td>91<td>summer</td>92<td>free</td>93<td>apoelnet</td>94</tr>95<tr>96<td>bra</td>97<td>zé carlos</td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">trofense</span></td>99<td>contract termination</td>100<td>summer</td>101<td>free</td>102<td>apoelfccomcy</td>103</tr>104<tr>105<td>cyp</td>106<td>vourkou</td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">doxa katokopia</span></td>108<td>loan</td>109<td>summer</td>110<td>free</td>111<td>-</td>112</tr>113<tr>114<td>cyp</td>115<td>panayiotou</td>116<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">digenis morphou</span></td>117<td>loan</td>118<td>summer</td>119<td>free</td>120<td>-</td>121</tr>122<tr>123<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mkd</span></td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nikolovski</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">aep paphos</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mutual consent</span></td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">winter</span></td>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">free</span></td>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">-</span></td>130</tr>131<tr>132<td>cyp</td>133<td>papathanasiou</td>134<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ermis aradippou</span></td>135<td>loan</td>136<td>winter</td>137<td>free</td>138<td>-</td>139</tr>140<tr>141<td>por</td>142<td>paulo costa</td>143<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">anorthosis famagusta</span></td>144<td>mutual consent loan return</td>145<td>winter</td>146<td>free</td>147<td>apoelfccomcy</td>148</tr>149</table>150</div>151<hr>152<div class="step">153<div class="step-title">Step 2: Select rows where 'type' is 'mutual consent' or 'contract termination'.</div>154<div id="step-0" class="content">155<table>156<tr>157<td>nat</td>158<td>name</td>159<td>moving_to</td>160<td>type</td>161<td>transfer_window</td>162<td>transfer_fee</td>163<td>source</td>164</tr>165<tr>166<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mkd</span></td>167<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nikolovski</span></td>168<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">aep paphos</span></td>169<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">mutual consent</span></td>170<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">winter</span></td>171<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">free</span></td>172<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">-</span></td>173</tr>174</table>175</div>176</div>177<hr>178<div class="step">179<div class="step-title">Step 3: Select rows where 'transfer_window' is 'winter'.</div>180<div id="step-1" class="content">181<table>182<tr>183<td>nat</td>184<td>name</td>185<td>moving_to</td>186<td>type</td>187<td>transfer_window</td>188<td>transfer_fee</td>189<td>source</td>190</tr>191<tr>192<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mkd</span></td>193<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nikolovski</span></td>194<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">aep paphos</span></td>195<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mutual consent</span></td>196<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">winter</span></td>197<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">free</span></td>198<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">-</span></td>199</tr>200</table>201</div>202</div>203<hr>204<div class="step">205<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>206<div id="step-2" class="content">207<table>208<tr>209<td>nat</td>210<td>name</td>211<td>moving_to</td>212<td>type</td>213<td>transfer_window</td>214<td>transfer_fee</td>215<td>source</td>216</tr>217<tr>218<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">mkd</span></td>219<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">nikolovski</span></td>220<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">aep paphos</span></td>221<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">mutual consent</span></td>222<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">winter</span></td>223<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">free</span></td>224<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">-</span></td>225</tr>226</table>227</div>228</div>229<hr>230<div class="step">231<div class="step-title">Final output table:</div>232<div id="step-3" class="content">233<table>234<tr>235<td>verification_result</td>236</tr>237<tr>238<td>TRUE</td>239</tr>240</table>241</div>242</div>243<hr>244<div class="step"><h3><span class="false">Prediction: TRUE </span></h3>245<h3>Ground-truth:</span> FALSE</h3></div>246</body></html>247 