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<hr/>23<h3><span>Statement:</span> spy vs spy is in the arcade genre with amstrad cpc</h3>24<h3>Input Table: beyond software</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'title' is 'spy vs spy'.</div>28<div class="content" id="step-1">29<table>30<tr>31<td>title</td>32<td>genre</td>33<td>c___64</td>34<td>zx_spectrum</td>35<td>others</td>36<td>year</td>37<td>format</td>38</tr>39<tr>40<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">goodness gracious</span></td>41<td>arcade</td>42<td>c64</td>43<td>n / a</td>44<td>n / a</td>45<td>1983-01-01</td>46<td>tape</td>47</tr>48<tr>49<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">kriegspiel</span></td>50<td>strategy</td>51<td>n / a</td>52<td>n / a</td>53<td>dragon 32</td>54<td>1983-01-01</td>55<td>tape</td>56</tr>57<tr>58<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">space station zebra</span></td>59<td>arcade</td>60<td>n / a</td>61<td>zx spectrum</td>62<td>n / a</td>63<td>1983-01-01</td>64<td>tape</td>65</tr>66<tr>67<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">up periscope</span></td>68<td>strategy</td>69<td>n / a</td>70<td>n / a</td>71<td>dragon 32</td>72<td>1983-01-01</td>73<td>tape</td>74</tr>75<tr>76<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">ankh</span></td>77<td>puzzle</td>78<td>c64</td>79<td>n / a</td>80<td>n / a</td>81<td>1984-01-01</td>82<td>tape</td>83</tr>84<tr>85<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">aztec</span></td>86<td>arcade</td>87<td>c64</td>88<td>n / a</td>89<td>n / a</td>90<td>1984-01-01</td>91<td>tape</td>92</tr>93<tr>94<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lords of midnight</span></td>95<td>graphic adventure</td>96<td>c64</td>97<td>zx spectrum</td>98<td>amstrad cpc</td>99<td>1984-01-01</td>100<td>tape , disk</td>101</tr>102<tr>103<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">mr robot</span></td>104<td>arcade</td>105<td>c64</td>106<td>n / a</td>107<td>n / a</td>108<td>1984-01-01</td>109<td>tape</td>110</tr>111<tr>112<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">my chess ii</span></td>113<td>board game</td>114<td>c64</td>115<td>n / a</td>116<td>n / a</td>117<td>1984-01-01</td>118<td>tape , disk</td>119</tr>120<tr>121<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">psytron</span></td>122<td>tactical combat</td>123<td>c64</td>124<td>zx spectrum</td>125<td>n / a</td>126<td>1984-01-01</td>127<td>tape</td>128</tr>129<tr>130<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">spellbound</span></td>131<td>arcade</td>132<td>n / a</td>133<td>zx spectrum</td>134<td>n / a</td>135<td>1984-01-01</td>136<td>tape</td>137</tr>138<tr>139<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">spy vs spy</span></td>140<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">arcade</span></td>141<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">c64</span></td>142<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">zx spectrum</span></td>143<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">amstrad cpc</span></td>144<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1984-01-01</span></td>145<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tape</span></td>146</tr>147<tr>148<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">bounces</span></td>149<td>arcade</td>150<td>c64</td>151<td>zx spectrum</td>152<td>n / a</td>153<td>1985-01-01</td>154<td>tape</td>155</tr>156<tr>157<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">doomdark 's revenge</span></td>158<td>graphic adventure</td>159<td>c64</td>160<td>zx spectrum</td>161<td>amstrad cpc</td>162<td>1985-01-01</td>163<td>tape</td>164</tr>165<tr>166<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">psi warrior</span></td>167<td>arcade</td>168<td>c64</td>169<td>n / a</td>170<td>n / a</td>171<td>1985-01-01</td>172<td>tape</td>173</tr>174<tr>175<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">shadowfire</span></td>176<td>tactical combat</td>177<td>c64</td>178<td>zx spectrum</td>179<td>amstrad cpc</td>180<td>1985-01-01</td>181<td>tape</td>182</tr>183<tr>184<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">shadowfire tuner</span></td>185<td>game editor</td>186<td>c64</td>187<td>zx spectrum</td>188<td>n / a</td>189<td>1985-01-01</td>190<td>tape</td>191</tr>192<tr>193<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">sorderon 's shadow</span></td>194<td>graphic adventure</td>195<td>n / a</td>196<td>zx spectrum</td>197<td>n / a</td>198<td>1985-01-01</td>199<td>tape</td>200</tr>201<tr>202<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">quake minus one</span></td>203<td>rts</td>204<td>c64</td>205<td>n / a</td>206<td>n / a</td>207<td>1985-01-01</td>208<td>tape</td>209</tr>210<tr>211<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">superman : the game</span></td>212<td>arcade / strategy</td>213<td>c64</td>214<td>n / a</td>215<td>n / a</td>216<td>1985-01-01</td>217<td>tape</td>218</tr>219<tr>220<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">enigma force</span></td>221<td>tactical combat</td>222<td>c64</td>223<td>zx spectrum</td>224<td>n / a</td>225<td>1986-01-01</td>226<td>tape</td>227</tr>228<tr>229<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">dante 's inferno</span></td>230<td>arcade adventure</td>231<td>c64</td>232<td>n / a</td>233<td>n / a</td>234<td>1986-01-01</td>235<td>tape</td>236</tr>237<tr>238<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">infodroid</span></td>239<td>arcade</td>240<td>c64</td>241<td>n / a</td>242<td>n / a</td>243<td>1986-01-01</td>244<td>tape</td>245</tr>246<tr>247<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">romper room</span></td>248<td>educational</td>249<td>c64</td>250<td>zx spectrum</td>251<td>n / a</td>252<td>1986-01-01</td>253<td>tape</td>254</tr>255</table>256</div>257<hr/>258<div class="step">259<div class="step-title">Step 2: Select rows where 'genre' is 'arcade'.</div>260<div class="content" id="step-0">261<table>262<tr>263<td>title</td>264<td>genre</td>265<td>c___64</td>266<td>zx_spectrum</td>267<td>others</td>268<td>year</td>269<td>format</td>270</tr>271<tr>272<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">spy vs spy</span></td>273<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">arcade</span></td>274<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">c64</span></td>275<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">zx spectrum</span></td>276<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">amstrad cpc</span></td>277<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1984-01-01</span></td>278<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">tape</span></td>279</tr>280</table>281</div>282</div>283<hr/>284<div class="step">285<div class="step-title">Step 3: Select rows where 'format' is 'amstrad cpc'.</div>286<div class="content" id="step-1">287<table>288<tr>289<td>title</td>290<td>genre</td>291<td>c___64</td>292<td>zx_spectrum</td>293<td>others</td>294<td>year</td>295<td>format</td>296</tr>297<tr>298<td>spy vs spy</td>299<td>arcade</td>300<td>c64</td>301<td>zx spectrum</td>302<td>amstrad cpc</td>303<td>1984-01-01</td>304<td>tape</td>305</tr>306</table>307</div>308</div>309<hr/>310<div class="step">311<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>312<div class="content" id="step-2">313<table>314<tr>315<td>title</td>316<td>genre</td>317<td>c___64</td>318<td>zx_spectrum</td>319<td>others</td>320<td>year</td>321<td>format</td>322</tr>323</table>324</div>325</div>326<hr/>327 328</div>329</div>330<hr/>331</body></html>332 