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> in season 1 of gary unmarried , the most viewed episode of the season was titled gary and allison brooks</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: gary unmarried</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'season' is 1.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>episode</td>34<td>air_date</td>35<td>timeslot</td>36<td>c_18___49</td>37<td>viewers</td>38</tr>39<tr>40<td>pilot</td>41<td>2008-09-24</td>42<td>wednesday 8:30 pm</td>43<td>2.3 / 6</td>44<td>6.84</td>45</tr>46<tr>47<td>gary gets boundaries</td>48<td>2008-10-01</td>49<td>wednesday 8:30 pm</td>50<td>2.2 / 6</td>51<td>6.97</td>52</tr>53<tr>54<td>gary marries off his ex</td>55<td>2008-10-08</td>56<td>wednesday 8:30 pm</td>57<td>2.2 / 6</td>58<td>7.43</td>59</tr>60<tr>61<td>gary gets his stuff back</td>62<td>2008-10-15</td>63<td>wednesday 8:30 pm</td>64<td>2.4 / 7</td>65<td>7.71</td>66</tr>67<tr>68<td>gary breaks up his ex - wife and girlfriend</td>69<td>2008-10-22</td>70<td>wednesday 8:30 pm</td>71<td>2.5 / 7</td>72<td>7.85</td>73</tr>74<tr>75<td>gary meets the gang</td>76<td>2008-11-05</td>77<td>wednesday 8:30 pm</td>78<td>2.1 / 6</td>79<td>6.44</td>80</tr>81<tr>82<td>gary and allison 's restaurant</td>83<td>2008-11-12</td>84<td>wednesday 8:30 pm</td>85<td>2.1 / 5</td>86<td>6.71</td>87</tr>88<tr>89<td>gary and allison brooks</td>90<td>2008-11-19</td>91<td>wednesday 8:30 pm</td>92<td>2.7 / 7</td>93<td>8.14</td>94</tr>95<tr>96<td>gary gives thanks</td>97<td>2008-11-26</td>98<td>wednesday 8:30 pm</td>99<td>2.2 / 7</td>100<td>7.72</td>101</tr>102<tr>103<td>gary goes first</td>104<td>2008-12-10</td>105<td>wednesday 8:30 pm</td>106<td>2.4 / 7</td>107<td>8.03</td>108</tr>109<tr>110<td>gary toughens up tom</td>111<td>2008-12-17</td>112<td>wednesday 8:30 pm</td>113<td>2.3 / 7</td>114<td>7.55</td>115</tr>116<tr>117<td>gary dates louise 's teacher</td>118<td>2009-01-14</td>119<td>wednesday 8:30 pm</td>120<td>2.1 / 5</td>121<td>7.07</td>122</tr>123<tr>124<td>gary moves back in</td>125<td>2009-01-21</td>126<td>wednesday 8:30 pm</td>127<td>2.2 / 5</td>128<td>7.07</td>129</tr>130<tr>131<td>gary and dennis' sister</td>132<td>2009-02-11</td>133<td>wednesday 8:30 pm</td>134<td>2.1 / 5</td>135<td>6.86</td>136</tr>137<tr>138<td>gary 's ex - brother - in - law</td>139<td>2009-02-18</td>140<td>wednesday 8:30 pm</td>141<td>2.1 / 5</td>142<td>7.26</td>143</tr>144<tr>145<td>gary uses his veto</td>146<td>2009-03-11</td>147<td>wednesday 8:30 pm</td>148<td>2.3 / 7</td>149<td>7.71</td>150</tr>151<tr>152<td>gary hooks up allison</td>153<td>2009-03-18</td>154<td>wednesday 8:30 pm</td>155<td>2.3 / 7</td>156<td>7.57</td>157</tr>158<tr>159<td>gary and the trophy</td>160<td>2009-04-08</td>161<td>wednesday 8:30 pm</td>162<td>2.2 / 7</td>163<td>7.3</td>164</tr>165<tr>166<td>gary and his half brother</td>167<td>2009-05-06</td>168<td>wednesday 8:30 pm</td>169<td>2.0 / 6</td>170<td>6.66</td>171</tr>172<tr>173<td>gary fixes allison 's garbage disposal</td>174<td>2009-05-20</td>175<td>wednesday 8:30 pm</td>176<td>1.7 / 5</td>177<td>5.55</td>178</tr>179</table>180</div>181<hr>182<div class="step">183<div class="step-title">Step 2: Select rows where 'episode' contains 'gary and allison brooks'.</div>184<div id="step-0" class="content">185<table>186<tr>187<td>episode</td>188<td>air_date</td>189<td>timeslot</td>190<td>c_18___49</td>191<td>viewers</td>192</tr>193</table>194</div>195</div>196<hr>197<div class="step">198<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>199<div id="step-1" class="content">200<table>201<tr>202<td>episode</td>203<td>air_date</td>204<td>timeslot</td>205<td>c_18___49</td>206<td>viewers</td>207</tr>208</table>209</div>210</div>211<hr>212<div class="step">213<div class="step-title">Final output table:</div>214<div id="step-2" class="content">215<table>216<tr>217<td>verification_result</td>218</tr>219<tr>220<td>FALSE</td>221</tr>222</table>223</div>224</div>225<hr>226<div class="step"><h3><span class="false">Prediction: FALSE </span></h3>227<h3>Ground-truth:</span> TRUE</h3></div>228</body></html>229 