modernc.org/ql@v1.4.7/testdata.log (about) 1 ---- 0 2 SELECT * FROM t; 3 ┌Iterate all rows of table "t" 4 └Output field names ["c1" "c2" "c3"] 5 6 ---- 3 7 SELECT * FROM t; 8 ┌Iterate all rows of table "t" 9 └Output field names ["c1" "c2" "c3" "c4"] 10 11 ---- 8 12 SELECT * FROM t; 13 ┌Iterate all rows of table "t" 14 └Output field names ["c1" "c3"] 15 16 ---- 15 17 SELECT * FROM t; 18 ┌Iterate all rows of table "t" 19 └Output field names ["c1" "c2"] 20 21 ---- 19 22 SELECT * FROM t; 23 ┌Iterate all rows of table "t" 24 └Output field names ["c1" "c2" "c3" "c4"] 25 26 ---- 20 27 SELECT * FROM t; 28 ┌Iterate all rows of table "t" 29 └Output field names ["c1" "c2" "c4"] 30 31 ---- 22 32 SELECT * FROM t; 33 ┌Iterate all rows of table "t" 34 └Output field names ["c1"] 35 36 ---- 24 37 SELECT * FROM t; 38 ┌Iterate all rows of table "t" 39 └Output field names ["c1" "c2"] 40 41 ---- 28 42 SELECT 3 * c1 AS v FROM t; 43 ┌Iterate all rows of table "t" 44 └Output field names ["c1" "c2"] 45 ┌Evaluate 3 * c1 as "v", 46 └Output field names ["v"] 47 48 ---- 29 49 SELECT c2 FROM t; 50 ┌Iterate all rows of table "t" 51 └Output field names ["c1" "c2"] 52 ┌Evaluate c2 as "c2", 53 └Output field names ["c2"] 54 55 ---- 30 56 SELECT c1 AS X, c2 FROM t; 57 ┌Iterate all rows of table "t" 58 └Output field names ["c1" "c2"] 59 ┌Evaluate c1 as "X", c2 as "c2", 60 └Output field names ["X" "c2"] 61 62 ---- 31 63 SELECT c2, c1 AS Y FROM t; 64 ┌Iterate all rows of table "t" 65 └Output field names ["c1" "c2"] 66 ┌Evaluate c2 as "c2", c1 as "Y", 67 └Output field names ["c2" "Y"] 68 69 ---- 33 70 SELECT * FROM t WHERE c1 == 1; 71 ┌Iterate all rows of table "t" 72 └Output field names ["c1" "c2"] 73 ┌Filter on c1 == 1 74 │Possibly useful indices 75 │CREATE INDEX xt_c1 ON t(c1); 76 └Output field names ["c1" "c2"] 77 78 ---- 35 79 SELECT * FROM t ORDER BY c1; 80 ┌Iterate all rows of table "t" 81 └Output field names ["c1" "c2"] 82 ┌Order by c1, 83 └Output field names ["c1" "c2"] 84 85 ---- 36 86 SELECT * FROM t ORDER BY c1; 87 ┌Iterate all rows of table "t" 88 └Output field names ["c1" "c2"] 89 ┌Order by c1, 90 └Output field names ["c1" "c2"] 91 92 ---- 37 93 SELECT * FROM t ORDER BY c1 DESC; 94 ┌Iterate all rows of table "t" 95 └Output field names ["c1" "c2"] 96 ┌Order descending by c1, 97 └Output field names ["c1" "c2"] 98 99 ---- 38 100 SELECT * FROM t WHERE c1 % 2 == 0 ORDER BY c2 DESC; 101 ┌Iterate all rows of table "t" 102 └Output field names ["c1" "c2"] 103 ┌Filter on c1 % 2 == 0 104 └Output field names ["c1" "c2"] 105 ┌Order descending by c2, 106 └Output field names ["c1" "c2"] 107 108 ---- 39 109 SELECT * FROM t ORDER BY c1, c2; 110 ┌Iterate all rows of table "t" 111 └Output field names ["c1" "c2"] 112 ┌Order by c1, c2, 113 └Output field names ["c1" "c2"] 114 115 ---- 40 116 SELECT * FROM t ORDER BY c2, c1; 117 ┌Iterate all rows of table "t" 118 └Output field names ["c1" "c2"] 119 ┌Order by c2, c1, 120 └Output field names ["c1" "c2"] 121 122 ---- 44 123 SELECT employee.LastName FROM employee, department; 124 ┌Compute Cartesian product of 125 │ ┌Iterate all rows of table "employee" 126 │ └Output field names ["LastName" "DepartmentID"] 127 │ ┌Iterate all rows of table "department" 128 │ └Output field names ["DepartmentID" "DepartmentName"] 129 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 130 ┌Evaluate employee.LastName as "employee.LastName", 131 └Output field names ["employee.LastName"] 132 133 ---- 45 134 SELECT * FROM employee, department ORDER BY employee.LastName; 135 ┌Compute Cartesian product of 136 │ ┌Iterate all rows of table "employee" 137 │ └Output field names ["LastName" "DepartmentID"] 138 │ ┌Iterate all rows of table "department" 139 │ └Output field names ["DepartmentID" "DepartmentName"] 140 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 141 ┌Order by employee.LastName, 142 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 143 144 ---- 46 145 SELECT * FROM employee, department WHERE employee.DepartmentID == department.DepartmentID; 146 ┌Compute Cartesian product of 147 │ ┌Iterate all rows of table "employee" 148 │ └Output field names ["LastName" "DepartmentID"] 149 │ ┌Iterate all rows of table "department" 150 │ └Output field names ["DepartmentID" "DepartmentName"] 151 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 152 ┌Filter on employee.DepartmentID == department.DepartmentID 153 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 154 155 ---- 47 156 SELECT department.DepartmentName, department.DepartmentID, employee.LastName, employee.DepartmentID FROM employee, department WHERE employee.DepartmentID == department.DepartmentID ORDER BY department.DepartmentName, employee.LastName; 157 ┌Compute Cartesian product of 158 │ ┌Iterate all rows of table "employee" 159 │ └Output field names ["LastName" "DepartmentID"] 160 │ ┌Iterate all rows of table "department" 161 │ └Output field names ["DepartmentID" "DepartmentName"] 162 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 163 ┌Filter on employee.DepartmentID == department.DepartmentID 164 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 165 ┌Evaluate department.DepartmentName as "department.DepartmentName", department.DepartmentID as "department.DepartmentID", employee.LastName as "employee.LastName", employee.DepartmentID as "employee.DepartmentID", 166 └Output field names ["department.DepartmentName" "department.DepartmentID" "employee.LastName" "employee.DepartmentID"] 167 ┌Order by department.DepartmentName, employee.LastName, 168 └Output field names ["department.DepartmentName" "department.DepartmentID" "employee.LastName" "employee.DepartmentID"] 169 170 ---- 48 171 SELECT department.DepartmentName, department.DepartmentID, employee.LastName, employee.DepartmentID FROM employee, department WHERE department.DepartmentName IN ("Sales","Engineering","HR","Clerical") ORDER BY employee.LastName; 172 ┌Compute Cartesian product of 173 │ ┌Iterate all rows of table "employee" 174 │ └Output field names ["LastName" "DepartmentID"] 175 │ ┌Iterate all rows of table "department" 176 │ └Output field names ["DepartmentID" "DepartmentName"] 177 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 178 ┌Filter on department.DepartmentName IN ("Sales","Engineering","HR","Clerical") 179 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 180 ┌Evaluate department.DepartmentName as "department.DepartmentName", department.DepartmentID as "department.DepartmentID", employee.LastName as "employee.LastName", employee.DepartmentID as "employee.DepartmentID", 181 └Output field names ["department.DepartmentName" "department.DepartmentID" "employee.LastName" "employee.DepartmentID"] 182 ┌Order by employee.LastName, 183 └Output field names ["department.DepartmentName" "department.DepartmentID" "employee.LastName" "employee.DepartmentID"] 184 185 ---- 49 186 SELECT department.DepartmentName, department.DepartmentID, employee.LastName, employee.DepartmentID FROM employee, department WHERE (department.DepartmentID + 1000) IN (1031,1035,1036) ORDER BY employee.LastName; 187 ┌Compute Cartesian product of 188 │ ┌Iterate all rows of table "employee" 189 │ └Output field names ["LastName" "DepartmentID"] 190 │ ┌Iterate all rows of table "department" 191 │ └Output field names ["DepartmentID" "DepartmentName"] 192 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 193 ┌Filter on (department.DepartmentID + 1000) IN (1031,1035,1036) 194 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 195 ┌Evaluate department.DepartmentName as "department.DepartmentName", department.DepartmentID as "department.DepartmentID", employee.LastName as "employee.LastName", employee.DepartmentID as "employee.DepartmentID", 196 └Output field names ["department.DepartmentName" "department.DepartmentID" "employee.LastName" "employee.DepartmentID"] 197 ┌Order by employee.LastName, 198 └Output field names ["department.DepartmentName" "department.DepartmentID" "employee.LastName" "employee.DepartmentID"] 199 200 ---- 50 201 SELECT department.DepartmentName, department.DepartmentID, employee.LastName, employee.DepartmentID FROM employee, department WHERE department.DepartmentName NOT IN ("Engineering","HR","Clerical"); 202 ┌Compute Cartesian product of 203 │ ┌Iterate all rows of table "employee" 204 │ └Output field names ["LastName" "DepartmentID"] 205 │ ┌Iterate all rows of table "department" 206 │ └Output field names ["DepartmentID" "DepartmentName"] 207 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 208 ┌Filter on department.DepartmentName NOT IN ("Engineering","HR","Clerical") 209 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 210 ┌Evaluate department.DepartmentName as "department.DepartmentName", department.DepartmentID as "department.DepartmentID", employee.LastName as "employee.LastName", employee.DepartmentID as "employee.DepartmentID", 211 └Output field names ["department.DepartmentName" "department.DepartmentID" "employee.LastName" "employee.DepartmentID"] 212 213 ---- 51 214 SELECT department.DepartmentName, department.DepartmentID, employee.LastName, employee.DepartmentID FROM employee, department WHERE department.DepartmentID >= 34 && department.DepartmentID <= 36 ORDER BY employee.LastName; 215 ┌Compute Cartesian product of 216 │ ┌Iterate all rows of table "employee" 217 │ └Output field names ["LastName" "DepartmentID"] 218 │ ┌Iterate all rows of table "department" 219 │ └Output field names ["DepartmentID" "DepartmentName"] 220 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 221 ┌Filter on department.DepartmentID >= 34 && department.DepartmentID <= 36 222 │Possibly useful indices 223 │CREATE INDEX xdepartment_DepartmentID ON department(DepartmentID); 224 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 225 ┌Evaluate department.DepartmentName as "department.DepartmentName", department.DepartmentID as "department.DepartmentID", employee.LastName as "employee.LastName", employee.DepartmentID as "employee.DepartmentID", 226 └Output field names ["department.DepartmentName" "department.DepartmentID" "employee.LastName" "employee.DepartmentID"] 227 ┌Order by employee.LastName, 228 └Output field names ["department.DepartmentName" "department.DepartmentID" "employee.LastName" "employee.DepartmentID"] 229 230 ---- 52 231 SELECT department.DepartmentName, department.DepartmentID, employee.LastName, employee.DepartmentID FROM employee, department WHERE department.DepartmentID >= 34 && department.DepartmentID <= 36 ORDER BY employee.LastName; 232 ┌Compute Cartesian product of 233 │ ┌Iterate all rows of table "employee" 234 │ └Output field names ["LastName" "DepartmentID"] 235 │ ┌Iterate all rows of table "department" 236 │ └Output field names ["DepartmentID" "DepartmentName"] 237 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 238 ┌Filter on department.DepartmentID >= 34 && department.DepartmentID <= 36 239 │Possibly useful indices 240 │CREATE INDEX xdepartment_DepartmentID ON department(DepartmentID); 241 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 242 ┌Evaluate department.DepartmentName as "department.DepartmentName", department.DepartmentID as "department.DepartmentID", employee.LastName as "employee.LastName", employee.DepartmentID as "employee.DepartmentID", 243 └Output field names ["department.DepartmentName" "department.DepartmentID" "employee.LastName" "employee.DepartmentID"] 244 ┌Order by employee.LastName, 245 └Output field names ["department.DepartmentName" "department.DepartmentID" "employee.LastName" "employee.DepartmentID"] 246 247 ---- 53 248 SELECT department.DepartmentName, department.DepartmentID, employee.LastName, employee.DepartmentID FROM employee, department WHERE department.DepartmentID < 33 || department.DepartmentID > 34 ORDER BY employee.LastName; 249 ┌Compute Cartesian product of 250 │ ┌Iterate all rows of table "employee" 251 │ └Output field names ["LastName" "DepartmentID"] 252 │ ┌Iterate all rows of table "department" 253 │ └Output field names ["DepartmentID" "DepartmentName"] 254 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 255 ┌Filter on department.DepartmentID < 33 || department.DepartmentID > 34 256 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 257 ┌Evaluate department.DepartmentName as "department.DepartmentName", department.DepartmentID as "department.DepartmentID", employee.LastName as "employee.LastName", employee.DepartmentID as "employee.DepartmentID", 258 └Output field names ["department.DepartmentName" "department.DepartmentID" "employee.LastName" "employee.DepartmentID"] 259 ┌Order by employee.LastName, 260 └Output field names ["department.DepartmentName" "department.DepartmentID" "employee.LastName" "employee.DepartmentID"] 261 262 ---- 56 263 SELECT LastName AS a, LastName AS b FROM employee ORDER BY a, b; 264 ┌Iterate all rows of table "employee" 265 └Output field names ["LastName" "DepartmentID"] 266 ┌Evaluate LastName as "a", LastName as "b", 267 └Output field names ["a" "b"] 268 ┌Order by a, b, 269 └Output field names ["a" "b"] 270 271 ---- 57 272 SELECT employee.LastName AS name, employee.DepartmentID AS id, department.DepartmentName AS department, department.DepartmentID AS id2 FROM employee, department WHERE employee.DepartmentID == department.DepartmentID ORDER BY name, id, department, id2; 273 ┌Compute Cartesian product of 274 │ ┌Iterate all rows of table "employee" 275 │ └Output field names ["LastName" "DepartmentID"] 276 │ ┌Iterate all rows of table "department" 277 │ └Output field names ["DepartmentID" "DepartmentName"] 278 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 279 ┌Filter on employee.DepartmentID == department.DepartmentID 280 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 281 ┌Evaluate employee.LastName as "name", employee.DepartmentID as "id", department.DepartmentName as "department", department.DepartmentID as "id2", 282 └Output field names ["name" "id" "department" "id2"] 283 ┌Order by name, id, department, id2, 284 └Output field names ["name" "id" "department" "id2"] 285 286 ---- 59 287 SELECT * FROM employee ORDER BY LastName; 288 ┌Iterate all rows of table "employee" 289 └Output field names ["LastName" "DepartmentID"] 290 ┌Order by LastName, 291 └Output field names ["LastName" "DepartmentID"] 292 293 ---- 60 294 SELECT * FROM employee AS e ORDER BY LastName; 295 ┌Iterate all rows of table "employee" 296 └Output field names ["LastName" "DepartmentID"] 297 ┌Order by LastName, 298 └Output field names ["LastName" "DepartmentID"] 299 300 ---- 65 301 SELECT * FROM (SELECT * FROM employee;) ORDER BY LastName; 302 ┌Iterate all rows of table "employee" 303 └Output field names ["LastName" "DepartmentID"] 304 ┌Order by LastName, 305 └Output field names ["LastName" "DepartmentID"] 306 307 ---- 66 308 SELECT * FROM (SELECT LastName AS Name FROM employee;) ORDER BY Name; 309 ┌Iterate all rows of table "employee" 310 └Output field names ["LastName" "DepartmentID"] 311 ┌Evaluate LastName as "Name", 312 └Output field names ["Name"] 313 ┌Order by Name, 314 └Output field names ["Name"] 315 316 ---- 68 317 SELECT name AS Name FROM (SELECT LastName AS name FROM employee AS e;) ORDER BY Name; 318 ┌Iterate all rows of table "employee" 319 └Output field names ["LastName" "DepartmentID"] 320 ┌Evaluate LastName as "name", 321 └Output field names ["name"] 322 ┌Evaluate name as "Name", 323 └Output field names ["Name"] 324 ┌Order by Name, 325 └Output field names ["Name"] 326 327 ---- 69 328 SELECT name AS Name FROM (SELECT LastName AS name FROM employee;) ORDER BY Name; 329 ┌Iterate all rows of table "employee" 330 └Output field names ["LastName" "DepartmentID"] 331 ┌Evaluate LastName as "name", 332 └Output field names ["name"] 333 ┌Evaluate name as "Name", 334 └Output field names ["Name"] 335 ┌Order by Name, 336 └Output field names ["Name"] 337 338 ---- 70 339 SELECT employee.LastName, department.DepartmentName, department.DepartmentID FROM (SELECT * FROM employee, department WHERE employee.DepartmentID == department.DepartmentID;) ORDER BY department.DepartmentName, employee.LastName; 340 ┌Compute Cartesian product of 341 │ ┌Iterate all rows of table "employee" 342 │ └Output field names ["LastName" "DepartmentID"] 343 │ ┌Iterate all rows of table "department" 344 │ └Output field names ["DepartmentID" "DepartmentName"] 345 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 346 ┌Filter on employee.DepartmentID == department.DepartmentID 347 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 348 ┌Evaluate employee.LastName as "employee.LastName", department.DepartmentName as "department.DepartmentName", department.DepartmentID as "department.DepartmentID", 349 └Output field names ["employee.LastName" "department.DepartmentName" "department.DepartmentID"] 350 ┌Order by department.DepartmentName, employee.LastName, 351 └Output field names ["employee.LastName" "department.DepartmentName" "department.DepartmentID"] 352 353 ---- 71 354 SELECT e.LastName, d.DepartmentName, d.DepartmentID FROM (SELECT * FROM employee AS e, department AS d WHERE e.DepartmentID == d.DepartmentID;) ORDER BY d.DepartmentName, e.LastName; 355 ┌Compute Cartesian product of 356 │ ┌Iterate all rows of table "employee" 357 │ └Output field names ["LastName" "DepartmentID"] 358 │ ┌Iterate all rows of table "department" 359 │ └Output field names ["DepartmentID" "DepartmentName"] 360 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 361 ┌Filter on e.DepartmentID == d.DepartmentID 362 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 363 ┌Evaluate e.LastName as "e.LastName", d.DepartmentName as "d.DepartmentName", d.DepartmentID as "d.DepartmentID", 364 └Output field names ["e.LastName" "d.DepartmentName" "d.DepartmentID"] 365 ┌Order by d.DepartmentName, e.LastName, 366 └Output field names ["e.LastName" "d.DepartmentName" "d.DepartmentID"] 367 368 ---- 72 369 SELECT e.LastName AS name, d.DepartmentName AS department, d.DepartmentID AS id FROM (SELECT * FROM employee AS e, department AS d WHERE e.DepartmentID == d.DepartmentID;) ORDER BY department, name; 370 ┌Compute Cartesian product of 371 │ ┌Iterate all rows of table "employee" 372 │ └Output field names ["LastName" "DepartmentID"] 373 │ ┌Iterate all rows of table "department" 374 │ └Output field names ["DepartmentID" "DepartmentName"] 375 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 376 ┌Filter on e.DepartmentID == d.DepartmentID 377 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 378 ┌Evaluate e.LastName as "name", d.DepartmentName as "department", d.DepartmentID as "id", 379 └Output field names ["name" "department" "id"] 380 ┌Order by department, name, 381 └Output field names ["name" "department" "id"] 382 383 ---- 73 384 SELECT name, department, id FROM (SELECT e.LastName AS name, e.DepartmentID AS id, d.DepartmentName AS department, d.DepartmentID AS fid FROM employee AS e, department AS d WHERE e.DepartmentID == d.DepartmentID;) ORDER BY department, name; 385 ┌Compute Cartesian product of 386 │ ┌Iterate all rows of table "employee" 387 │ └Output field names ["LastName" "DepartmentID"] 388 │ ┌Iterate all rows of table "department" 389 │ └Output field names ["DepartmentID" "DepartmentName"] 390 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 391 ┌Filter on e.DepartmentID == d.DepartmentID 392 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 393 ┌Evaluate e.LastName as "name", e.DepartmentID as "id", d.DepartmentName as "department", d.DepartmentID as "fid", 394 └Output field names ["name" "id" "department" "fid"] 395 ┌Evaluate name as "name", department as "department", id as "id", 396 └Output field names ["name" "department" "id"] 397 ┌Order by department, name, 398 └Output field names ["name" "department" "id"] 399 400 ---- 74 401 SELECT * FROM (SELECT * FROM employee;), (SELECT * FROM department;); 402 ┌Compute Cartesian product of 403 │ ┌Iterate all rows of table "employee" 404 │ └Output field names ["LastName" "DepartmentID"] 405 │ ┌Iterate all rows of table "department" 406 │ └Output field names ["DepartmentID" "DepartmentName"] 407 └Output field names ["LastName" "DepartmentID" "DepartmentID" "DepartmentName"] 408 409 ---- 75 410 SELECT * FROM (SELECT * FROM employee;) AS e, (SELECT * FROM department;) ORDER BY e.LastName, e.DepartmentID; 411 ┌Compute Cartesian product of 412 │ ┌Iterate all rows of table "employee" 413 │ └Output field names ["LastName" "DepartmentID"] 414 │ ┌Iterate all rows of table "department" 415 │ └Output field names ["DepartmentID" "DepartmentName"] 416 └Output field names ["e.LastName" "e.DepartmentID" "DepartmentID" "DepartmentName"] 417 ┌Order by e.LastName, e.DepartmentID, 418 └Output field names ["e.LastName" "e.DepartmentID" "DepartmentID" "DepartmentName"] 419 420 ---- 76 421 SELECT * FROM (SELECT * FROM employee;), (SELECT * FROM department;) AS d ORDER BY d.DepartmentID DESC; 422 ┌Compute Cartesian product of 423 │ ┌Iterate all rows of table "employee" 424 │ └Output field names ["LastName" "DepartmentID"] 425 │ ┌Iterate all rows of table "department" 426 │ └Output field names ["DepartmentID" "DepartmentName"] 427 └Output field names ["LastName" "DepartmentID" "d.DepartmentID" "d.DepartmentName"] 428 ┌Order descending by d.DepartmentID, 429 └Output field names ["LastName" "DepartmentID" "d.DepartmentID" "d.DepartmentName"] 430 431 ---- 77 432 SELECT * FROM employee, (SELECT * FROM department;) ORDER BY employee.LastName; 433 ┌Compute Cartesian product of 434 │ ┌Iterate all rows of table "employee" 435 │ └Output field names ["LastName" "DepartmentID"] 436 │ ┌Iterate all rows of table "department" 437 │ └Output field names ["DepartmentID" "DepartmentName"] 438 └Output field names ["employee.LastName" "employee.DepartmentID" "DepartmentID" "DepartmentName"] 439 ┌Order by employee.LastName, 440 └Output field names ["employee.LastName" "employee.DepartmentID" "DepartmentID" "DepartmentName"] 441 442 ---- 78 443 SELECT * FROM (SELECT * FROM employee;) AS e, (SELECT * FROM department;) AS d WHERE e.DepartmentID == d.DepartmentID ORDER BY d.DepartmentName, e.LastName; 444 ┌Compute Cartesian product of 445 │ ┌Iterate all rows of table "employee" 446 │ └Output field names ["LastName" "DepartmentID"] 447 │ ┌Iterate all rows of table "department" 448 │ └Output field names ["DepartmentID" "DepartmentName"] 449 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 450 ┌Filter on e.DepartmentID == d.DepartmentID 451 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 452 ┌Order by d.DepartmentName, e.LastName, 453 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 454 455 ---- 79 456 SELECT * FROM employee, (SELECT * FROM department;) AS d WHERE employee.DepartmentID == d.DepartmentID ORDER BY d.DepartmentName, employee.LastName; 457 ┌Compute Cartesian product of 458 │ ┌Iterate all rows of table "employee" 459 │ └Output field names ["LastName" "DepartmentID"] 460 │ ┌Iterate all rows of table "department" 461 │ └Output field names ["DepartmentID" "DepartmentName"] 462 └Output field names ["employee.LastName" "employee.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 463 ┌Filter on employee.DepartmentID == d.DepartmentID 464 └Output field names ["employee.LastName" "employee.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 465 ┌Order by d.DepartmentName, employee.LastName, 466 └Output field names ["employee.LastName" "employee.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 467 468 ---- 80 469 SELECT * FROM employee AS e, (SELECT * FROM department;) AS d WHERE e.DepartmentID == d.DepartmentID ORDER BY d.DepartmentName, e.LastName; 470 ┌Compute Cartesian product of 471 │ ┌Iterate all rows of table "employee" 472 │ └Output field names ["LastName" "DepartmentID"] 473 │ ┌Iterate all rows of table "department" 474 │ └Output field names ["DepartmentID" "DepartmentName"] 475 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 476 ┌Filter on e.DepartmentID == d.DepartmentID 477 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 478 ┌Order by d.DepartmentName, e.LastName, 479 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 480 481 ---- 81 482 SELECT * FROM employee AS e, (SELECT * FROM department;) AS d WHERE e.DepartmentID == d.DepartmentID ORDER BY e.DepartmentID, e.LastName; 483 ┌Compute Cartesian product of 484 │ ┌Iterate all rows of table "employee" 485 │ └Output field names ["LastName" "DepartmentID"] 486 │ ┌Iterate all rows of table "department" 487 │ └Output field names ["DepartmentID" "DepartmentName"] 488 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 489 ┌Filter on e.DepartmentID == d.DepartmentID 490 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 491 ┌Order by e.DepartmentID, e.LastName, 492 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 493 494 ---- 82 495 SELECT * FROM employee AS e, (SELECT * FROM department;) AS d WHERE e.DepartmentID == d.DepartmentID ORDER BY e.DepartmentID, e.LastName; 496 ┌Compute Cartesian product of 497 │ ┌Iterate all rows of table "employee" 498 │ └Output field names ["LastName" "DepartmentID"] 499 │ ┌Iterate all rows of table "department" 500 │ └Output field names ["DepartmentID" "DepartmentName"] 501 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 502 ┌Filter on e.DepartmentID == d.DepartmentID 503 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 504 ┌Order by e.DepartmentID, e.LastName, 505 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 506 507 ---- 84 508 SELECT * FROM t; 509 ┌Iterate all rows of table "t" 510 └Output field names ["c1"] 511 512 ---- 87 513 SELECT * FROM t; 514 ┌Iterate all rows of table "t" 515 └Output field names ["c1"] 516 517 ---- 88 518 SELECT * FROM t; 519 ┌Iterate all rows of table "t" 520 └Output field names ["c1"] 521 522 ---- 92 523 SELECT * FROM t; 524 ┌Iterate all rows of table "t" 525 └Output field names ["c1"] 526 527 ---- 94 528 SELECT * FROM t; 529 ┌Iterate all rows of table "t" 530 └Output field names ["c1"] 531 532 ---- 95 533 SELECT * FROM t; 534 ┌Iterate all rows of table "t" 535 └Output field names ["c1"] 536 537 ---- 96 538 SELECT * FROM t; 539 ┌Iterate all rows of table "t" 540 └Output field names ["c1"] 541 542 ---- 98 543 SELECT * FROM t; 544 ┌Iterate all rows of table "t" 545 └Output field names ["c1"] 546 547 ---- 102 548 SELECT * FROM t; 549 ┌Iterate all rows of table "t" 550 └Output field names ["c1"] 551 552 ---- 104 553 SELECT * FROM t; 554 ┌Iterate all rows of table "t" 555 └Output field names ["c1"] 556 557 ---- 106 558 SELECT * FROM t; 559 ┌Iterate all rows of table "t" 560 └Output field names ["c1"] 561 562 ---- 107 563 SELECT * FROM t; 564 ┌Iterate all rows of table "t" 565 └Output field names ["c1"] 566 567 ---- 109 568 SELECT * FROM t; 569 ┌Iterate all rows of table "t" 570 └Output field names ["c1"] 571 572 ---- 110 573 SELECT * FROM t; 574 ┌Iterate all rows of table "t" 575 └Output field names ["c1"] 576 577 ---- 111 578 SELECT * FROM t; 579 ┌Iterate all rows of table "t" 580 └Output field names ["c1"] 581 582 ---- 112 583 SELECT * FROM t; 584 ┌Iterate all rows of table "t" 585 └Output field names ["c1"] 586 587 ---- 113 588 SELECT * FROM t; 589 ┌Iterate all rows of table "t" 590 └Output field names ["c1"] 591 592 ---- 115 593 SELECT * FROM t; 594 ┌Iterate all rows of table "t" 595 └Output field names ["c1"] 596 597 ---- 116 598 SELECT * FROM t; 599 ┌Iterate all rows of table "t" 600 └Output field names ["c1"] 601 602 ---- 118 603 SELECT * FROM t; 604 ┌Iterate all rows of table "t" 605 └Output field names ["c1"] 606 607 ---- 119 608 SELECT * FROM t WHERE c1 > 3; 609 ┌Iterate all rows of table "t" 610 └Output field names ["c1"] 611 ┌Filter on c1 > 3 612 │Possibly useful indices 613 │CREATE INDEX xt_c1 ON t(c1); 614 └Output field names ["c1"] 615 616 ---- 120 617 SELECT * FROM t WHERE c1; 618 ┌Iterate all rows of table "t" 619 └Output field names ["c1"] 620 ┌Filter on c1 621 └Output field names ["c1"] 622 623 ---- 122 624 SELECT * FROM t WHERE c1 == 1; 625 ┌Iterate all rows of table "t" 626 └Output field names ["c1"] 627 ┌Filter on c1 == 1 628 │Possibly useful indices 629 │CREATE INDEX xt_c1 ON t(c1); 630 └Output field names ["c1"] 631 632 ---- 123 633 SELECT * FROM t WHERE c1 == 8; 634 ┌Iterate all rows of table "t" 635 └Output field names ["c1"] 636 ┌Filter on c1 == 8 637 │Possibly useful indices 638 │CREATE INDEX xt_c1 ON t(c1); 639 └Output field names ["c1"] 640 641 ---- 124 642 SELECT * FROM t WHERE c1 == 1; 643 ┌Iterate all rows of table "t" 644 └Output field names ["c1"] 645 ┌Filter on c1 == 1 646 │Possibly useful indices 647 │CREATE INDEX xt_c1 ON t(c1); 648 └Output field names ["c1"] 649 650 ---- 125 651 SELECT * FROM t WHERE c1 == 8; 652 ┌Iterate all rows of table "t" 653 └Output field names ["c1"] 654 ┌Filter on c1 == 8 655 │Possibly useful indices 656 │CREATE INDEX xt_c1 ON t(c1); 657 └Output field names ["c1"] 658 659 ---- 126 660 SELECT * FROM t WHERE c1 == 1; 661 ┌Iterate all rows of table "t" 662 └Output field names ["c1"] 663 ┌Filter on c1 == 1 664 │Possibly useful indices 665 │CREATE INDEX xt_c1 ON t(c1); 666 └Output field names ["c1"] 667 668 ---- 127 669 SELECT * FROM t WHERE c1 == 8; 670 ┌Iterate all rows of table "t" 671 └Output field names ["c1"] 672 ┌Filter on c1 == 8 673 │Possibly useful indices 674 │CREATE INDEX xt_c1 ON t(c1); 675 └Output field names ["c1"] 676 677 ---- 128 678 SELECT * FROM t WHERE c1 == 1; 679 ┌Iterate all rows of table "t" 680 └Output field names ["c1"] 681 ┌Filter on c1 == 1 682 │Possibly useful indices 683 │CREATE INDEX xt_c1 ON t(c1); 684 └Output field names ["c1"] 685 686 ---- 129 687 SELECT * FROM t WHERE c1 == 1; 688 ┌Iterate all rows of table "t" 689 └Output field names ["c1"] 690 ┌Filter on c1 == 1 691 │Possibly useful indices 692 │CREATE INDEX xt_c1 ON t(c1); 693 └Output field names ["c1"] 694 695 ---- 130 696 SELECT * FROM t WHERE c1 == 8; 697 ┌Iterate all rows of table "t" 698 └Output field names ["c1"] 699 ┌Filter on c1 == 8 700 │Possibly useful indices 701 │CREATE INDEX xt_c1 ON t(c1); 702 └Output field names ["c1"] 703 704 ---- 131 705 SELECT * FROM t WHERE c1 == 1; 706 ┌Iterate all rows of table "t" 707 └Output field names ["c1"] 708 ┌Filter on c1 == 1 709 │Possibly useful indices 710 │CREATE INDEX xt_c1 ON t(c1); 711 └Output field names ["c1"] 712 713 ---- 132 714 SELECT * FROM t WHERE c1 == 8; 715 ┌Iterate all rows of table "t" 716 └Output field names ["c1"] 717 ┌Filter on c1 == 8 718 │Possibly useful indices 719 │CREATE INDEX xt_c1 ON t(c1); 720 └Output field names ["c1"] 721 722 ---- 133 723 SELECT * FROM t WHERE c1 == 1; 724 ┌Iterate all rows of table "t" 725 └Output field names ["c1"] 726 ┌Filter on c1 == 1 727 │Possibly useful indices 728 │CREATE INDEX xt_c1 ON t(c1); 729 └Output field names ["c1"] 730 731 ---- 134 732 SELECT * FROM t WHERE c1 == 1; 733 ┌Iterate all rows of table "t" 734 └Output field names ["c1"] 735 ┌Filter on c1 == 1 736 │Possibly useful indices 737 │CREATE INDEX xt_c1 ON t(c1); 738 └Output field names ["c1"] 739 740 ---- 135 741 SELECT * FROM t WHERE c1 == 8; 742 ┌Iterate all rows of table "t" 743 └Output field names ["c1"] 744 ┌Filter on c1 == 8 745 │Possibly useful indices 746 │CREATE INDEX xt_c1 ON t(c1); 747 └Output field names ["c1"] 748 749 ---- 136 750 SELECT * FROM t WHERE c1 == 1; 751 ┌Iterate all rows of table "t" 752 └Output field names ["c1"] 753 ┌Filter on c1 == 1 754 │Possibly useful indices 755 │CREATE INDEX xt_c1 ON t(c1); 756 └Output field names ["c1"] 757 758 ---- 137 759 SELECT * FROM t WHERE c1 == 1; 760 ┌Iterate all rows of table "t" 761 └Output field names ["c1"] 762 ┌Filter on c1 == 1 763 │Possibly useful indices 764 │CREATE INDEX xt_c1 ON t(c1); 765 └Output field names ["c1"] 766 767 ---- 138 768 SELECT * FROM t WHERE c1 == 8; 769 ┌Iterate all rows of table "t" 770 └Output field names ["c1"] 771 ┌Filter on c1 == 8 772 │Possibly useful indices 773 │CREATE INDEX xt_c1 ON t(c1); 774 └Output field names ["c1"] 775 776 ---- 139 777 SELECT * FROM t WHERE c1 == 8; 778 ┌Iterate all rows of table "t" 779 └Output field names ["c1"] 780 ┌Filter on c1 == 8 781 │Possibly useful indices 782 │CREATE INDEX xt_c1 ON t(c1); 783 └Output field names ["c1"] 784 785 ---- 140 786 SELECT * FROM t WHERE c1 == 2; 787 ┌Iterate all rows of table "t" 788 └Output field names ["c1"] 789 ┌Filter on c1 == 2 790 │Possibly useful indices 791 │CREATE INDEX xt_c1 ON t(c1); 792 └Output field names ["c1"] 793 794 ---- 141 795 SELECT * FROM t WHERE c1 == 2; 796 ┌Iterate all rows of table "t" 797 └Output field names ["c1"] 798 ┌Filter on c1 == 2 799 │Possibly useful indices 800 │CREATE INDEX xt_c1 ON t(c1); 801 └Output field names ["c1"] 802 803 ---- 142 804 SELECT * FROM t WHERE c1 == 2; 805 ┌Iterate all rows of table "t" 806 └Output field names ["c1"] 807 ┌Filter on c1 == 2 808 │Possibly useful indices 809 │CREATE INDEX xt_c1 ON t(c1); 810 └Output field names ["c1"] 811 812 ---- 143 813 SELECT * FROM t WHERE c1 == "foo"; 814 ┌Iterate all rows of table "t" 815 └Output field names ["c1"] 816 ┌Filter on c1 == "foo" 817 │Possibly useful indices 818 │CREATE INDEX xt_c1 ON t(c1); 819 └Output field names ["c1"] 820 821 ---- 144 822 SELECT * FROM t WHERE c1 == 2+5i; 823 ┌Iterate all rows of table "t" 824 └Output field names ["c1"] 825 ┌Filter on c1 == 2+5i 826 │Possibly useful indices 827 │CREATE INDEX xt_c1 ON t(c1); 828 └Output field names ["c1"] 829 830 ---- 145 831 SELECT * FROM t WHERE c1 == "2"; 832 ┌Iterate all rows of table "t" 833 └Output field names ["c1"] 834 ┌Filter on c1 == "2" 835 │Possibly useful indices 836 │CREATE INDEX xt_c1 ON t(c1); 837 └Output field names ["c1"] 838 839 ---- 146 840 SELECT * FROM t WHERE c1 == 2+5i; 841 ┌Iterate all rows of table "t" 842 └Output field names ["c1"] 843 ┌Filter on c1 == 2+5i 844 │Possibly useful indices 845 │CREATE INDEX xt_c1 ON t(c1); 846 └Output field names ["c1"] 847 848 ---- 147 849 SELECT * FROM t WHERE c1 == 2; 850 ┌Iterate all rows of table "t" 851 └Output field names ["c1"] 852 ┌Filter on c1 == 2 853 │Possibly useful indices 854 │CREATE INDEX xt_c1 ON t(c1); 855 └Output field names ["c1"] 856 857 ---- 148 858 SELECT * FROM t WHERE c1 == "foo"; 859 ┌Iterate all rows of table "t" 860 └Output field names ["c1"] 861 ┌Filter on c1 == "foo" 862 │Possibly useful indices 863 │CREATE INDEX xt_c1 ON t(c1); 864 └Output field names ["c1"] 865 866 ---- 153 867 SELECT 314, 42 AS AUQLUE, DepartmentID, DepartmentID + 1000, LastName AS Name FROM employee ORDER BY Name; 868 ┌Iterate all rows of table "employee" 869 └Output field names ["LastName" "DepartmentID"] 870 ┌Evaluate 314 as "", 42 as "AUQLUE", DepartmentID as "DepartmentID", DepartmentID + 1000 as "", LastName as "Name", 871 └Output field names ["" "AUQLUE" "DepartmentID" "" "Name"] 872 ┌Order by Name, 873 └Output field names ["" "AUQLUE" "DepartmentID" "" "Name"] 874 875 ---- 154 876 SELECT * FROM employee AS e, (SELECT * FROM department;) ORDER BY e.LastName; 877 ┌Compute Cartesian product of 878 │ ┌Iterate all rows of table "employee" 879 │ └Output field names ["LastName" "DepartmentID"] 880 │ ┌Iterate all rows of table "department" 881 │ └Output field names ["DepartmentID" "DepartmentName"] 882 └Output field names ["e.LastName" "e.DepartmentID" "DepartmentID" "DepartmentName"] 883 ┌Order by e.LastName, 884 └Output field names ["e.LastName" "e.DepartmentID" "DepartmentID" "DepartmentName"] 885 886 ---- 155 887 SELECT * FROM employee AS e, (SELECT * FROM department;) AS d ORDER BY e.LastName; 888 ┌Compute Cartesian product of 889 │ ┌Iterate all rows of table "employee" 890 │ └Output field names ["LastName" "DepartmentID"] 891 │ ┌Iterate all rows of table "department" 892 │ └Output field names ["DepartmentID" "DepartmentName"] 893 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 894 ┌Order by e.LastName, 895 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 896 897 ---- 157 898 SELECT * FROM t; 899 ┌Iterate all rows of table "t" 900 └Output field names ["c1"] 901 902 ---- 158 903 SELECT * FROM p; 904 ┌Iterate all rows of table "p" 905 └Output field names ["p"] 906 907 ---- 159 908 SELECT p.p AS p, q.p AS q, p.p || q.p AS p_or_q, p.p && q.p AS p_and_q FROM p, p AS q; 909 ┌Compute Cartesian product of 910 │ ┌Iterate all rows of table "p" 911 │ └Output field names ["p"] 912 │ ┌Iterate all rows of table "p" 913 │ └Output field names ["p"] 914 └Output field names ["p.p" "q.p"] 915 ┌Evaluate p.p as "p", q.p as "q", p.p || q.p as "p_or_q", p.p && q.p as "p_and_q", 916 └Output field names ["p" "q" "p_or_q" "p_and_q"] 917 918 ---- 160 919 SELECT p, !p AS not_p FROM p; 920 ┌Iterate all rows of table "p" 921 └Output field names ["p"] 922 ┌Evaluate p as "p", !p as "not_p", 923 └Output field names ["p" "not_p"] 924 925 ---- 161 926 SELECT * FROM department WHERE DepartmentID >= 33 ORDER BY DepartmentID; 927 ┌Iterate all rows of table "department" 928 └Output field names ["DepartmentID" "DepartmentName"] 929 ┌Filter on DepartmentID >= 33 930 │Possibly useful indices 931 │CREATE INDEX xdepartment_DepartmentID ON department(DepartmentID); 932 └Output field names ["DepartmentID" "DepartmentName"] 933 ┌Order by DepartmentID, 934 └Output field names ["DepartmentID" "DepartmentName"] 935 936 ---- 162 937 SELECT * FROM department WHERE DepartmentID <= 34 ORDER BY DepartmentID; 938 ┌Iterate all rows of table "department" 939 └Output field names ["DepartmentID" "DepartmentName"] 940 ┌Filter on DepartmentID <= 34 941 │Possibly useful indices 942 │CREATE INDEX xdepartment_DepartmentID ON department(DepartmentID); 943 └Output field names ["DepartmentID" "DepartmentName"] 944 ┌Order by DepartmentID, 945 └Output field names ["DepartmentID" "DepartmentName"] 946 947 ---- 163 948 SELECT * FROM department WHERE DepartmentID < 34 ORDER BY DepartmentID; 949 ┌Iterate all rows of table "department" 950 └Output field names ["DepartmentID" "DepartmentName"] 951 ┌Filter on DepartmentID < 34 952 │Possibly useful indices 953 │CREATE INDEX xdepartment_DepartmentID ON department(DepartmentID); 954 └Output field names ["DepartmentID" "DepartmentName"] 955 ┌Order by DepartmentID, 956 └Output field names ["DepartmentID" "DepartmentName"] 957 958 ---- 164 959 SELECT +DepartmentID FROM employee; 960 ┌Iterate all rows of table "employee" 961 └Output field names ["LastName" "DepartmentID"] 962 ┌Evaluate +DepartmentID as "", 963 └Output field names [""] 964 965 ---- 165 966 SELECT * FROM employee ORDER BY LastName; 967 ┌Iterate all rows of table "employee" 968 └Output field names ["LastName" "DepartmentID"] 969 ┌Order by LastName, 970 └Output field names ["LastName" "DepartmentID"] 971 972 ---- 166 973 SELECT * FROM employee ORDER BY LastName DESC; 974 ┌Iterate all rows of table "employee" 975 └Output field names ["LastName" "DepartmentID"] 976 ┌Order descending by LastName, 977 └Output field names ["LastName" "DepartmentID"] 978 979 ---- 167 980 SELECT 1023 + DepartmentID AS y FROM employee ORDER BY y DESC; 981 ┌Iterate all rows of table "employee" 982 └Output field names ["LastName" "DepartmentID"] 983 ┌Evaluate 1023 + DepartmentID as "y", 984 └Output field names ["y"] 985 ┌Order descending by y, 986 └Output field names ["y"] 987 988 ---- 168 989 SELECT +DepartmentID AS y FROM employee ORDER BY y DESC; 990 ┌Iterate all rows of table "employee" 991 └Output field names ["LastName" "DepartmentID"] 992 ┌Evaluate +DepartmentID as "y", 993 └Output field names ["y"] 994 ┌Order descending by y, 995 └Output field names ["y"] 996 997 ---- 169 998 SELECT * FROM employee ORDER BY DepartmentID, LastName DESC; 999 ┌Iterate all rows of table "employee" 1000 └Output field names ["LastName" "DepartmentID"] 1001 ┌Order descending by DepartmentID, LastName, 1002 └Output field names ["LastName" "DepartmentID"] 1003 1004 ---- 170 1005 SELECT * FROM employee ORDER BY 0 + DepartmentID DESC; 1006 ┌Iterate all rows of table "employee" 1007 └Output field names ["LastName" "DepartmentID"] 1008 ┌Order descending by 0 + DepartmentID, 1009 └Output field names ["LastName" "DepartmentID"] 1010 1011 ---- 171 1012 SELECT * FROM employee ORDER BY +DepartmentID DESC; 1013 ┌Iterate all rows of table "employee" 1014 └Output field names ["LastName" "DepartmentID"] 1015 ┌Order descending by +DepartmentID, 1016 └Output field names ["LastName" "DepartmentID"] 1017 1018 ---- 172 1019 SELECT ^DepartmentID AS y FROM employee ORDER BY y DESC; 1020 ┌Iterate all rows of table "employee" 1021 └Output field names ["LastName" "DepartmentID"] 1022 ┌Evaluate ^DepartmentID as "y", 1023 └Output field names ["y"] 1024 ┌Order descending by y, 1025 └Output field names ["y"] 1026 1027 ---- 173 1028 SELECT ^uint8(DepartmentID) AS y FROM employee ORDER BY y DESC; 1029 ┌Iterate all rows of table "employee" 1030 └Output field names ["LastName" "DepartmentID"] 1031 ┌Evaluate ^uint8(DepartmentID) as "y", 1032 └Output field names ["y"] 1033 ┌Order descending by y, 1034 └Output field names ["y"] 1035 1036 ---- 174 1037 SELECT * FROM t ORDER BY r; 1038 ┌Iterate all rows of table "t" 1039 └Output field names ["r"] 1040 ┌Order by r, 1041 └Output field names ["r"] 1042 1043 ---- 175 1044 SELECT i ^ 1 AS y FROM t ORDER BY y; 1045 ┌Iterate all rows of table "t" 1046 └Output field names ["i"] 1047 ┌Evaluate i ^ 1 as "y", 1048 └Output field names ["y"] 1049 ┌Order by y, 1050 └Output field names ["y"] 1051 1052 ---- 176 1053 SELECT i | 1 AS y FROM t ORDER BY y; 1054 ┌Iterate all rows of table "t" 1055 └Output field names ["i"] 1056 ┌Evaluate i | 1 as "y", 1057 └Output field names ["y"] 1058 ┌Order by y, 1059 └Output field names ["y"] 1060 1061 ---- 177 1062 SELECT i & 1 FROM t; 1063 ┌Iterate all rows of table "t" 1064 └Output field names ["i"] 1065 ┌Evaluate i & 1 as "", 1066 └Output field names [""] 1067 1068 ---- 178 1069 SELECT i &^ 1 AS y FROM t ORDER BY y; 1070 ┌Iterate all rows of table "t" 1071 └Output field names ["i"] 1072 ┌Evaluate i &^ 1 as "y", 1073 └Output field names ["y"] 1074 ┌Order by y, 1075 └Output field names ["y"] 1076 1077 ---- 179 1078 SELECT * FROM employee WHERE LastName == "Jones" || DepartmentID IS NULL ORDER BY LastName DESC; 1079 ┌Iterate all rows of table "employee" 1080 └Output field names ["LastName" "DepartmentID"] 1081 ┌Filter on LastName == "Jones" || DepartmentID IS NULL 1082 └Output field names ["LastName" "DepartmentID"] 1083 ┌Order descending by LastName, 1084 └Output field names ["LastName" "DepartmentID"] 1085 1086 ---- 180 1087 SELECT * FROM employee WHERE LastName != "Jones" && DepartmentID IS NOT NULL ORDER BY LastName; 1088 ┌Iterate all rows of table "employee" 1089 └Output field names ["LastName" "DepartmentID"] 1090 ┌Filter on LastName != "Jones" && DepartmentID IS NOT NULL 1091 │Possibly useful indices 1092 │CREATE INDEX xemployee_LastName ON employee(LastName); 1093 │CREATE INDEX xemployee_DepartmentID ON employee(DepartmentID); 1094 └Output field names ["LastName" "DepartmentID"] 1095 ┌Order by LastName, 1096 └Output field names ["LastName" "DepartmentID"] 1097 1098 ---- 185 1099 SELECT DepartmentID[0] FROM employee; 1100 ┌Iterate all rows of table "employee" 1101 └Output field names ["LastName" "DepartmentID"] 1102 ┌Evaluate DepartmentID[0] as "", 1103 └Output field names [""] 1104 1105 ---- 186 1106 SELECT "foo"[-DepartmentID] FROM employee; 1107 ┌Iterate all rows of table "employee" 1108 └Output field names ["LastName" "DepartmentID"] 1109 ┌Evaluate "foo"[-DepartmentID] as "", 1110 └Output field names [""] 1111 1112 ---- 187 1113 SELECT LastName[100] FROM employee; 1114 ┌Iterate all rows of table "employee" 1115 └Output field names ["LastName" "DepartmentID"] 1116 ┌Evaluate LastName[100] as "", 1117 └Output field names [""] 1118 1119 ---- 188 1120 SELECT LastName[0], LastName FROM employee ORDER BY LastName; 1121 ┌Iterate all rows of table "employee" 1122 └Output field names ["LastName" "DepartmentID"] 1123 ┌Evaluate LastName[0] as "", LastName as "LastName", 1124 └Output field names ["" "LastName"] 1125 ┌Order by LastName, 1126 └Output field names ["" "LastName"] 1127 1128 ---- 189 1129 SELECT LastName, string(LastName[0]), string(LastName[1]), string(LastName[2]), string(LastName[3]) FROM employee ORDER BY LastName; 1130 ┌Iterate all rows of table "employee" 1131 └Output field names ["LastName" "DepartmentID"] 1132 ┌Evaluate LastName as "LastName", string(LastName[0]) as "", string(LastName[1]) as "", string(LastName[2]) as "", string(LastName[3]) as "", 1133 └Output field names ["LastName" "" "" "" ""] 1134 ┌Order by LastName, 1135 └Output field names ["LastName" "" "" "" ""] 1136 1137 ---- 190 1138 SELECT LastName, LastName[:], LastName[:2], LastName[2:], LastName[1:3] FROM employee ORDER BY LastName; 1139 ┌Iterate all rows of table "employee" 1140 └Output field names ["LastName" "DepartmentID"] 1141 ┌Evaluate LastName as "LastName", LastName[:] as "", LastName[:2] as "", LastName[2:] as "", LastName[1:3] as "", 1142 └Output field names ["LastName" "" "" "" ""] 1143 ┌Order by LastName, 1144 └Output field names ["LastName" "" "" "" ""] 1145 1146 ---- 192 1147 SELECT DepartmentID, LastName, LastName[:4], LastName[:0 * DepartmentID], LastName[0 * DepartmentID:0], LastName[0 * DepartmentID:0 * DepartmentID] FROM employee ORDER BY LastName DESC; 1148 ┌Iterate all rows of table "employee" 1149 └Output field names ["LastName" "DepartmentID"] 1150 ┌Evaluate DepartmentID as "DepartmentID", LastName as "LastName", LastName[:4] as "", LastName[:0 * DepartmentID] as "", LastName[0 * DepartmentID:0] as "", LastName[0 * DepartmentID:0 * DepartmentID] as "", 1151 └Output field names ["DepartmentID" "LastName" "" "" "" ""] 1152 ┌Order descending by LastName, 1153 └Output field names ["DepartmentID" "LastName" "" "" "" ""] 1154 1155 ---- 193 1156 SELECT DepartmentID AS x, DepartmentID << 1 AS a, 1 << uint64(DepartmentID) AS b FROM employee WHERE DepartmentID IS NOT NULL ORDER BY x; 1157 ┌Iterate all rows of table "employee" 1158 └Output field names ["LastName" "DepartmentID"] 1159 ┌Filter on DepartmentID IS NOT NULL 1160 │Possibly useful indices 1161 │CREATE INDEX xemployee_DepartmentID ON employee(DepartmentID); 1162 └Output field names ["LastName" "DepartmentID"] 1163 ┌Evaluate DepartmentID as "x", DepartmentID << 1 as "a", 1 << uint64(DepartmentID) as "b", 1164 └Output field names ["x" "a" "b"] 1165 ┌Order by x, 1166 └Output field names ["x" "a" "b"] 1167 1168 ---- 194 1169 SELECT DepartmentID AS x, DepartmentID >> 1 AS a, 9223372036854775808 >> uint64(DepartmentID) AS b FROM employee WHERE DepartmentID IS NOT NULL ORDER BY x; 1170 ┌Iterate all rows of table "employee" 1171 └Output field names ["LastName" "DepartmentID"] 1172 ┌Filter on DepartmentID IS NOT NULL 1173 │Possibly useful indices 1174 │CREATE INDEX xemployee_DepartmentID ON employee(DepartmentID); 1175 └Output field names ["LastName" "DepartmentID"] 1176 ┌Evaluate DepartmentID as "x", DepartmentID >> 1 as "a", 9223372036854775808 >> uint64(DepartmentID) as "b", 1177 └Output field names ["x" "a" "b"] 1178 ┌Order by x, 1179 └Output field names ["x" "a" "b"] 1180 1181 ---- 195 1182 SELECT DISTINCT DepartmentID FROM employee WHERE DepartmentID IS NOT NULL; 1183 ┌Iterate all rows of table "employee" 1184 └Output field names ["LastName" "DepartmentID"] 1185 ┌Filter on DepartmentID IS NOT NULL 1186 │Possibly useful indices 1187 │CREATE INDEX xemployee_DepartmentID ON employee(DepartmentID); 1188 └Output field names ["LastName" "DepartmentID"] 1189 ┌Evaluate DepartmentID as "DepartmentID", 1190 └Output field names ["DepartmentID"] 1191 ┌Compute distinct rows 1192 └Output field names [DepartmentID] 1193 1194 ---- 196 1195 SELECT DISTINCT e.DepartmentID, d.DepartmentID, e.LastName FROM employee AS e, department AS d WHERE e.DepartmentID == d.DepartmentID; 1196 ┌Compute Cartesian product of 1197 │ ┌Iterate all rows of table "employee" 1198 │ └Output field names ["LastName" "DepartmentID"] 1199 │ ┌Iterate all rows of table "department" 1200 │ └Output field names ["DepartmentID" "DepartmentName"] 1201 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 1202 ┌Filter on e.DepartmentID == d.DepartmentID 1203 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 1204 ┌Evaluate e.DepartmentID as "e.DepartmentID", d.DepartmentID as "d.DepartmentID", e.LastName as "e.LastName", 1205 └Output field names ["e.DepartmentID" "d.DepartmentID" "e.LastName"] 1206 ┌Compute distinct rows 1207 └Output field names [e.DepartmentID d.DepartmentID e.LastName] 1208 1209 ---- 197 1210 SELECT DISTINCT e.DepartmentID, d.DepartmentID, e.LastName FROM employee AS e, department AS d WHERE e.DepartmentID == d.DepartmentID ORDER BY e.LastName; 1211 ┌Compute Cartesian product of 1212 │ ┌Iterate all rows of table "employee" 1213 │ └Output field names ["LastName" "DepartmentID"] 1214 │ ┌Iterate all rows of table "department" 1215 │ └Output field names ["DepartmentID" "DepartmentName"] 1216 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 1217 ┌Filter on e.DepartmentID == d.DepartmentID 1218 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 1219 ┌Evaluate e.DepartmentID as "e.DepartmentID", d.DepartmentID as "d.DepartmentID", e.LastName as "e.LastName", 1220 └Output field names ["e.DepartmentID" "d.DepartmentID" "e.LastName"] 1221 ┌Compute distinct rows 1222 └Output field names [e.DepartmentID d.DepartmentID e.LastName] 1223 ┌Order by e.LastName, 1224 └Output field names ["e.DepartmentID" "d.DepartmentID" "e.LastName"] 1225 1226 ---- 198 1227 SELECT * FROM employee, department ORDER BY employee.LastName, department.DepartmentID; 1228 ┌Compute Cartesian product of 1229 │ ┌Iterate all rows of table "employee" 1230 │ └Output field names ["LastName" "DepartmentID"] 1231 │ ┌Iterate all rows of table "department" 1232 │ └Output field names ["DepartmentID" "DepartmentName"] 1233 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 1234 ┌Order by employee.LastName, department.DepartmentID, 1235 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 1236 1237 ---- 199 1238 SELECT * FROM employee, department WHERE employee.DepartmentID == department.DepartmentID ORDER BY employee.LastName, department.DepartmentID; 1239 ┌Compute Cartesian product of 1240 │ ┌Iterate all rows of table "employee" 1241 │ └Output field names ["LastName" "DepartmentID"] 1242 │ ┌Iterate all rows of table "department" 1243 │ └Output field names ["DepartmentID" "DepartmentName"] 1244 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 1245 ┌Filter on employee.DepartmentID == department.DepartmentID 1246 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 1247 ┌Order by employee.LastName, department.DepartmentID, 1248 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 1249 1250 ---- 200 1251 SELECT * FROM department ORDER BY DepartmentID; 1252 ┌Iterate all rows of table "department" 1253 └Output field names ["DepartmentID" "DepartmentName"] 1254 ┌Order by DepartmentID, 1255 └Output field names ["DepartmentID" "DepartmentName"] 1256 1257 ---- 201 1258 SELECT * FROM department ORDER BY DepartmentID; 1259 ┌Iterate all rows of table "department" 1260 └Output field names ["DepartmentID" "DepartmentName"] 1261 ┌Order by DepartmentID, 1262 └Output field names ["DepartmentID" "DepartmentName"] 1263 1264 ---- 202 1265 SELECT * FROM department; 1266 ┌Iterate all rows of table "department" 1267 └Output field names ["DepartmentID" "DepartmentName"] 1268 1269 ---- 203 1270 SELECT * FROM department ORDER BY DepartmentID; 1271 ┌Iterate all rows of table "department" 1272 └Output field names ["DepartmentID" "DepartmentName"] 1273 ┌Order by DepartmentID, 1274 └Output field names ["DepartmentID" "DepartmentName"] 1275 1276 ---- 204 1277 SELECT id(), LastName FROM employee ORDER BY id(); 1278 ┌Iterate all rows of table "employee" 1279 └Output field names ["LastName" "DepartmentID"] 1280 ┌Evaluate id() as "", LastName as "LastName", 1281 └Output field names ["" "LastName"] 1282 ┌Order by id(), 1283 └Output field names ["" "LastName"] 1284 1285 ---- 205 1286 SELECT id(), LastName FROM employee ORDER BY id(); 1287 ┌Iterate all rows of table "employee" 1288 └Output field names ["LastName" "DepartmentID"] 1289 ┌Evaluate id() as "", LastName as "LastName", 1290 └Output field names ["" "LastName"] 1291 ┌Order by id(), 1292 └Output field names ["" "LastName"] 1293 1294 ---- 206 1295 SELECT id(), LastName FROM employee ORDER BY id(); 1296 ┌Iterate all rows of table "employee" 1297 └Output field names ["LastName" "DepartmentID"] 1298 ┌Evaluate id() as "", LastName as "LastName", 1299 └Output field names ["" "LastName"] 1300 ┌Order by id(), 1301 └Output field names ["" "LastName"] 1302 1303 ---- 207 1304 SELECT id(), e.LastName, e.DepartmentID, d.DepartmentID FROM employee AS e, department AS d WHERE e.DepartmentID == d.DepartmentID ORDER BY e.LastName; 1305 ┌Compute Cartesian product of 1306 │ ┌Iterate all rows of table "employee" 1307 │ └Output field names ["LastName" "DepartmentID"] 1308 │ ┌Iterate all rows of table "department" 1309 │ └Output field names ["DepartmentID" "DepartmentName"] 1310 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 1311 ┌Filter on e.DepartmentID == d.DepartmentID 1312 └Output field names ["e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 1313 ┌Evaluate id() as "", e.LastName as "e.LastName", e.DepartmentID as "e.DepartmentID", d.DepartmentID as "d.DepartmentID", 1314 └Output field names ["" "e.LastName" "e.DepartmentID" "d.DepartmentID"] 1315 ┌Order by e.LastName, 1316 └Output field names ["" "e.LastName" "e.DepartmentID" "d.DepartmentID"] 1317 1318 ---- 208 1319 SELECT e.ID, e.LastName, e.DepartmentID, d.DepartmentID FROM (SELECT id() AS ID, LastName, DepartmentID FROM employee;) AS e, department AS d WHERE e.DepartmentID == d.DepartmentID ORDER BY e.ID; 1320 ┌Compute Cartesian product of 1321 │ ┌Iterate all rows of virtual table "e" 1322 │ │ ┌Iterate all rows of table "employee" 1323 │ │ └Output field names ["LastName" "DepartmentID"] 1324 │ │ ┌Evaluate id() as "ID", LastName as "LastName", DepartmentID as "DepartmentID", 1325 │ │ └Output field names ["ID" "LastName" "DepartmentID"] 1326 │ └Output field names ["ID" "LastName" "DepartmentID"] 1327 │ ┌Iterate all rows of table "department" 1328 │ └Output field names ["DepartmentID" "DepartmentName"] 1329 └Output field names ["e.ID" "e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 1330 ┌Filter on e.DepartmentID == d.DepartmentID 1331 └Output field names ["e.ID" "e.LastName" "e.DepartmentID" "d.DepartmentID" "d.DepartmentName"] 1332 ┌Evaluate e.ID as "e.ID", e.LastName as "e.LastName", e.DepartmentID as "e.DepartmentID", d.DepartmentID as "d.DepartmentID", 1333 └Output field names ["e.ID" "e.LastName" "e.DepartmentID" "d.DepartmentID"] 1334 ┌Order by e.ID, 1335 └Output field names ["e.ID" "e.LastName" "e.DepartmentID" "d.DepartmentID"] 1336 1337 ---- 209 1338 SELECT * FROM employee; 1339 ┌Iterate all rows of table "employee" 1340 └Output field names ["LastName" "DepartmentID"] 1341 1342 ---- 210 1343 SELECT * FROM employee; 1344 ┌Iterate all rows of table "employee" 1345 └Output field names ["LastName" "DepartmentID"] 1346 1347 ---- 211 1348 SELECT * FROM employee ORDER BY LastName; 1349 ┌Iterate all rows of table "employee" 1350 └Output field names ["LastName" "DepartmentID"] 1351 ┌Order by LastName, 1352 └Output field names ["LastName" "DepartmentID"] 1353 1354 ---- 212 1355 SELECT * FROM employee ORDER BY LastName DESC; 1356 ┌Iterate all rows of table "employee" 1357 └Output field names ["LastName" "DepartmentID"] 1358 ┌Order descending by LastName, 1359 └Output field names ["LastName" "DepartmentID"] 1360 1361 ---- 213 1362 SELECT * FROM employee ORDER BY LastName DESC; 1363 ┌Iterate all rows of table "employee" 1364 └Output field names ["LastName" "DepartmentID"] 1365 ┌Order descending by LastName, 1366 └Output field names ["LastName" "DepartmentID"] 1367 1368 ---- 214 1369 SELECT * FROM employee ORDER BY LastName; 1370 ┌Iterate all rows of table "employee" 1371 └Output field names ["LastName" "DepartmentID"] 1372 ┌Order by LastName, 1373 └Output field names ["LastName" "DepartmentID"] 1374 1375 ---- 215 1376 SELECT * FROM employee; 1377 ┌Iterate all rows of table "employee" 1378 └Output field names ["LastName" "DepartmentID"] 1379 1380 ---- 216 1381 SELECT * FROM employee; 1382 ┌Iterate all rows of table "employee" 1383 └Output field names ["LastName" "DepartmentID"] 1384 1385 ---- 217 1386 SELECT * FROM employee; 1387 ┌Iterate all rows of table "employee" 1388 └Output field names ["LastName" "DepartmentID"] 1389 1390 ---- 223 1391 SELECT LastName[:len(LastName) - 3] AS y FROM employee ORDER BY y; 1392 ┌Iterate all rows of table "employee" 1393 └Output field names ["LastName" "DepartmentID"] 1394 ┌Evaluate LastName[:len(LastName) - 3] as "y", 1395 └Output field names ["y"] 1396 ┌Order by y, 1397 └Output field names ["y"] 1398 1399 ---- 224 1400 SELECT complex(float32(DepartmentID + int64(id())), 0) AS x, complex(DepartmentID + int64(id()), 0) FROM employee ORDER BY real(x) DESC; 1401 ┌Iterate all rows of table "employee" 1402 └Output field names ["LastName" "DepartmentID"] 1403 ┌Evaluate complex(float32(DepartmentID + int64(id())), 0) as "x", complex(DepartmentID + int64(id()), 0) as "", 1404 └Output field names ["x" ""] 1405 ┌Order descending by real(x), 1406 └Output field names ["x" ""] 1407 1408 ---- 225 1409 SELECT real(complex(float32(DepartmentID + int64(id())), 0)) AS x, real(complex(DepartmentID + int64(id()), 0)) FROM employee ORDER BY x DESC; 1410 ┌Iterate all rows of table "employee" 1411 └Output field names ["LastName" "DepartmentID"] 1412 ┌Evaluate real(complex(float32(DepartmentID + int64(id())), 0)) as "x", real(complex(DepartmentID + int64(id()), 0)) as "", 1413 └Output field names ["x" ""] 1414 ┌Order descending by x, 1415 └Output field names ["x" ""] 1416 1417 ---- 226 1418 SELECT imag(complex(0, float32(DepartmentID + int64(id())))) AS x, imag(complex(0, DepartmentID + int64(id()))) FROM employee ORDER BY x DESC; 1419 ┌Iterate all rows of table "employee" 1420 └Output field names ["LastName" "DepartmentID"] 1421 ┌Evaluate imag(complex(0, float32(DepartmentID + int64(id())))) as "x", imag(complex(0, DepartmentID + int64(id()))) as "", 1422 └Output field names ["x" ""] 1423 ┌Order descending by x, 1424 └Output field names ["x" ""] 1425 1426 ---- 227 1427 SELECT 100 * id(), c FROM t; 1428 ┌Iterate all rows of table "t" 1429 └Output field names ["c"] 1430 ┌Evaluate 100 * id() as "", c as "c", 1431 └Output field names ["" "c"] 1432 1433 ---- 229 1434 SELECT * FROM b; 1435 ┌Iterate all rows of table "b" 1436 └Output field names ["b"] 1437 1438 ---- 230 1439 SELECT * FROM c; 1440 ┌Iterate all rows of table "c" 1441 └Output field names ["c"] 1442 1443 ---- 231 1444 SELECT * FROM a; 1445 ┌Iterate all rows of table "a" 1446 └Output field names ["a"] 1447 1448 ---- 233 1449 SELECT * FROM c; 1450 ┌Iterate all rows of table "c" 1451 └Output field names ["c"] 1452 1453 ---- 234 1454 SELECT * FROM a; 1455 ┌Iterate all rows of table "a" 1456 └Output field names ["a"] 1457 1458 ---- 235 1459 SELECT * FROM b; 1460 ┌Iterate all rows of table "b" 1461 └Output field names ["b"] 1462 1463 ---- 237 1464 SELECT * FROM a, b; 1465 ┌Compute Cartesian product of 1466 │ ┌Iterate all rows of table "a" 1467 │ └Output field names ["c"] 1468 │ ┌Iterate all rows of table "b" 1469 │ └Output field names ["d"] 1470 └Output field names ["a.c" "b.d"] 1471 1472 ---- 238 1473 SELECT 9 * x2.c AS x2, 3 * x1.c AS x1, 1 * x0.c AS x0, 9 * x2.c + 3 * x1.c + x0.c AS y FROM a AS x2, a AS x1, a AS x0 ORDER BY y; 1474 ┌Compute Cartesian product of 1475 │ ┌Iterate all rows of table "a" 1476 │ └Output field names ["c"] 1477 │ ┌Iterate all rows of table "a" 1478 │ └Output field names ["c"] 1479 │ ┌Iterate all rows of table "a" 1480 │ └Output field names ["c"] 1481 └Output field names ["x2.c" "x1.c" "x0.c"] 1482 ┌Evaluate 9 * x2.c as "x2", 3 * x1.c as "x1", 1 * x0.c as "x0", 9 * x2.c + 3 * x1.c + x0.c as "y", 1483 └Output field names ["x2" "x1" "x0" "y"] 1484 ┌Order by y, 1485 └Output field names ["x2" "x1" "x0" "y"] 1486 1487 ---- 239 1488 SELECT * FROM t; 1489 ┌Iterate all rows of table "t" 1490 └Output field names ["c"] 1491 1492 ---- 243 1493 SELECT * FROM t; 1494 ┌Iterate all rows of table "t" 1495 └Output field names ["i"] 1496 1497 ---- 244 1498 SELECT * FROM t; 1499 ┌Iterate all rows of table "t" 1500 └Output field names ["i"] 1501 1502 ---- 247 1503 SELECT * FROM t; 1504 ┌Iterate all rows of table "t" 1505 └Output field names ["s"] 1506 1507 ---- 248 1508 SELECT i == 4294967280 FROM t; 1509 ┌Iterate all rows of table "t" 1510 └Output field names ["i"] 1511 ┌Evaluate i == 4294967280 as "", 1512 └Output field names [""] 1513 1514 ---- 249 1515 SELECT id() == 1 && s == "a" || id() == 2 && s == "�" && s == "�" || id() == 3 && s == "ø" && s == "ø" && s == "ø" || id() == 4 && s == "日" && s == "日" && s == "日" FROM t; 1516 ┌Iterate all rows of table "t" 1517 └Output field names ["s"] 1518 ┌Evaluate id() == 1 && s == "a" || id() == 2 && s == "�" && s == "�" || id() == 3 && s == "ø" && s == "ø" && s == "ø" || id() == 4 && s == "日" && s == "日" && s == "日" as "", 1519 └Output field names [""] 1520 1521 ---- 250 1522 SELECT 3.3, 3.3 FROM t; 1523 ┌Iterate all rows of table "t" 1524 └Output field names [] 1525 ┌Evaluate 3.3 as "", 3.3 as "", 1526 └Output field names ["" ""] 1527 1528 ---- 252 1529 SELECT * FROM t; 1530 ┌Iterate all rows of table "t" 1531 └Output field names ["i"] 1532 1533 ---- 253 1534 SELECT * FROM t; 1535 ┌Iterate all rows of table "t" 1536 └Output field names ["i"] 1537 1538 ---- 255 1539 SELECT * FROM t; 1540 ┌Iterate all rows of table "t" 1541 └Output field names ["i"] 1542 1543 ---- 257 1544 SELECT * FROM t; 1545 ┌Iterate all rows of table "t" 1546 └Output field names ["i"] 1547 1548 ---- 260 1549 SELECT count() FROM employee; 1550 ┌Iterate all rows of table "employee" 1551 └Output field names ["LastName" "DepartmentID"] 1552 ┌Group by distinct rows 1553 └Output field names ["LastName" "DepartmentID"] 1554 ┌Evaluate count() as "", 1555 └Output field names [""] 1556 1557 ---- 261 1558 SELECT count() AS y FROM employee; 1559 ┌Iterate all rows of table "employee" 1560 └Output field names ["LastName" "DepartmentID"] 1561 ┌Group by distinct rows 1562 └Output field names ["LastName" "DepartmentID"] 1563 ┌Evaluate count() as "y", 1564 └Output field names ["y"] 1565 1566 ---- 262 1567 SELECT 3 * count() AS y FROM employee; 1568 ┌Iterate all rows of table "employee" 1569 └Output field names ["LastName" "DepartmentID"] 1570 ┌Group by distinct rows 1571 └Output field names ["LastName" "DepartmentID"] 1572 ┌Evaluate 3 * count() as "y", 1573 └Output field names ["y"] 1574 1575 ---- 263 1576 SELECT count(LastName) FROM employee; 1577 ┌Iterate all rows of table "employee" 1578 └Output field names ["LastName" "DepartmentID"] 1579 ┌Group by distinct rows 1580 └Output field names ["LastName" "DepartmentID"] 1581 ┌Evaluate count(LastName) as "", 1582 └Output field names [""] 1583 1584 ---- 264 1585 SELECT count(DepartmentID) FROM employee; 1586 ┌Iterate all rows of table "employee" 1587 └Output field names ["LastName" "DepartmentID"] 1588 ┌Group by distinct rows 1589 └Output field names ["LastName" "DepartmentID"] 1590 ┌Evaluate count(DepartmentID) as "", 1591 └Output field names [""] 1592 1593 ---- 265 1594 SELECT count() - count(DepartmentID) FROM employee; 1595 ┌Iterate all rows of table "employee" 1596 └Output field names ["LastName" "DepartmentID"] 1597 ┌Group by distinct rows 1598 └Output field names ["LastName" "DepartmentID"] 1599 ┌Evaluate count() - count(DepartmentID) as "", 1600 └Output field names [""] 1601 1602 ---- 266 1603 SELECT min(LastName), min(DepartmentID) FROM employee; 1604 ┌Iterate all rows of table "employee" 1605 └Output field names ["LastName" "DepartmentID"] 1606 ┌Group by distinct rows 1607 └Output field names ["LastName" "DepartmentID"] 1608 ┌Evaluate min(LastName) as "", min(DepartmentID) as "", 1609 └Output field names ["" ""] 1610 1611 ---- 267 1612 SELECT max(LastName), max(DepartmentID) FROM employee; 1613 ┌Iterate all rows of table "employee" 1614 └Output field names ["LastName" "DepartmentID"] 1615 ┌Group by distinct rows 1616 └Output field names ["LastName" "DepartmentID"] 1617 ┌Evaluate max(LastName) as "", max(DepartmentID) as "", 1618 └Output field names ["" ""] 1619 1620 ---- 268 1621 SELECT sum(LastName), sum(DepartmentID) FROM employee; 1622 ┌Iterate all rows of table "employee" 1623 └Output field names ["LastName" "DepartmentID"] 1624 ┌Group by distinct rows 1625 └Output field names ["LastName" "DepartmentID"] 1626 ┌Evaluate sum(LastName) as "", sum(DepartmentID) as "", 1627 └Output field names ["" ""] 1628 1629 ---- 269 1630 SELECT sum(DepartmentID) FROM employee; 1631 ┌Iterate all rows of table "employee" 1632 └Output field names ["LastName" "DepartmentID"] 1633 ┌Group by distinct rows 1634 └Output field names ["LastName" "DepartmentID"] 1635 ┌Evaluate sum(DepartmentID) as "", 1636 └Output field names [""] 1637 1638 ---- 270 1639 SELECT avg(DepartmentID) FROM employee; 1640 ┌Iterate all rows of table "employee" 1641 └Output field names ["LastName" "DepartmentID"] 1642 ┌Group by distinct rows 1643 └Output field names ["LastName" "DepartmentID"] 1644 ┌Evaluate avg(DepartmentID) as "", 1645 └Output field names [""] 1646 1647 ---- 272 1648 SELECT DepartmentID, sum(DepartmentID) AS s FROM employee GROUP BY DepartmentID ORDER BY s DESC; 1649 ┌Iterate all rows of table "employee" 1650 └Output field names ["LastName" "DepartmentID"] 1651 ┌Group by DepartmentID, 1652 └Output field names ["LastName" "DepartmentID"] 1653 ┌Evaluate DepartmentID as "DepartmentID", sum(DepartmentID) as "s", 1654 └Output field names ["DepartmentID" "s"] 1655 ┌Order descending by s, 1656 └Output field names ["DepartmentID" "s"] 1657 1658 ---- 273 1659 SELECT DepartmentID, count(LastName + string(DepartmentID)) AS y FROM employee GROUP BY DepartmentID ORDER BY y DESC; 1660 ┌Iterate all rows of table "employee" 1661 └Output field names ["LastName" "DepartmentID"] 1662 ┌Group by DepartmentID, 1663 └Output field names ["LastName" "DepartmentID"] 1664 ┌Evaluate DepartmentID as "DepartmentID", count(LastName + string(DepartmentID)) as "y", 1665 └Output field names ["DepartmentID" "y"] 1666 ┌Order descending by y, 1667 └Output field names ["DepartmentID" "y"] 1668 1669 ---- 274 1670 SELECT DepartmentID, sum(2 * DepartmentID) AS s FROM employee GROUP BY DepartmentID ORDER BY s DESC; 1671 ┌Iterate all rows of table "employee" 1672 └Output field names ["LastName" "DepartmentID"] 1673 ┌Group by DepartmentID, 1674 └Output field names ["LastName" "DepartmentID"] 1675 ┌Evaluate DepartmentID as "DepartmentID", sum(2 * DepartmentID) as "s", 1676 └Output field names ["DepartmentID" "s"] 1677 ┌Order descending by s, 1678 └Output field names ["DepartmentID" "s"] 1679 1680 ---- 275 1681 SELECT min(2 * DepartmentID) FROM employee; 1682 ┌Iterate all rows of table "employee" 1683 └Output field names ["LastName" "DepartmentID"] 1684 ┌Group by distinct rows 1685 └Output field names ["LastName" "DepartmentID"] 1686 ┌Evaluate min(2 * DepartmentID) as "", 1687 └Output field names [""] 1688 1689 ---- 276 1690 SELECT max(2 * DepartmentID) FROM employee; 1691 ┌Iterate all rows of table "employee" 1692 └Output field names ["LastName" "DepartmentID"] 1693 ┌Group by distinct rows 1694 └Output field names ["LastName" "DepartmentID"] 1695 ┌Evaluate max(2 * DepartmentID) as "", 1696 └Output field names [""] 1697 1698 ---- 277 1699 SELECT avg(2 * DepartmentID) FROM employee; 1700 ┌Iterate all rows of table "employee" 1701 └Output field names ["LastName" "DepartmentID"] 1702 ┌Group by distinct rows 1703 └Output field names ["LastName" "DepartmentID"] 1704 ┌Evaluate avg(2 * DepartmentID) as "", 1705 └Output field names [""] 1706 1707 ---- 278 1708 SELECT * FROM employee GROUP BY DepartmentID; 1709 ┌Iterate all rows of table "employee" 1710 └Output field names ["LastName" "DepartmentID"] 1711 ┌Group by DepartmentID, 1712 └Output field names ["LastName" "DepartmentID"] 1713 ┌Evaluate LastName as "LastName", DepartmentID as "DepartmentID", 1714 └Output field names ["LastName" "DepartmentID"] 1715 1716 ---- 279 1717 SELECT * FROM employee GROUP BY DepartmentID ORDER BY LastName DESC; 1718 ┌Iterate all rows of table "employee" 1719 └Output field names ["LastName" "DepartmentID"] 1720 ┌Group by DepartmentID, 1721 └Output field names ["LastName" "DepartmentID"] 1722 ┌Evaluate LastName as "LastName", DepartmentID as "DepartmentID", 1723 └Output field names ["LastName" "DepartmentID"] 1724 ┌Order descending by LastName, 1725 └Output field names ["LastName" "DepartmentID"] 1726 1727 ---- 280 1728 SELECT * FROM employee GROUP BY DepartmentID, LastName ORDER BY LastName DESC; 1729 ┌Iterate all rows of table "employee" 1730 └Output field names ["LastName" "DepartmentID"] 1731 ┌Group by DepartmentID, LastName, 1732 └Output field names ["LastName" "DepartmentID"] 1733 ┌Evaluate LastName as "LastName", DepartmentID as "DepartmentID", 1734 └Output field names ["LastName" "DepartmentID"] 1735 ┌Order descending by LastName, 1736 └Output field names ["LastName" "DepartmentID"] 1737 1738 ---- 281 1739 SELECT * FROM employee GROUP BY LastName, DepartmentID ORDER BY LastName DESC; 1740 ┌Iterate all rows of table "employee" 1741 └Output field names ["LastName" "DepartmentID"] 1742 ┌Group by LastName, DepartmentID, 1743 └Output field names ["LastName" "DepartmentID"] 1744 ┌Evaluate LastName as "LastName", DepartmentID as "DepartmentID", 1745 └Output field names ["LastName" "DepartmentID"] 1746 ┌Order descending by LastName, 1747 └Output field names ["LastName" "DepartmentID"] 1748 1749 ---- 282 1750 SELECT * FROM t; 1751 ┌Iterate all rows of table "t" 1752 └Output field names ["i"] 1753 1754 ---- 283 1755 SELECT count() FROM t; 1756 ┌Iterate all rows of table "t" 1757 └Output field names ["n"] 1758 ┌Group by distinct rows 1759 └Output field names ["n"] 1760 ┌Evaluate count() as "", 1761 └Output field names [""] 1762 1763 ---- 284 1764 SELECT count() FROM t; 1765 ┌Iterate all rows of table "t" 1766 └Output field names ["n"] 1767 ┌Group by distinct rows 1768 └Output field names ["n"] 1769 ┌Evaluate count() as "", 1770 └Output field names [""] 1771 1772 ---- 285 1773 SELECT count() FROM t WHERE n < 2; 1774 ┌Iterate all rows of table "t" 1775 └Output field names ["n"] 1776 ┌Filter on n < 2 1777 │Possibly useful indices 1778 │CREATE INDEX xt_n ON t(n); 1779 └Output field names ["n"] 1780 ┌Group by distinct rows 1781 └Output field names ["n"] 1782 ┌Evaluate count() as "", 1783 └Output field names [""] 1784 1785 ---- 286 1786 SELECT count() FROM t WHERE n < 1; 1787 ┌Iterate all rows of table "t" 1788 └Output field names ["n"] 1789 ┌Filter on n < 1 1790 │Possibly useful indices 1791 │CREATE INDEX xt_n ON t(n); 1792 └Output field names ["n"] 1793 ┌Group by distinct rows 1794 └Output field names ["n"] 1795 ┌Evaluate count() as "", 1796 └Output field names [""] 1797 1798 ---- 287 1799 SELECT count() FROM t WHERE n < 0; 1800 ┌Iterate all rows of table "t" 1801 └Output field names ["n"] 1802 ┌Filter on n < 0 1803 │Possibly useful indices 1804 │CREATE INDEX xt_n ON t(n); 1805 └Output field names ["n"] 1806 ┌Group by distinct rows 1807 └Output field names ["n"] 1808 ┌Evaluate count() as "", 1809 └Output field names [""] 1810 1811 ---- 288 1812 SELECT s + 10 FROM (SELECT sum(n) AS s FROM t WHERE n < 2;); 1813 ┌Iterate all rows of table "t" 1814 └Output field names ["n"] 1815 ┌Filter on n < 2 1816 │Possibly useful indices 1817 │CREATE INDEX xt_n ON t(n); 1818 └Output field names ["n"] 1819 ┌Group by distinct rows 1820 └Output field names ["n"] 1821 ┌Evaluate sum(n) as "s", 1822 └Output field names ["s"] 1823 ┌Evaluate s + 10 as "", 1824 └Output field names [""] 1825 1826 ---- 289 1827 SELECT s + 10 FROM (SELECT sum(n) AS s FROM t WHERE n < 1;); 1828 ┌Iterate all rows of table "t" 1829 └Output field names ["n"] 1830 ┌Filter on n < 1 1831 │Possibly useful indices 1832 │CREATE INDEX xt_n ON t(n); 1833 └Output field names ["n"] 1834 ┌Group by distinct rows 1835 └Output field names ["n"] 1836 ┌Evaluate sum(n) as "s", 1837 └Output field names ["s"] 1838 ┌Evaluate s + 10 as "", 1839 └Output field names [""] 1840 1841 ---- 290 1842 SELECT s + 10 FROM (SELECT sum(n) AS s FROM t WHERE n < 0;); 1843 ┌Iterate all rows of table "t" 1844 └Output field names ["n"] 1845 ┌Filter on n < 0 1846 │Possibly useful indices 1847 │CREATE INDEX xt_n ON t(n); 1848 └Output field names ["n"] 1849 ┌Group by distinct rows 1850 └Output field names ["n"] 1851 ┌Evaluate sum(n) as "s", 1852 └Output field names ["s"] 1853 ┌Evaluate s + 10 as "", 1854 └Output field names [""] 1855 1856 ---- 291 1857 SELECT sum(n) AS s FROM t WHERE n < 2; 1858 ┌Iterate all rows of table "t" 1859 └Output field names ["n"] 1860 ┌Filter on n < 2 1861 │Possibly useful indices 1862 │CREATE INDEX xt_n ON t(n); 1863 └Output field names ["n"] 1864 ┌Group by distinct rows 1865 └Output field names ["n"] 1866 ┌Evaluate sum(n) as "s", 1867 └Output field names ["s"] 1868 1869 ---- 292 1870 SELECT sum(n) AS s FROM t WHERE n < 1; 1871 ┌Iterate all rows of table "t" 1872 └Output field names ["n"] 1873 ┌Filter on n < 1 1874 │Possibly useful indices 1875 │CREATE INDEX xt_n ON t(n); 1876 └Output field names ["n"] 1877 ┌Group by distinct rows 1878 └Output field names ["n"] 1879 ┌Evaluate sum(n) as "s", 1880 └Output field names ["s"] 1881 1882 ---- 293 1883 SELECT sum(n) AS s FROM t WHERE n < 0; 1884 ┌Iterate all rows of table "t" 1885 └Output field names ["n"] 1886 ┌Filter on n < 0 1887 │Possibly useful indices 1888 │CREATE INDEX xt_n ON t(n); 1889 └Output field names ["n"] 1890 ┌Group by distinct rows 1891 └Output field names ["n"] 1892 ┌Evaluate sum(n) as "s", 1893 └Output field names ["s"] 1894 1895 ---- 294 1896 SELECT count() FROM t; 1897 ┌Iterate all rows of table "t" 1898 └Output field names ["n"] 1899 ┌Group by distinct rows 1900 └Output field names ["n"] 1901 ┌Evaluate count() as "", 1902 └Output field names [""] 1903 1904 ---- 295 1905 SELECT count() FROM t; 1906 ┌Iterate all rows of table "t" 1907 └Output field names ["n"] 1908 ┌Group by distinct rows 1909 └Output field names ["n"] 1910 ┌Evaluate count() as "", 1911 └Output field names [""] 1912 1913 ---- 296 1914 SELECT count() FROM t; 1915 ┌Iterate all rows of table "t" 1916 └Output field names ["n"] 1917 ┌Group by distinct rows 1918 └Output field names ["n"] 1919 ┌Evaluate count() as "", 1920 └Output field names [""] 1921 1922 ---- 297 1923 SELECT count() FROM t; 1924 ┌Iterate all rows of table "t" 1925 └Output field names ["S"] 1926 ┌Group by distinct rows 1927 └Output field names ["S"] 1928 ┌Evaluate count() as "", 1929 └Output field names [""] 1930 1931 ---- 298 1932 SELECT count() FROM t; 1933 ┌Iterate all rows of table "t" 1934 └Output field names ["S"] 1935 ┌Group by distinct rows 1936 └Output field names ["S"] 1937 ┌Evaluate count() as "", 1938 └Output field names [""] 1939 1940 ---- 299 1941 SELECT * FROM t; 1942 ┌Iterate all rows of table "t" 1943 └Output field names ["c"] 1944 1945 ---- 300 1946 SELECT * FROM t; 1947 ┌Iterate all rows of table "t" 1948 └Output field names ["c"] 1949 1950 ---- 301 1951 SELECT * FROM t; 1952 ┌Iterate all rows of table "t" 1953 └Output field names ["c"] 1954 1955 ---- 302 1956 SELECT * FROM t; 1957 ┌Iterate all rows of table "t" 1958 └Output field names ["c"] 1959 1960 ---- 303 1961 SELECT string(c) FROM t; 1962 ┌Iterate all rows of table "t" 1963 └Output field names ["c"] 1964 ┌Evaluate string(c) as "", 1965 └Output field names [""] 1966 1967 ---- 304 1968 SELECT string(c) FROM t; 1969 ┌Iterate all rows of table "t" 1970 └Output field names ["c"] 1971 ┌Evaluate string(c) as "", 1972 └Output field names [""] 1973 1974 ---- 305 1975 SELECT string(c) FROM t; 1976 ┌Iterate all rows of table "t" 1977 └Output field names ["c"] 1978 ┌Evaluate string(c) as "", 1979 └Output field names [""] 1980 1981 ---- 306 1982 SELECT * FROM t; 1983 ┌Iterate all rows of table "t" 1984 └Output field names ["c"] 1985 1986 ---- 307 1987 SELECT * FROM t; 1988 ┌Iterate all rows of table "t" 1989 └Output field names ["c"] 1990 1991 ---- 308 1992 SELECT * FROM t; 1993 ┌Iterate all rows of table "t" 1994 └Output field names ["i" "b"] 1995 1996 ---- 309 1997 SELECT * FROM t; 1998 ┌Iterate all rows of table "t" 1999 └Output field names ["i" "b"] 2000 2001 ---- 310 2002 SELECT * FROM t; 2003 ┌Iterate all rows of table "t" 2004 └Output field names ["i" "b"] 2005 2006 ---- 311 2007 SELECT * FROM t; 2008 ┌Iterate all rows of table "t" 2009 └Output field names ["i" "b"] 2010 2011 ---- 312 2012 SELECT * FROM t; 2013 ┌Iterate all rows of table "t" 2014 └Output field names ["i" "b"] 2015 2016 ---- 313 2017 SELECT * FROM t; 2018 ┌Iterate all rows of table "t" 2019 └Output field names ["i" "b"] 2020 2021 ---- 314 2022 SELECT * FROM t; 2023 ┌Iterate all rows of table "t" 2024 └Output field names ["i" "b"] 2025 2026 ---- 315 2027 SELECT * FROM t; 2028 ┌Iterate all rows of table "t" 2029 └Output field names ["i" "b"] 2030 2031 ---- 316 2032 SELECT * FROM t; 2033 ┌Iterate all rows of table "t" 2034 └Output field names ["i" "b"] 2035 2036 ---- 317 2037 SELECT i, string(b) FROM t; 2038 ┌Iterate all rows of table "t" 2039 └Output field names ["i" "b"] 2040 ┌Evaluate i as "i", string(b) as "", 2041 └Output field names ["i" ""] 2042 2043 ---- 318 2044 SELECT i, string(b) FROM t; 2045 ┌Iterate all rows of table "t" 2046 └Output field names ["i" "b"] 2047 ┌Evaluate i as "i", string(b) as "", 2048 └Output field names ["i" ""] 2049 2050 ---- 319 2051 SELECT i, string(b) FROM t; 2052 ┌Iterate all rows of table "t" 2053 └Output field names ["i" "b"] 2054 ┌Evaluate i as "i", string(b) as "", 2055 └Output field names ["i" ""] 2056 2057 ---- 320 2058 SELECT i, string(b) FROM t; 2059 ┌Iterate all rows of table "t" 2060 └Output field names ["i" "b"] 2061 ┌Evaluate i as "i", string(b) as "", 2062 └Output field names ["i" ""] 2063 2064 ---- 321 2065 SELECT i, string(b) FROM t; 2066 ┌Iterate all rows of table "t" 2067 └Output field names ["i" "b"] 2068 ┌Evaluate i as "i", string(b) as "", 2069 └Output field names ["i" ""] 2070 2071 ---- 322 2072 SELECT i, string(b) FROM t; 2073 ┌Iterate all rows of table "t" 2074 └Output field names ["i" "b"] 2075 ┌Evaluate i as "i", string(b) as "", 2076 └Output field names ["i" ""] 2077 2078 ---- 323 2079 SELECT * FROM t ORDER BY true, c, false; 2080 ┌Iterate all rows of table "t" 2081 └Output field names ["c"] 2082 ┌Order by true, c, false, 2083 └Output field names ["c"] 2084 2085 ---- 324 2086 SELECT c, sum(i) FROM t GROUP BY c; 2087 ┌Iterate all rows of table "t" 2088 └Output field names ["c" "i"] 2089 ┌Group by c, 2090 └Output field names ["c" "i"] 2091 ┌Evaluate c as "c", sum(i) as "", 2092 └Output field names ["c" ""] 2093 2094 ---- 325 2095 SELECT * FROM t ORDER BY 42, c, 24; 2096 ┌Iterate all rows of table "t" 2097 └Output field names ["c"] 2098 ┌Order by c, 2099 └Output field names ["c"] 2100 2101 ---- 326 2102 SELECT c, sum(i) FROM t GROUP BY c; 2103 ┌Iterate all rows of table "t" 2104 └Output field names ["c" "i"] 2105 ┌Group by c, 2106 └Output field names ["c" "i"] 2107 ┌Evaluate c as "c", sum(i) as "", 2108 └Output field names ["c" ""] 2109 2110 ---- 327 2111 SELECT * FROM t ORDER BY 42, c, 24; 2112 ┌Iterate all rows of table "t" 2113 └Output field names ["c"] 2114 ┌Order by c, 2115 └Output field names ["c"] 2116 2117 ---- 328 2118 SELECT c, sum(i) FROM t GROUP BY c; 2119 ┌Iterate all rows of table "t" 2120 └Output field names ["c" "i"] 2121 ┌Group by c, 2122 └Output field names ["c" "i"] 2123 ┌Evaluate c as "c", sum(i) as "", 2124 └Output field names ["c" ""] 2125 2126 ---- 329 2127 SELECT c, sum(i) FROM t GROUP BY c; 2128 ┌Iterate all rows of table "t" 2129 └Output field names ["c" "i"] 2130 ┌Group by c, 2131 └Output field names ["c" "i"] 2132 ┌Evaluate c as "c", sum(i) as "", 2133 └Output field names ["c" ""] 2134 2135 ---- 330 2136 SELECT * FROM t; 2137 ┌Iterate all rows of table "t" 2138 └Output field names ["c" "i"] 2139 2140 ---- 331 2141 SELECT c, sum(i) FROM t GROUP BY c; 2142 ┌Iterate all rows of table "t" 2143 └Output field names ["c" "i"] 2144 ┌Group by c, 2145 └Output field names ["c" "i"] 2146 ┌Evaluate c as "c", sum(i) as "", 2147 └Output field names ["c" ""] 2148 2149 ---- 332 2150 SELECT c, sum(i) FROM t GROUP BY c; 2151 ┌Iterate all rows of table "t" 2152 └Output field names ["c" "i"] 2153 ┌Group by c, 2154 └Output field names ["c" "i"] 2155 ┌Evaluate c as "c", sum(i) as "", 2156 └Output field names ["c" ""] 2157 2158 ---- 334 2159 SELECT * FROM t ORDER BY 15, c, 16; 2160 ┌Iterate all rows of table "t" 2161 └Output field names ["c"] 2162 ┌Order by c, 2163 └Output field names ["c"] 2164 2165 ---- 335 2166 SELECT c, sum(i) FROM t GROUP BY c; 2167 ┌Iterate all rows of table "t" 2168 └Output field names ["c" "i"] 2169 ┌Group by c, 2170 └Output field names ["c" "i"] 2171 ┌Evaluate c as "c", sum(i) as "", 2172 └Output field names ["c" ""] 2173 2174 ---- 337 2175 SELECT * FROM t ORDER BY 15, c, 16; 2176 ┌Iterate all rows of table "t" 2177 └Output field names ["c"] 2178 ┌Order by c, 2179 └Output field names ["c"] 2180 2181 ---- 338 2182 SELECT c, sum(i) FROM t GROUP BY c; 2183 ┌Iterate all rows of table "t" 2184 └Output field names ["c" "i"] 2185 ┌Group by c, 2186 └Output field names ["c" "i"] 2187 ┌Evaluate c as "c", sum(i) as "", 2188 └Output field names ["c" ""] 2189 2190 ---- 339 2191 SELECT * FROM t ORDER BY 15, c, 16; 2192 ┌Iterate all rows of table "t" 2193 └Output field names ["c"] 2194 ┌Order by c, 2195 └Output field names ["c"] 2196 2197 ---- 340 2198 SELECT c, sum(i) FROM t GROUP BY c; 2199 ┌Iterate all rows of table "t" 2200 └Output field names ["c" "i"] 2201 ┌Group by c, 2202 └Output field names ["c" "i"] 2203 ┌Evaluate c as "c", sum(i) as "", 2204 └Output field names ["c" ""] 2205 2206 ---- 341 2207 SELECT * FROM t ORDER BY 15, c, 16; 2208 ┌Iterate all rows of table "t" 2209 └Output field names ["c"] 2210 ┌Order by c, 2211 └Output field names ["c"] 2212 2213 ---- 342 2214 SELECT c, sum(i) FROM t GROUP BY c; 2215 ┌Iterate all rows of table "t" 2216 └Output field names ["c" "i"] 2217 ┌Group by c, 2218 └Output field names ["c" "i"] 2219 ┌Evaluate c as "c", sum(i) as "", 2220 └Output field names ["c" ""] 2221 2222 ---- 343 2223 SELECT * FROM t ORDER BY 15, c, 16; 2224 ┌Iterate all rows of table "t" 2225 └Output field names ["c"] 2226 ┌Order by c, 2227 └Output field names ["c"] 2228 2229 ---- 344 2230 SELECT c, sum(i) FROM t GROUP BY c; 2231 ┌Iterate all rows of table "t" 2232 └Output field names ["c" "i"] 2233 ┌Group by c, 2234 └Output field names ["c" "i"] 2235 ┌Evaluate c as "c", sum(i) as "", 2236 └Output field names ["c" ""] 2237 2238 ---- 345 2239 SELECT * FROM t ORDER BY 15, c, 16; 2240 ┌Iterate all rows of table "t" 2241 └Output field names ["c"] 2242 ┌Order by c, 2243 └Output field names ["c"] 2244 2245 ---- 346 2246 SELECT c, sum(i) FROM t GROUP BY c; 2247 ┌Iterate all rows of table "t" 2248 └Output field names ["c" "i"] 2249 ┌Group by c, 2250 └Output field names ["c" "i"] 2251 ┌Evaluate c as "c", sum(i) as "", 2252 └Output field names ["c" ""] 2253 2254 ---- 347 2255 SELECT * FROM t ORDER BY 15, c, 16; 2256 ┌Iterate all rows of table "t" 2257 └Output field names ["c"] 2258 ┌Order by c, 2259 └Output field names ["c"] 2260 2261 ---- 348 2262 SELECT c, sum(i) FROM t GROUP BY c; 2263 ┌Iterate all rows of table "t" 2264 └Output field names ["c" "i"] 2265 ┌Group by c, 2266 └Output field names ["c" "i"] 2267 ┌Evaluate c as "c", sum(i) as "", 2268 └Output field names ["c" ""] 2269 2270 ---- 349 2271 SELECT * FROM t ORDER BY 15, c, 16; 2272 ┌Iterate all rows of table "t" 2273 └Output field names ["c"] 2274 ┌Order by c, 2275 └Output field names ["c"] 2276 2277 ---- 350 2278 SELECT c, sum(i) FROM t GROUP BY c; 2279 ┌Iterate all rows of table "t" 2280 └Output field names ["c" "i"] 2281 ┌Group by c, 2282 └Output field names ["c" "i"] 2283 ┌Evaluate c as "c", sum(i) as "", 2284 └Output field names ["c" ""] 2285 2286 ---- 351 2287 SELECT * FROM t ORDER BY 15, c, 16; 2288 ┌Iterate all rows of table "t" 2289 └Output field names ["c"] 2290 ┌Order by c, 2291 └Output field names ["c"] 2292 2293 ---- 352 2294 SELECT c, sum(i) FROM t GROUP BY c; 2295 ┌Iterate all rows of table "t" 2296 └Output field names ["c" "i"] 2297 ┌Group by c, 2298 └Output field names ["c" "i"] 2299 ┌Evaluate c as "c", sum(i) as "", 2300 └Output field names ["c" ""] 2301 2302 ---- 353 2303 SELECT * FROM t ORDER BY 15, c, 16; 2304 ┌Iterate all rows of table "t" 2305 └Output field names ["c"] 2306 ┌Order by c, 2307 └Output field names ["c"] 2308 2309 ---- 354 2310 SELECT c, sum(i) FROM t GROUP BY c; 2311 ┌Iterate all rows of table "t" 2312 └Output field names ["c" "i"] 2313 ┌Group by c, 2314 └Output field names ["c" "i"] 2315 ┌Evaluate c as "c", sum(i) as "", 2316 └Output field names ["c" ""] 2317 2318 ---- 355 2319 SELECT * FROM t ORDER BY 15, c, 16; 2320 ┌Iterate all rows of table "t" 2321 └Output field names ["c"] 2322 ┌Order by c, 2323 └Output field names ["c"] 2324 2325 ---- 356 2326 SELECT c, sum(i) FROM t GROUP BY c; 2327 ┌Iterate all rows of table "t" 2328 └Output field names ["c" "i"] 2329 ┌Group by c, 2330 └Output field names ["c" "i"] 2331 ┌Evaluate c as "c", sum(i) as "", 2332 └Output field names ["c" ""] 2333 2334 ---- 357 2335 SELECT * FROM t ORDER BY 15, c, 16; 2336 ┌Iterate all rows of table "t" 2337 └Output field names ["c"] 2338 ┌Order by c, 2339 └Output field names ["c"] 2340 2341 ---- 358 2342 SELECT c, sum(i) FROM t GROUP BY c; 2343 ┌Iterate all rows of table "t" 2344 └Output field names ["c" "i"] 2345 ┌Group by c, 2346 └Output field names ["c" "i"] 2347 ┌Evaluate c as "c", sum(i) as "", 2348 └Output field names ["c" ""] 2349 2350 ---- 359 2351 SELECT * FROM t ORDER BY 15, c, 16; 2352 ┌Iterate all rows of table "t" 2353 └Output field names ["c"] 2354 ┌Order by c, 2355 └Output field names ["c"] 2356 2357 ---- 360 2358 SELECT c, sum(i) FROM t GROUP BY c; 2359 ┌Iterate all rows of table "t" 2360 └Output field names ["c" "i"] 2361 ┌Group by c, 2362 └Output field names ["c" "i"] 2363 ┌Evaluate c as "c", sum(i) as "", 2364 └Output field names ["c" ""] 2365 2366 ---- 361 2367 SELECT * FROM t ORDER BY 15, c, 16; 2368 ┌Iterate all rows of table "t" 2369 └Output field names ["c"] 2370 ┌Order by c, 2371 └Output field names ["c"] 2372 2373 ---- 362 2374 SELECT c, sum(i) FROM t GROUP BY c; 2375 ┌Iterate all rows of table "t" 2376 └Output field names ["c" "i"] 2377 ┌Group by c, 2378 └Output field names ["c" "i"] 2379 ┌Evaluate c as "c", sum(i) as "", 2380 └Output field names ["c" ""] 2381 2382 ---- 363 2383 SELECT * FROM t ORDER BY 15, c, 16; 2384 ┌Iterate all rows of table "t" 2385 └Output field names ["c"] 2386 ┌Order by c, 2387 └Output field names ["c"] 2388 2389 ---- 364 2390 SELECT c, sum(i) FROM t GROUP BY c; 2391 ┌Iterate all rows of table "t" 2392 └Output field names ["c" "i"] 2393 ┌Group by c, 2394 └Output field names ["c" "i"] 2395 ┌Evaluate c as "c", sum(i) as "", 2396 └Output field names ["c" ""] 2397 2398 ---- 365 2399 SELECT * FROM t ORDER BY 15, c, 16; 2400 ┌Iterate all rows of table "t" 2401 └Output field names ["c"] 2402 ┌Order by c, 2403 └Output field names ["c"] 2404 2405 ---- 366 2406 SELECT c, sum(i) FROM t GROUP BY c; 2407 ┌Iterate all rows of table "t" 2408 └Output field names ["c" "i"] 2409 ┌Group by c, 2410 └Output field names ["c" "i"] 2411 ┌Evaluate c as "c", sum(i) as "", 2412 └Output field names ["c" ""] 2413 2414 ---- 367 2415 SELECT * FROM t; 2416 ┌Iterate all rows of table "t" 2417 └Output field names ["c" "i"] 2418 2419 ---- 368 2420 SELECT * FROM t; 2421 ┌Iterate all rows of table "t" 2422 └Output field names ["c" "i"] 2423 2424 ---- 369 2425 SELECT * FROM t; 2426 ┌Iterate all rows of table "t" 2427 └Output field names ["c" "i"] 2428 2429 ---- 370 2430 SELECT * FROM t; 2431 ┌Iterate all rows of table "t" 2432 └Output field names ["i"] 2433 2434 ---- 371 2435 SELECT * FROM t; 2436 ┌Iterate all rows of table "t" 2437 └Output field names ["i"] 2438 2439 ---- 372 2440 SELECT * FROM t; 2441 ┌Iterate all rows of table "t" 2442 └Output field names ["i"] 2443 2444 ---- 373 2445 SELECT * FROM t; 2446 ┌Iterate all rows of table "t" 2447 └Output field names ["i"] 2448 2449 ---- 374 2450 SELECT * FROM t; 2451 ┌Iterate all rows of table "t" 2452 └Output field names ["i"] 2453 2454 ---- 375 2455 SELECT * FROM t; 2456 ┌Iterate all rows of table "t" 2457 └Output field names ["i"] 2458 2459 ---- 376 2460 SELECT * FROM t; 2461 ┌Iterate all rows of table "t" 2462 └Output field names ["i"] 2463 2464 ---- 377 2465 SELECT * FROM t; 2466 ┌Iterate all rows of table "t" 2467 └Output field names ["i"] 2468 2469 ---- 378 2470 SELECT * FROM t; 2471 ┌Iterate all rows of table "t" 2472 └Output field names ["i"] 2473 2474 ---- 379 2475 SELECT * FROM t ORDER BY 15, c, 16; 2476 ┌Iterate all rows of table "t" 2477 └Output field names ["c"] 2478 ┌Order by c, 2479 └Output field names ["c"] 2480 2481 ---- 380 2482 SELECT c, sum(i) FROM t GROUP BY c; 2483 ┌Iterate all rows of table "t" 2484 └Output field names ["c" "i"] 2485 ┌Group by c, 2486 └Output field names ["c" "i"] 2487 ┌Evaluate c as "c", sum(i) as "", 2488 └Output field names ["c" ""] 2489 2490 ---- 381 2491 SELECT * FROM t WHERE c > 100 ORDER BY c DESC; 2492 ┌Iterate all rows of table "t" 2493 └Output field names ["c"] 2494 ┌Filter on c > 100 2495 │Possibly useful indices 2496 │CREATE INDEX xt_c ON t(c); 2497 └Output field names ["c"] 2498 ┌Order descending by c, 2499 └Output field names ["c"] 2500 2501 ---- 382 2502 SELECT * FROM t WHERE c < 110 ORDER BY c; 2503 ┌Iterate all rows of table "t" 2504 └Output field names ["c"] 2505 ┌Filter on c < 110 2506 │Possibly useful indices 2507 │CREATE INDEX xt_c ON t(c); 2508 └Output field names ["c"] 2509 ┌Order by c, 2510 └Output field names ["c"] 2511 2512 ---- 383 2513 SELECT * FROM t WHERE c <= 110 ORDER BY c; 2514 ┌Iterate all rows of table "t" 2515 └Output field names ["c"] 2516 ┌Filter on c <= 110 2517 │Possibly useful indices 2518 │CREATE INDEX xt_c ON t(c); 2519 └Output field names ["c"] 2520 ┌Order by c, 2521 └Output field names ["c"] 2522 2523 ---- 384 2524 SELECT * FROM t WHERE c >= 110 ORDER BY c; 2525 ┌Iterate all rows of table "t" 2526 └Output field names ["c"] 2527 ┌Filter on c >= 110 2528 │Possibly useful indices 2529 │CREATE INDEX xt_c ON t(c); 2530 └Output field names ["c"] 2531 ┌Order by c, 2532 └Output field names ["c"] 2533 2534 ---- 385 2535 SELECT * FROM t WHERE c != 110 ORDER BY c; 2536 ┌Iterate all rows of table "t" 2537 └Output field names ["c"] 2538 ┌Filter on c != 110 2539 │Possibly useful indices 2540 │CREATE INDEX xt_c ON t(c); 2541 └Output field names ["c"] 2542 ┌Order by c, 2543 └Output field names ["c"] 2544 2545 ---- 386 2546 SELECT * FROM t WHERE c == 110 ORDER BY c; 2547 ┌Iterate all rows of table "t" 2548 └Output field names ["c"] 2549 ┌Filter on c == 110 2550 │Possibly useful indices 2551 │CREATE INDEX xt_c ON t(c); 2552 └Output field names ["c"] 2553 ┌Order by c, 2554 └Output field names ["c"] 2555 2556 ---- 387 2557 SELECT c + 1000 AS s FROM t ORDER BY s; 2558 ┌Iterate all rows of table "t" 2559 └Output field names ["c"] 2560 ┌Evaluate c + 1000 as "s", 2561 └Output field names ["s"] 2562 ┌Order by s, 2563 └Output field names ["s"] 2564 2565 ---- 388 2566 SELECT 1000 - c AS s FROM t ORDER BY s; 2567 ┌Iterate all rows of table "t" 2568 └Output field names ["c"] 2569 ┌Evaluate 1000 - c as "s", 2570 └Output field names ["s"] 2571 ┌Order by s, 2572 └Output field names ["s"] 2573 2574 ---- 389 2575 SELECT c >> 1 AS s FROM t ORDER BY s; 2576 ┌Iterate all rows of table "t" 2577 └Output field names ["c"] 2578 ┌Evaluate c >> 1 as "s", 2579 └Output field names ["s"] 2580 ┌Order by s, 2581 └Output field names ["s"] 2582 2583 ---- 390 2584 SELECT c << 1 AS s FROM t ORDER BY s; 2585 ┌Iterate all rows of table "t" 2586 └Output field names ["c"] 2587 ┌Evaluate c << 1 as "s", 2588 └Output field names ["s"] 2589 ┌Order by s, 2590 └Output field names ["s"] 2591 2592 ---- 391 2593 SELECT * FROM t WHERE c & 349525 == 70992; 2594 ┌Iterate all rows of table "t" 2595 └Output field names ["c"] 2596 ┌Filter on c & 349525 == 70992 2597 └Output field names ["c"] 2598 2599 ---- 392 2600 SELECT * FROM t WHERE c | 349525 == 358389; 2601 ┌Iterate all rows of table "t" 2602 └Output field names ["c"] 2603 ┌Filter on c | 349525 == 358389 2604 └Output field names ["c"] 2605 2606 ---- 393 2607 SELECT * FROM t WHERE c &^ 349525 == 8864; 2608 ┌Iterate all rows of table "t" 2609 └Output field names ["c"] 2610 ┌Filter on c &^ 349525 == 8864 2611 └Output field names ["c"] 2612 2613 ---- 394 2614 SELECT * FROM t WHERE c ^ 349525 == 287397; 2615 ┌Iterate all rows of table "t" 2616 └Output field names ["c"] 2617 ┌Filter on c ^ 349525 == 287397 2618 └Output field names ["c"] 2619 2620 ---- 395 2621 SELECT * FROM t WHERE c % 256 == 240; 2622 ┌Iterate all rows of table "t" 2623 └Output field names ["c"] 2624 ┌Filter on c % 256 == 240 2625 └Output field names ["c"] 2626 2627 ---- 396 2628 SELECT * FROM t WHERE c * 16 == 1277696; 2629 ┌Iterate all rows of table "t" 2630 └Output field names ["c"] 2631 ┌Filter on c * 16 == 1277696 2632 └Output field names ["c"] 2633 2634 ---- 397 2635 SELECT * FROM t WHERE ^c == -79857; 2636 ┌Iterate all rows of table "t" 2637 └Output field names ["c"] 2638 ┌Filter on ^c == -79857 2639 └Output field names ["c"] 2640 2641 ---- 398 2642 SELECT * FROM t WHERE +c == 79856; 2643 ┌Iterate all rows of table "t" 2644 └Output field names ["c"] 2645 ┌Filter on +c == 79856 2646 └Output field names ["c"] 2647 2648 ---- 399 2649 SELECT * FROM t WHERE -c == -79856; 2650 ┌Iterate all rows of table "t" 2651 └Output field names ["c"] 2652 ┌Filter on -c == -79856 2653 └Output field names ["c"] 2654 2655 ---- 400 2656 SELECT * FROM t ORDER BY 15, c, 16; 2657 ┌Iterate all rows of table "t" 2658 └Output field names ["c"] 2659 ┌Order by c, 2660 └Output field names ["c"] 2661 2662 ---- 401 2663 SELECT c, sum(i) FROM t GROUP BY c; 2664 ┌Iterate all rows of table "t" 2665 └Output field names ["c" "i"] 2666 ┌Group by c, 2667 └Output field names ["c" "i"] 2668 ┌Evaluate c as "c", sum(i) as "", 2669 └Output field names ["c" ""] 2670 2671 ---- 402 2672 SELECT * FROM t ORDER BY 15, c, 16; 2673 ┌Iterate all rows of table "t" 2674 └Output field names ["c"] 2675 ┌Order by c, 2676 └Output field names ["c"] 2677 2678 ---- 403 2679 SELECT * FROM t ORDER BY 15, c, 16; 2680 ┌Iterate all rows of table "t" 2681 └Output field names ["c"] 2682 ┌Order by c, 2683 └Output field names ["c"] 2684 2685 ---- 404 2686 SELECT * FROM t; 2687 ┌Iterate all rows of table "t" 2688 └Output field names ["c"] 2689 2690 ---- 405 2691 SELECT * FROM t; 2692 ┌Iterate all rows of table "t" 2693 └Output field names ["c"] 2694 2695 ---- 406 2696 SELECT * FROM t; 2697 ┌Iterate all rows of table "t" 2698 └Output field names ["c"] 2699 2700 ---- 407 2701 SELECT c / d FROM t; 2702 ┌Iterate all rows of table "t" 2703 └Output field names ["c" "d"] 2704 ┌Evaluate c / d as "", 2705 └Output field names [""] 2706 2707 ---- 408 2708 SELECT c % d FROM t; 2709 ┌Iterate all rows of table "t" 2710 └Output field names ["c" "d"] 2711 ┌Evaluate c % d as "", 2712 └Output field names [""] 2713 2714 ---- 409 2715 SELECT c == d FROM t; 2716 ┌Iterate all rows of table "t" 2717 └Output field names ["c" "d"] 2718 ┌Evaluate c == d as "", 2719 └Output field names [""] 2720 2721 ---- 410 2722 SELECT c == d FROM t; 2723 ┌Iterate all rows of table "t" 2724 └Output field names ["c" "d"] 2725 ┌Evaluate c == d as "", 2726 └Output field names [""] 2727 2728 ---- 411 2729 SELECT c != d FROM t; 2730 ┌Iterate all rows of table "t" 2731 └Output field names ["c" "d"] 2732 ┌Evaluate c != d as "", 2733 └Output field names [""] 2734 2735 ---- 412 2736 SELECT c != d FROM t; 2737 ┌Iterate all rows of table "t" 2738 └Output field names ["c" "d"] 2739 ┌Evaluate c != d as "", 2740 └Output field names [""] 2741 2742 ---- 413 2743 SELECT c < d FROM t; 2744 ┌Iterate all rows of table "t" 2745 └Output field names ["c" "d"] 2746 ┌Evaluate c < d as "", 2747 └Output field names [""] 2748 2749 ---- 414 2750 SELECT c < d FROM t; 2751 ┌Iterate all rows of table "t" 2752 └Output field names ["c" "d"] 2753 ┌Evaluate c < d as "", 2754 └Output field names [""] 2755 2756 ---- 415 2757 SELECT c <= d FROM t; 2758 ┌Iterate all rows of table "t" 2759 └Output field names ["c" "d"] 2760 ┌Evaluate c <= d as "", 2761 └Output field names [""] 2762 2763 ---- 416 2764 SELECT c <= d FROM t; 2765 ┌Iterate all rows of table "t" 2766 └Output field names ["c" "d"] 2767 ┌Evaluate c <= d as "", 2768 └Output field names [""] 2769 2770 ---- 417 2771 SELECT c > d FROM t; 2772 ┌Iterate all rows of table "t" 2773 └Output field names ["c" "d"] 2774 ┌Evaluate c > d as "", 2775 └Output field names [""] 2776 2777 ---- 418 2778 SELECT c > d FROM t; 2779 ┌Iterate all rows of table "t" 2780 └Output field names ["c" "d"] 2781 ┌Evaluate c > d as "", 2782 └Output field names [""] 2783 2784 ---- 419 2785 SELECT c >= d FROM t; 2786 ┌Iterate all rows of table "t" 2787 └Output field names ["c" "d"] 2788 ┌Evaluate c >= d as "", 2789 └Output field names [""] 2790 2791 ---- 420 2792 SELECT c >= d FROM t; 2793 ┌Iterate all rows of table "t" 2794 └Output field names ["c" "d"] 2795 ┌Evaluate c >= d as "", 2796 └Output field names [""] 2797 2798 ---- 421 2799 SELECT c / d FROM t; 2800 ┌Iterate all rows of table "t" 2801 └Output field names ["c" "d"] 2802 ┌Evaluate c / d as "", 2803 └Output field names [""] 2804 2805 ---- 422 2806 SELECT c / d FROM t; 2807 ┌Iterate all rows of table "t" 2808 └Output field names ["c" "d"] 2809 ┌Evaluate c / d as "", 2810 └Output field names [""] 2811 2812 ---- 424 2813 SELECT +c, -d FROM t; 2814 ┌Iterate all rows of table "t" 2815 └Output field names ["c" "d"] 2816 ┌Evaluate +c as "", -d as "", 2817 └Output field names ["" ""] 2818 2819 ---- 425 2820 SELECT 1 + c, d + 1, 1.5 + c, d + 1.5 FROM t; 2821 ┌Iterate all rows of table "t" 2822 └Output field names ["c" "d"] 2823 ┌Evaluate 1 + c as "", d + 1 as "", 1.5 + c as "", d + 1.5 as "", 2824 └Output field names ["" "" "" ""] 2825 2826 ---- 426 2827 SELECT float64(c) FROM t; 2828 ┌Iterate all rows of table "t" 2829 └Output field names ["c"] 2830 ┌Evaluate float64(c) as "", 2831 └Output field names [""] 2832 2833 ---- 427 2834 SELECT formatTime(timeIn(c, "UTC"), "2006-01-02 15:04:05.999999999 -0700") FROM t; 2835 ┌Iterate all rows of table "t" 2836 └Output field names ["c"] 2837 ┌Evaluate formatTime(timeIn(c, "UTC"), "2006-01-02 15:04:05.999999999 -0700") as "", 2838 └Output field names [""] 2839 2840 ---- 428 2841 SELECT c, string(c) FROM t ORDER BY c; 2842 ┌Iterate all rows of table "t" 2843 └Output field names ["c"] 2844 ┌Evaluate c as "c", string(c) as "", 2845 └Output field names ["c" ""] 2846 ┌Order by c, 2847 └Output field names ["c" ""] 2848 2849 ---- 429 2850 SELECT since(c) > duration("24h0m0s") FROM t; 2851 ┌Iterate all rows of table "t" 2852 └Output field names ["c"] 2853 ┌Evaluate since(c) > duration("24h0m0s") as "", 2854 └Output field names [""] 2855 2856 ---- 430 2857 SELECT since(c) >= duration("24h0m0s") FROM t; 2858 ┌Iterate all rows of table "t" 2859 └Output field names ["c"] 2860 ┌Evaluate since(c) >= duration("24h0m0s") as "", 2861 └Output field names [""] 2862 2863 ---- 431 2864 SELECT a > a, a > b, a > c, b > a, b > b, b > c, c > a, c > b, c > c FROM t; 2865 ┌Iterate all rows of table "t" 2866 └Output field names ["a" "b" "c"] 2867 ┌Evaluate a > a as "", a > b as "", a > c as "", b > a as "", b > b as "", b > c as "", c > a as "", c > b as "", c > c as "", 2868 └Output field names ["" "" "" "" "" "" "" "" ""] 2869 2870 ---- 432 2871 SELECT a < a, a < b, a < c, b < a, b < b, b < c, c < a, c < b, c < c FROM t; 2872 ┌Iterate all rows of table "t" 2873 └Output field names ["a" "b" "c"] 2874 ┌Evaluate a < a as "", a < b as "", a < c as "", b < a as "", b < b as "", b < c as "", c < a as "", c < b as "", c < c as "", 2875 └Output field names ["" "" "" "" "" "" "" "" ""] 2876 2877 ---- 433 2878 SELECT a <= a, a <= b, a <= c, b <= a, b <= b, b <= c, c <= a, c <= b, c <= c FROM t; 2879 ┌Iterate all rows of table "t" 2880 └Output field names ["a" "b" "c"] 2881 ┌Evaluate a <= a as "", a <= b as "", a <= c as "", b <= a as "", b <= b as "", b <= c as "", c <= a as "", c <= b as "", c <= c as "", 2882 └Output field names ["" "" "" "" "" "" "" "" ""] 2883 2884 ---- 434 2885 SELECT a >= a, a >= b, a >= c, b >= a, b >= b, b >= c, c >= a, c >= b, c >= c FROM t; 2886 ┌Iterate all rows of table "t" 2887 └Output field names ["a" "b" "c"] 2888 ┌Evaluate a >= a as "", a >= b as "", a >= c as "", b >= a as "", b >= b as "", b >= c as "", c >= a as "", c >= b as "", c >= c as "", 2889 └Output field names ["" "" "" "" "" "" "" "" ""] 2890 2891 ---- 435 2892 SELECT a != a, a != b, a != c, b != a, b != b, b != c, c != a, c != b, c != c FROM t; 2893 ┌Iterate all rows of table "t" 2894 └Output field names ["a" "b" "c"] 2895 ┌Evaluate a != a as "", a != b as "", a != c as "", b != a as "", b != b as "", b != c as "", c != a as "", c != b as "", c != c as "", 2896 └Output field names ["" "" "" "" "" "" "" "" ""] 2897 2898 ---- 436 2899 SELECT a == a, a == b, a == c, b == a, b == b, b == c, c == a, c == b, c == c FROM t; 2900 ┌Iterate all rows of table "t" 2901 └Output field names ["a" "b" "c"] 2902 ┌Evaluate a == a as "", a == b as "", a == c as "", b == a as "", b == b as "", b == c as "", c == a as "", c == b as "", c == c as "", 2903 └Output field names ["" "" "" "" "" "" "" "" ""] 2904 2905 ---- 437 2906 SELECT b + c, a + c, a + b, a + b + c FROM t; 2907 ┌Iterate all rows of table "t" 2908 └Output field names ["a" "b" "c"] 2909 ┌Evaluate b + c as "", a + c as "", a + b as "", a + b + c as "", 2910 └Output field names ["" "" "" ""] 2911 2912 ---- 438 2913 SELECT b - c, a - c, a - b, a - b - c FROM t; 2914 ┌Iterate all rows of table "t" 2915 └Output field names ["a" "b" "c"] 2916 ┌Evaluate b - c as "", a - c as "", a - b as "", a - b - c as "", 2917 └Output field names ["" "" "" ""] 2918 2919 ---- 439 2920 SELECT a >> 1, b >> 1, c >> 1 FROM t; 2921 ┌Iterate all rows of table "t" 2922 └Output field names ["a" "b" "c"] 2923 ┌Evaluate a >> 1 as "", b >> 1 as "", c >> 1 as "", 2924 └Output field names ["" "" ""] 2925 2926 ---- 440 2927 SELECT a << 1, b << 1, c << 1 FROM t; 2928 ┌Iterate all rows of table "t" 2929 └Output field names ["a" "b" "c"] 2930 ┌Evaluate a << 1 as "", b << 1 as "", c << 1 as "", 2931 └Output field names ["" "" ""] 2932 2933 ---- 441 2934 SELECT a & 255 FROM t; 2935 ┌Iterate all rows of table "t" 2936 └Output field names ["a"] 2937 ┌Evaluate a & 255 as "", 2938 └Output field names [""] 2939 2940 ---- 442 2941 SELECT a | 256 FROM t; 2942 ┌Iterate all rows of table "t" 2943 └Output field names ["a"] 2944 ┌Evaluate a | 256 as "", 2945 └Output field names [""] 2946 2947 ---- 443 2948 SELECT a &^ 3376 FROM t; 2949 ┌Iterate all rows of table "t" 2950 └Output field names ["a"] 2951 ┌Evaluate a &^ 3376 as "", 2952 └Output field names [""] 2953 2954 ---- 444 2955 SELECT a % duration("2h0m0s"), a % duration("1m0s") FROM t; 2956 ┌Iterate all rows of table "t" 2957 └Output field names ["a"] 2958 ┌Evaluate a % duration("2h0m0s") as "", a % duration("1m0s") as "", 2959 └Output field names ["" ""] 2960 2961 ---- 445 2962 SELECT a / 2, b / 2, c / 2 FROM t; 2963 ┌Iterate all rows of table "t" 2964 └Output field names ["a" "b" "c"] 2965 ┌Evaluate a / 2 as "", b / 2 as "", c / 2 as "", 2966 └Output field names ["" "" ""] 2967 2968 ---- 446 2969 SELECT a * 2, 2 * b, c * 2 FROM t; 2970 ┌Iterate all rows of table "t" 2971 └Output field names ["a" "b" "c"] 2972 ┌Evaluate a * 2 as "", 2 * b as "", c * 2 as "", 2973 └Output field names ["" "" ""] 2974 2975 ---- 447 2976 SELECT ^a, ^b, ^c FROM t; 2977 ┌Iterate all rows of table "t" 2978 └Output field names ["a" "b" "c"] 2979 ┌Evaluate ^a as "", ^b as "", ^c as "", 2980 └Output field names ["" "" ""] 2981 2982 ---- 448 2983 SELECT +a, +b, +c FROM t; 2984 ┌Iterate all rows of table "t" 2985 └Output field names ["a" "b" "c"] 2986 ┌Evaluate +a as "", +b as "", +c as "", 2987 └Output field names ["" "" ""] 2988 2989 ---- 449 2990 SELECT -a, -b, -c FROM t; 2991 ┌Iterate all rows of table "t" 2992 └Output field names ["a" "b" "c"] 2993 ┌Evaluate -a as "", -b as "", -c as "", 2994 └Output field names ["" "" ""] 2995 2996 ---- 450 2997 SELECT a > a, a > b, a > c, b > a, b > b, b > c, c > a, c > b, c > c FROM t; 2998 ┌Iterate all rows of table "t" 2999 └Output field names ["a" "b" "c"] 3000 ┌Evaluate a > a as "", a > b as "", a > c as "", b > a as "", b > b as "", b > c as "", c > a as "", c > b as "", c > c as "", 3001 └Output field names ["" "" "" "" "" "" "" "" ""] 3002 3003 ---- 451 3004 SELECT a < a, a < b, a < c, b < a, b < b, b < c, c < a, c < b, c < c FROM t; 3005 ┌Iterate all rows of table "t" 3006 └Output field names ["a" "b" "c"] 3007 ┌Evaluate a < a as "", a < b as "", a < c as "", b < a as "", b < b as "", b < c as "", c < a as "", c < b as "", c < c as "", 3008 └Output field names ["" "" "" "" "" "" "" "" ""] 3009 3010 ---- 452 3011 SELECT a <= a, a <= b, a <= c, b <= a, b <= b, b <= c, c <= a, c <= b, c <= c FROM t; 3012 ┌Iterate all rows of table "t" 3013 └Output field names ["a" "b" "c"] 3014 ┌Evaluate a <= a as "", a <= b as "", a <= c as "", b <= a as "", b <= b as "", b <= c as "", c <= a as "", c <= b as "", c <= c as "", 3015 └Output field names ["" "" "" "" "" "" "" "" ""] 3016 3017 ---- 453 3018 SELECT a >= a, a >= b, a >= c, b >= a, b >= b, b >= c, c >= a, c >= b, c >= c FROM t; 3019 ┌Iterate all rows of table "t" 3020 └Output field names ["a" "b" "c"] 3021 ┌Evaluate a >= a as "", a >= b as "", a >= c as "", b >= a as "", b >= b as "", b >= c as "", c >= a as "", c >= b as "", c >= c as "", 3022 └Output field names ["" "" "" "" "" "" "" "" ""] 3023 3024 ---- 454 3025 SELECT a != a, a != b, a != c, b != a, b != b, b != c, c != a, c != b, c != c FROM t; 3026 ┌Iterate all rows of table "t" 3027 └Output field names ["a" "b" "c"] 3028 ┌Evaluate a != a as "", a != b as "", a != c as "", b != a as "", b != b as "", b != c as "", c != a as "", c != b as "", c != c as "", 3029 └Output field names ["" "" "" "" "" "" "" "" ""] 3030 3031 ---- 455 3032 SELECT a == a, a == b, a == c, b == a, b == b, b == c, c == a, c == b, c == c FROM t; 3033 ┌Iterate all rows of table "t" 3034 └Output field names ["a" "b" "c"] 3035 ┌Evaluate a == a as "", a == b as "", a == c as "", b == a as "", b == b as "", b == c as "", c == a as "", c == b as "", c == c as "", 3036 └Output field names ["" "" "" "" "" "" "" "" ""] 3037 3038 ---- 456 3039 SELECT formatTime(timeIn(a + b, "UTC"), "2006-01-02 15:04:05.999999999 -0700") FROM t; 3040 ┌Iterate all rows of table "t" 3041 └Output field names ["a" "b"] 3042 ┌Evaluate formatTime(timeIn(a + b, "UTC"), "2006-01-02 15:04:05.999999999 -0700") as "", 3043 └Output field names [""] 3044 3045 ---- 457 3046 SELECT formatTime(timeIn(b + a, "UTC"), "2006-01-02 15:04:05.999999999 -0700") FROM t; 3047 ┌Iterate all rows of table "t" 3048 └Output field names ["a" "b"] 3049 ┌Evaluate formatTime(timeIn(b + a, "UTC"), "2006-01-02 15:04:05.999999999 -0700") as "", 3050 └Output field names [""] 3051 3052 ---- 458 3053 SELECT a + a FROM t; 3054 ┌Iterate all rows of table "t" 3055 └Output field names ["a" "b"] 3056 ┌Evaluate a + a as "", 3057 └Output field names [""] 3058 3059 ---- 459 3060 SELECT a - b FROM t; 3061 ┌Iterate all rows of table "t" 3062 └Output field names ["a" "b"] 3063 ┌Evaluate a - b as "", 3064 └Output field names [""] 3065 3066 ---- 460 3067 SELECT formatTime(timeIn(a - b, "UTC"), "2006-01-02 15:04:05.999999999 -0700") FROM t; 3068 ┌Iterate all rows of table "t" 3069 └Output field names ["a" "b"] 3070 ┌Evaluate formatTime(timeIn(a - b, "UTC"), "2006-01-02 15:04:05.999999999 -0700") as "", 3071 └Output field names [""] 3072 3073 ---- 461 3074 SELECT b - a FROM t; 3075 ┌Iterate all rows of table "t" 3076 └Output field names ["a" "b"] 3077 ┌Evaluate b - a as "", 3078 └Output field names [""] 3079 3080 ---- 462 3081 SELECT hours(a), minutes(a), seconds(a), nanoseconds(a) FROM t; 3082 ┌Iterate all rows of table "t" 3083 └Output field names ["a"] 3084 ┌Evaluate hours(a) as "", minutes(a) as "", seconds(a) as "", nanoseconds(a) as "", 3085 └Output field names ["" "" "" ""] 3086 3087 ---- 463 3088 SELECT a < now(), a < now(), a >= now(), a >= now() FROM t; 3089 ┌Iterate all rows of table "t" 3090 └Output field names ["a"] 3091 ┌Evaluate a < now() as "", a < now() as "", a >= now() as "", a >= now() as "", 3092 └Output field names ["" "" "" ""] 3093 3094 ---- 464 3095 SELECT formatTime(timeIn(a, "UTC"), "2006-01-02 15:04:05.999999999 -0700") AS a FROM t ORDER BY a; 3096 ┌Iterate all rows of table "t" 3097 └Output field names ["a"] 3098 ┌Evaluate formatTime(timeIn(a, "UTC"), "2006-01-02 15:04:05.999999999 -0700") as "a", 3099 └Output field names ["a"] 3100 ┌Order by a, 3101 └Output field names ["a"] 3102 3103 ---- 465 3104 SELECT hour(timeIn(a, "UTC")) AS y FROM t ORDER BY y; 3105 ┌Iterate all rows of table "t" 3106 └Output field names ["a"] 3107 ┌Evaluate hour(timeIn(a, "UTC")) as "y", 3108 └Output field names ["y"] 3109 ┌Order by y, 3110 └Output field names ["y"] 3111 3112 ---- 466 3113 SELECT minute(a) AS y FROM t ORDER BY y; 3114 ┌Iterate all rows of table "t" 3115 └Output field names ["a"] 3116 ┌Evaluate minute(a) as "y", 3117 └Output field names ["y"] 3118 ┌Order by y, 3119 └Output field names ["y"] 3120 3121 ---- 467 3122 SELECT second(a) AS y FROM t ORDER BY y; 3123 ┌Iterate all rows of table "t" 3124 └Output field names ["a"] 3125 ┌Evaluate second(a) as "y", 3126 └Output field names ["y"] 3127 ┌Order by y, 3128 └Output field names ["y"] 3129 3130 ---- 468 3131 SELECT nanosecond(a) AS y FROM t ORDER BY y; 3132 ┌Iterate all rows of table "t" 3133 └Output field names ["a"] 3134 ┌Evaluate nanosecond(a) as "y", 3135 └Output field names ["y"] 3136 ┌Order by y, 3137 └Output field names ["y"] 3138 3139 ---- 469 3140 SELECT year(a) AS y FROM t ORDER BY y; 3141 ┌Iterate all rows of table "t" 3142 └Output field names ["a"] 3143 ┌Evaluate year(a) as "y", 3144 └Output field names ["y"] 3145 ┌Order by y, 3146 └Output field names ["y"] 3147 3148 ---- 470 3149 SELECT day(a) AS y FROM t ORDER BY y; 3150 ┌Iterate all rows of table "t" 3151 └Output field names ["a"] 3152 ┌Evaluate day(a) as "y", 3153 └Output field names ["y"] 3154 ┌Order by y, 3155 └Output field names ["y"] 3156 3157 ---- 471 3158 SELECT month(a) AS y FROM t ORDER BY y; 3159 ┌Iterate all rows of table "t" 3160 └Output field names ["a"] 3161 ┌Evaluate month(a) as "y", 3162 └Output field names ["y"] 3163 ┌Order by y, 3164 └Output field names ["y"] 3165 3166 ---- 472 3167 SELECT weekday(a) AS y FROM t ORDER BY y; 3168 ┌Iterate all rows of table "t" 3169 └Output field names ["a"] 3170 ┌Evaluate weekday(a) as "y", 3171 └Output field names ["y"] 3172 ┌Order by y, 3173 └Output field names ["y"] 3174 3175 ---- 473 3176 SELECT yearDay(a) AS y FROM t ORDER BY y; 3177 ┌Iterate all rows of table "t" 3178 └Output field names ["a"] 3179 ┌Evaluate yearDay(a) as "y", 3180 └Output field names ["y"] 3181 ┌Order by y, 3182 └Output field names ["y"] 3183 3184 ---- 474 3185 SELECT timeIn(a, ""), timeIn(a, "UTC") AS y FROM t ORDER BY y; 3186 ┌Iterate all rows of table "t" 3187 └Output field names ["a"] 3188 ┌Evaluate timeIn(a, "") as "", timeIn(a, "UTC") as "y", 3189 └Output field names ["" "y"] 3190 ┌Order by y, 3191 └Output field names ["" "y"] 3192 3193 ---- 475 3194 SELECT formatTime(timeIn(a, "UTC"), "Jan 2, 2006 at 3:04pm (UTC)") AS y FROM t ORDER BY y; 3195 ┌Iterate all rows of table "t" 3196 └Output field names ["a"] 3197 ┌Evaluate formatTime(timeIn(a, "UTC"), "Jan 2, 2006 at 3:04pm (UTC)") as "y", 3198 └Output field names ["y"] 3199 ┌Order by y, 3200 └Output field names ["y"] 3201 3202 ---- 478 3203 SELECT a, b, formatTime(timeIn(t, "UTC"), "2006-01-02 15:04:05.999999999 -0700") AS t FROM t; 3204 ┌Iterate all rows of table "t" 3205 └Output field names ["a" "b" "t"] 3206 ┌Evaluate a as "a", b as "b", formatTime(timeIn(t, "UTC"), "2006-01-02 15:04:05.999999999 -0700") as "t", 3207 └Output field names ["a" "b" "t"] 3208 3209 ---- 479 3210 SELECT a, b, formatTime(timeIn(t, "UTC"), "2006-01-02 15:04:05.999999999 -0700") AS t FROM t; 3211 ┌Iterate all rows of table "t" 3212 └Output field names ["a" "b" "t"] 3213 ┌Evaluate a as "a", b as "b", formatTime(timeIn(t, "UTC"), "2006-01-02 15:04:05.999999999 -0700") as "t", 3214 └Output field names ["a" "b" "t"] 3215 3216 ---- 480 3217 SELECT * FROM t; 3218 ┌Iterate all rows of table "t" 3219 └Output field names ["a" "b" "d"] 3220 3221 ---- 481 3222 SELECT * FROM t; 3223 ┌Iterate all rows of table "t" 3224 └Output field names ["a" "b" "d"] 3225 3226 ---- 482 3227 SELECT * FROM t ORDER BY real(c); 3228 ┌Iterate all rows of table "t" 3229 └Output field names ["c"] 3230 ┌Order by real(c), 3231 └Output field names ["c"] 3232 3233 ---- 483 3234 SELECT id() AS i, contains(42, substr) FROM t ORDER BY i; 3235 ┌Iterate all rows of table "t" 3236 └Output field names ["s" "substr"] 3237 ┌Evaluate id() as "i", contains(42, substr) as "", 3238 └Output field names ["i" ""] 3239 ┌Order by i, 3240 └Output field names ["i" ""] 3241 3242 ---- 484 3243 SELECT id() AS i, contains(s, true) FROM t ORDER BY i; 3244 ┌Iterate all rows of table "t" 3245 └Output field names ["s" "substr"] 3246 ┌Evaluate id() as "i", contains(s, true) as "", 3247 └Output field names ["i" ""] 3248 ┌Order by i, 3249 └Output field names ["i" ""] 3250 3251 ---- 485 3252 SELECT id() AS i, contains(s, substr) FROM t ORDER BY i; 3253 ┌Iterate all rows of table "t" 3254 └Output field names ["s" "substr"] 3255 ┌Evaluate id() as "i", contains(s, substr) as "", 3256 └Output field names ["i" ""] 3257 ┌Order by i, 3258 └Output field names ["i" ""] 3259 3260 ---- 486 3261 SELECT id() AS i, hasPrefix(42, prefix) FROM t ORDER BY i; 3262 ┌Iterate all rows of table "t" 3263 └Output field names ["s" "prefix"] 3264 ┌Evaluate id() as "i", hasPrefix(42, prefix) as "", 3265 └Output field names ["i" ""] 3266 ┌Order by i, 3267 └Output field names ["i" ""] 3268 3269 ---- 487 3270 SELECT id() AS i, hasPrefix(s, false) FROM t ORDER BY i; 3271 ┌Iterate all rows of table "t" 3272 └Output field names ["s" "prefix"] 3273 ┌Evaluate id() as "i", hasPrefix(s, false) as "", 3274 └Output field names ["i" ""] 3275 ┌Order by i, 3276 └Output field names ["i" ""] 3277 3278 ---- 488 3279 SELECT id() AS i, hasPrefix(s, prefix) FROM t ORDER BY i; 3280 ┌Iterate all rows of table "t" 3281 └Output field names ["s" "prefix"] 3282 ┌Evaluate id() as "i", hasPrefix(s, prefix) as "", 3283 └Output field names ["i" ""] 3284 ┌Order by i, 3285 └Output field names ["i" ""] 3286 3287 ---- 489 3288 SELECT id() AS i, hasSuffix(42, suffix) FROM t ORDER BY i; 3289 ┌Iterate all rows of table "t" 3290 └Output field names ["s" "suffix"] 3291 ┌Evaluate id() as "i", hasSuffix(42, suffix) as "", 3292 └Output field names ["i" ""] 3293 ┌Order by i, 3294 └Output field names ["i" ""] 3295 3296 ---- 490 3297 SELECT id() AS i, hasSuffix(s, true) FROM t ORDER BY i; 3298 ┌Iterate all rows of table "t" 3299 └Output field names ["s" "suffix"] 3300 ┌Evaluate id() as "i", hasSuffix(s, true) as "", 3301 └Output field names ["i" ""] 3302 ┌Order by i, 3303 └Output field names ["i" ""] 3304 3305 ---- 491 3306 SELECT id() AS i, hasSuffix(s, suffix) FROM t ORDER BY i; 3307 ┌Iterate all rows of table "t" 3308 └Output field names ["s" "suffix"] 3309 ┌Evaluate id() as "i", hasSuffix(s, suffix) as "", 3310 └Output field names ["i" ""] 3311 ┌Order by i, 3312 └Output field names ["i" ""] 3313 3314 ---- 493 3315 SELECT * FROM t; 3316 ┌Iterate all rows of table "t" 3317 └Output field names ["i"] 3318 3319 ---- 495 3320 SELECT * FROM t; 3321 ┌Iterate all rows of table "t" 3322 └Output field names ["i"] 3323 3324 ---- 496 3325 SELECT * FROM t; 3326 ┌Iterate all rows of table "t" 3327 └Output field names ["i" "s"] 3328 3329 ---- 497 3330 SELECT * FROM t; 3331 ┌Iterate all rows of table "t" 3332 └Output field names ["i"] 3333 3334 ---- 498 3335 SELECT * FROM t; 3336 ┌Iterate all rows of table "t" 3337 └Output field names ["i"] 3338 3339 ---- 499 3340 SELECT * FROM t; 3341 ┌Iterate all rows of table "t" 3342 └Output field names ["s"] 3343 3344 ---- 500 3345 SELECT * FROM t; 3346 ┌Iterate all rows of table "t" 3347 └Output field names ["i"] 3348 3349 ---- 501 3350 SELECT * FROM t; 3351 ┌Iterate all rows of table "t" 3352 └Output field names ["c"] 3353 3354 ---- 502 3355 SELECT * FROM t; 3356 ┌Iterate all rows of table "t" 3357 └Output field names ["c" "s"] 3358 3359 ---- 503 3360 SELECT * FROM t; 3361 ┌Iterate all rows of table "t" 3362 └Output field names ["c" "s"] 3363 3364 ---- 504 3365 SELECT * FROM t; 3366 ┌Iterate all rows of table "t" 3367 └Output field names ["c" "s"] 3368 3369 ---- 508 3370 SELECT * FROM t; 3371 ┌Iterate all rows of table "t" 3372 └Output field names ["c"] 3373 3374 ---- 509 3375 SELECT * FROM t; 3376 ┌Iterate all rows of table "t" 3377 └Output field names ["c"] 3378 3379 ---- 512 3380 SELECT * FROM t; 3381 ┌Iterate all rows of table "t" 3382 └Output field names ["c"] 3383 3384 ---- 513 3385 SELECT * FROM t; 3386 ┌Iterate all rows of table "t" 3387 └Output field names ["c"] 3388 3389 ---- 514 3390 SELECT * FROM t; 3391 ┌Iterate all rows of table "t" 3392 └Output field names ["c"] 3393 3394 ---- 515 3395 SELECT * FROM t; 3396 ┌Iterate all rows of table "t" 3397 └Output field names ["c"] 3398 3399 ---- 516 3400 SELECT * FROM t ORDER BY id(); 3401 ┌Iterate all rows of table "t" 3402 └Output field names ["c"] 3403 ┌Order by id(), 3404 └Output field names ["c"] 3405 3406 ---- 517 3407 SELECT * FROM t ORDER BY c; 3408 ┌Iterate all rows of table "t" 3409 └Output field names ["c"] 3410 ┌Order by c, 3411 └Output field names ["c"] 3412 3413 ---- 518 3414 SELECT * FROM t ORDER BY i; 3415 ┌Iterate all rows of table "t" 3416 └Output field names ["i"] 3417 ┌Order by i, 3418 └Output field names ["i"] 3419 3420 ---- 526 3421 SELECT * FROM t; 3422 ┌Iterate all rows of table "t" 3423 └Output field names ["i"] 3424 3425 ---- 528 3426 SELECT * FROM t ORDER BY i; 3427 ┌Iterate all rows of table "t" 3428 └Output field names ["i"] 3429 ┌Order by i, 3430 └Output field names ["i"] 3431 3432 ---- 529 3433 SELECT * FROM t; 3434 ┌Iterate all rows of table "t" 3435 └Output field names ["i"] 3436 3437 ---- 530 3438 SELECT * FROM t; 3439 ┌Iterate all rows of table "t" 3440 └Output field names ["i"] 3441 3442 ---- 531 3443 SELECT * FROM t ORDER BY s; 3444 ┌Iterate all rows of table "t" 3445 └Output field names ["s"] 3446 ┌Order by s, 3447 └Output field names ["s"] 3448 3449 ---- 532 3450 SELECT * FROM t ORDER BY s; 3451 ┌Iterate all rows of table "t" 3452 └Output field names ["s"] 3453 ┌Order by s, 3454 └Output field names ["s"] 3455 3456 ---- 533 3457 SELECT * FROM t ORDER BY s; 3458 ┌Iterate all rows of table "t" 3459 └Output field names ["s"] 3460 ┌Order by s, 3461 └Output field names ["s"] 3462 3463 ---- 534 3464 SELECT * FROM t ORDER BY i; 3465 ┌Iterate all rows of table "t" 3466 └Output field names ["i"] 3467 ┌Order by i, 3468 └Output field names ["i"] 3469 3470 ---- 535 3471 SELECT * FROM t ORDER BY i; 3472 ┌Iterate all rows of table "t" 3473 └Output field names ["i"] 3474 ┌Order by i, 3475 └Output field names ["i"] 3476 3477 ---- 536 3478 SELECT * FROM t ORDER BY i; 3479 ┌Iterate all rows of table "t" 3480 └Output field names ["i"] 3481 ┌Order by i, 3482 └Output field names ["i"] 3483 3484 ---- 537 3485 SELECT * FROM t; 3486 ┌Iterate all rows of table "t" 3487 └Output field names ["s"] 3488 3489 ---- 538 3490 SELECT * FROM t; 3491 ┌Iterate all rows of table "t" 3492 └Output field names ["i"] 3493 3494 ---- 539 3495 SELECT * FROM t; 3496 ┌Iterate all rows of table "t" 3497 └Output field names ["s"] 3498 3499 ---- 540 3500 SELECT * FROM t; 3501 ┌Iterate all rows of table "t" 3502 └Output field names ["i"] 3503 3504 ---- 541 3505 SELECT * FROM t ORDER BY i; 3506 ┌Iterate all rows of table "t" 3507 └Output field names ["i"] 3508 ┌Order by i, 3509 └Output field names ["i"] 3510 3511 ---- 542 3512 SELECT * FROM t ORDER BY s; 3513 ┌Iterate all rows of table "t" 3514 └Output field names ["s"] 3515 ┌Order by s, 3516 └Output field names ["s"] 3517 3518 ---- 543 3519 SELECT * FROM t ORDER BY i; 3520 ┌Iterate all rows of table "t" 3521 └Output field names ["i"] 3522 ┌Order by i, 3523 └Output field names ["i"] 3524 3525 ---- 545 3526 SELECT * FROM t ORDER BY i; 3527 ┌Iterate all rows of table "t" 3528 └Output field names ["i"] 3529 ┌Order by i, 3530 └Output field names ["i"] 3531 3532 ---- 546 3533 SELECT * FROM t ORDER BY i; 3534 ┌Iterate all rows of table "t" 3535 └Output field names ["i"] 3536 ┌Order by i, 3537 └Output field names ["i"] 3538 3539 ---- 547 3540 SELECT * FROM t; 3541 ┌Iterate all rows of table "t" 3542 └Output field names ["i" "s"] 3543 3544 ---- 548 3545 SELECT * FROM t ORDER BY i; 3546 ┌Iterate all rows of table "t" 3547 └Output field names ["i" "s"] 3548 ┌Order by i, 3549 └Output field names ["i" "s"] 3550 3551 ---- 549 3552 SELECT * FROM t ORDER BY s; 3553 ┌Iterate all rows of table "t" 3554 └Output field names ["i" "s"] 3555 ┌Order by s, 3556 └Output field names ["i" "s"] 3557 3558 ---- 550 3559 SELECT * FROM x; 3560 ┌Iterate all values of index "x" 3561 └Output field names N/A 3562 3563 ---- 551 3564 SELECT * FROM x; 3565 ┌Iterate all values of index "x" 3566 └Output field names N/A 3567 3568 ---- 552 3569 SELECT * FROM x; 3570 ┌Iterate all values of index "x" 3571 └Output field names N/A 3572 3573 ---- 553 3574 SELECT * FROM x; 3575 ┌Iterate all values of index "x" 3576 └Output field names N/A 3577 3578 ---- 554 3579 SELECT * FROM x; 3580 ┌Iterate all values of index "x" 3581 └Output field names N/A 3582 3583 ---- 555 3584 SELECT * FROM x; 3585 ┌Iterate all values of index "x" 3586 └Output field names N/A 3587 3588 ---- 556 3589 SELECT * FROM x; 3590 ┌Iterate all values of index "x" 3591 └Output field names N/A 3592 3593 ---- 557 3594 SELECT * FROM x; 3595 ┌Iterate all values of index "x" 3596 └Output field names N/A 3597 3598 ---- 558 3599 SELECT * FROM x; 3600 ┌Iterate all values of index "x" 3601 └Output field names N/A 3602 3603 ---- 559 3604 SELECT * FROM x; 3605 ┌Iterate all values of index "x" 3606 └Output field names N/A 3607 3608 ---- 560 3609 SELECT * FROM x; 3610 ┌Iterate all values of index "x" 3611 └Output field names N/A 3612 3613 ---- 561 3614 SELECT * FROM x; 3615 ┌Iterate all values of index "x" 3616 └Output field names N/A 3617 3618 ---- 562 3619 SELECT * FROM x; 3620 ┌Iterate all values of index "x" 3621 └Output field names N/A 3622 3623 ---- 563 3624 SELECT * FROM x; 3625 ┌Iterate all values of index "x" 3626 └Output field names N/A 3627 3628 ---- 564 3629 SELECT * FROM x; 3630 ┌Iterate all values of index "x" 3631 └Output field names N/A 3632 3633 ---- 565 3634 SELECT * FROM x; 3635 ┌Iterate all values of index "x" 3636 └Output field names N/A 3637 3638 ---- 566 3639 SELECT * FROM x; 3640 ┌Iterate all values of index "x" 3641 └Output field names N/A 3642 3643 ---- 569 3644 SELECT len(string(b)) AS n FROM t; 3645 ┌Iterate all rows of table "t" 3646 └Output field names ["b"] 3647 ┌Evaluate len(string(b)) as "n", 3648 └Output field names ["n"] 3649 3650 ---- 570 3651 SELECT len(string(b)) AS n FROM t; 3652 ┌Iterate all rows of table "t" 3653 └Output field names ["b"] 3654 ┌Evaluate len(string(b)) as "n", 3655 └Output field names ["n"] 3656 3657 ---- 571 3658 SELECT * FROM t; 3659 ┌Iterate all rows of table "t" 3660 └Output field names ["i" "s"] 3661 3662 ---- 572 3663 SELECT * FROM t; 3664 ┌Iterate all rows of table "t" 3665 └Output field names ["i" "s"] 3666 3667 ---- 574 3668 SELECT * FROM t AS u; 3669 ┌Iterate all rows of table "t" 3670 └Output field names ["i"] 3671 3672 ---- 577 3673 SELECT i FROM t AS u; 3674 ┌Iterate all rows of table "t" 3675 └Output field names ["i"] 3676 3677 ---- 578 3678 SELECT i FROM t WHERE b ORDER BY i; 3679 ┌Iterate all rows of table "t" using index "x" where b 3680 └Output field names ["i" "b"] 3681 ┌Evaluate i as "i", 3682 └Output field names ["i"] 3683 ┌Order by i, 3684 └Output field names ["i"] 3685 3686 ---- 580 3687 SELECT * FROM x; 3688 ┌Iterate all values of index "x" 3689 └Output field names N/A 3690 3691 ---- 581 3692 SELECT i FROM t WHERE i < 30; 3693 ┌Iterate all rows of table "t" 3694 └Output field names ["i"] 3695 ┌Filter on i < 30 3696 │Possibly useful indices 3697 │CREATE INDEX xt_i ON t(i); 3698 └Output field names ["i"] 3699 3700 ---- 582 3701 SELECT i FROM t WHERE i < 30; 3702 ┌Iterate all rows of table "t" using index "x" where i < 30 3703 └Output field names ["i"] 3704 3705 ---- 583 3706 SELECT * FROM t WHERE i <= 30; 3707 ┌Iterate all rows of table "t" 3708 └Output field names ["i"] 3709 ┌Filter on i <= 30 3710 │Possibly useful indices 3711 │CREATE INDEX xt_i ON t(i); 3712 └Output field names ["i"] 3713 3714 ---- 584 3715 SELECT * FROM t WHERE i <= 30; 3716 ┌Iterate all rows of table "t" using index "x" where i <= 30 3717 └Output field names ["i"] 3718 3719 ---- 585 3720 SELECT i FROM t WHERE i == 30; 3721 ┌Iterate all rows of table "t" 3722 └Output field names ["i"] 3723 ┌Filter on i == 30 3724 │Possibly useful indices 3725 │CREATE INDEX xt_i ON t(i); 3726 └Output field names ["i"] 3727 3728 ---- 586 3729 SELECT i FROM t WHERE i == 30; 3730 ┌Iterate all rows of table "t" using index "x" where i == 30 3731 └Output field names ["i"] 3732 3733 ---- 587 3734 SELECT * FROM t WHERE i >= 30; 3735 ┌Iterate all rows of table "t" 3736 └Output field names ["i"] 3737 ┌Filter on i >= 30 3738 │Possibly useful indices 3739 │CREATE INDEX xt_i ON t(i); 3740 └Output field names ["i"] 3741 3742 ---- 588 3743 SELECT * FROM t WHERE i >= 30; 3744 ┌Iterate all rows of table "t" using index "x" where i >= 30 3745 └Output field names ["i"] 3746 3747 ---- 589 3748 SELECT * FROM t WHERE i > 30; 3749 ┌Iterate all rows of table "t" 3750 └Output field names ["i"] 3751 ┌Filter on i > 30 3752 │Possibly useful indices 3753 │CREATE INDEX xt_i ON t(i); 3754 └Output field names ["i"] 3755 3756 ---- 590 3757 SELECT * FROM t WHERE i > 30; 3758 ┌Iterate all rows of table "t" using index "x" where i > 30 3759 └Output field names ["i"] 3760 3761 ---- 591 3762 SELECT i FROM t WHERE !b ORDER BY i; 3763 ┌Iterate all rows of table "t" 3764 └Output field names ["i" "b"] 3765 ┌Filter on !b 3766 └Output field names ["i" "b"] 3767 ┌Evaluate i as "i", 3768 └Output field names ["i"] 3769 ┌Order by i, 3770 └Output field names ["i"] 3771 3772 ---- 592 3773 SELECT i FROM t WHERE !b ORDER BY i; 3774 ┌Iterate all rows of table "t" using index "x" where !b 3775 └Output field names ["i" "b"] 3776 ┌Evaluate i as "i", 3777 └Output field names ["i"] 3778 ┌Order by i, 3779 └Output field names ["i"] 3780 3781 ---- 593 3782 SELECT i FROM t WHERE i < $1; 3783 ┌Iterate all rows of table "t" using index "x" where i < 30 3784 └Output field names ["i"] 3785 3786 ---- 594 3787 SELECT * FROM t WHERE i <= $1; 3788 ┌Iterate all rows of table "t" using index "x" where i <= 30 3789 └Output field names ["i"] 3790 3791 ---- 595 3792 SELECT i FROM t WHERE i == $1; 3793 ┌Iterate all rows of table "t" using index "x" where i == 30 3794 └Output field names ["i"] 3795 3796 ---- 596 3797 SELECT * FROM t WHERE i >= $1; 3798 ┌Iterate all rows of table "t" using index "x" where i >= 30 3799 └Output field names ["i"] 3800 3801 ---- 597 3802 SELECT * FROM t WHERE i > $1; 3803 ┌Iterate all rows of table "t" using index "x" where i > 30 3804 └Output field names ["i"] 3805 3806 ---- 598 3807 SELECT i FROM t WHERE i < $1; 3808 ┌Iterate all rows of table "t" using index "x" where i < 30 3809 └Output field names ["i"] 3810 3811 ---- 599 3812 SELECT * FROM t WHERE i <= $1; 3813 ┌Iterate all rows of table "t" using index "x" where i <= 30 3814 └Output field names ["i"] 3815 3816 ---- 600 3817 SELECT i FROM t WHERE i == $1; 3818 ┌Iterate all rows of table "t" using index "x" where i == 30 3819 └Output field names ["i"] 3820 3821 ---- 601 3822 SELECT * FROM t WHERE i >= $1; 3823 ┌Iterate all rows of table "t" using index "x" where i >= 30 3824 └Output field names ["i"] 3825 3826 ---- 602 3827 SELECT * FROM t WHERE i > $1; 3828 ┌Iterate all rows of table "t" using index "x" where i > 30 3829 └Output field names ["i"] 3830 3831 ---- 603 3832 SELECT i FROM t WHERE i < 30; 3833 ┌Iterate all rows of table "t" using index "x" where i < 30 3834 └Output field names ["i"] 3835 3836 ---- 604 3837 SELECT * FROM t WHERE i <= 30; 3838 ┌Iterate all rows of table "t" using index "x" where i <= 30 3839 └Output field names ["i"] 3840 3841 ---- 605 3842 SELECT i FROM t WHERE i == 30; 3843 ┌Iterate all rows of table "t" using index "x" where i == 30 3844 └Output field names ["i"] 3845 3846 ---- 606 3847 SELECT * FROM t WHERE i >= 30; 3848 ┌Iterate all rows of table "t" using index "x" where i >= 30 3849 └Output field names ["i"] 3850 3851 ---- 607 3852 SELECT * FROM t WHERE i > 30; 3853 ┌Iterate all rows of table "t" using index "x" where i > 30 3854 └Output field names ["i"] 3855 3856 ---- 608 3857 SELECT * FROM t WHERE i < 30; 3858 ┌Iterate all rows of table "t" 3859 └Output field names ["i"] 3860 ┌Filter on i < 30 3861 │Possibly useful indices 3862 │CREATE INDEX xt_i ON t(i); 3863 └Output field names ["i"] 3864 3865 ---- 609 3866 SELECT * FROM t WHERE i < 30; 3867 ┌Iterate all rows of table "t" using index "x" where i < 30 3868 └Output field names ["i"] 3869 3870 ---- 624 3871 SELECT * FROM __Table; 3872 ┌Iterate all rows of table "__Table" 3873 └Output field names ["Name" "Schema"] 3874 3875 ---- 625 3876 SELECT * FROM __Table ORDER BY Name; 3877 ┌Iterate all rows of table "__Table" 3878 └Output field names ["Name" "Schema"] 3879 ┌Order by Name, 3880 └Output field names ["Name" "Schema"] 3881 3882 ---- 626 3883 SELECT * FROM __Table ORDER BY Name; 3884 ┌Iterate all rows of table "__Table" 3885 └Output field names ["Name" "Schema"] 3886 ┌Order by Name, 3887 └Output field names ["Name" "Schema"] 3888 3889 ---- 627 3890 SELECT * FROM __Column; 3891 ┌Iterate all rows of table "__Column" 3892 └Output field names ["TableName" "Ordinal" "Name" "Type"] 3893 3894 ---- 628 3895 SELECT * FROM __Column ORDER BY TableName, Name; 3896 ┌Iterate all rows of table "__Column" 3897 └Output field names ["TableName" "Ordinal" "Name" "Type"] 3898 ┌Order by TableName, Name, 3899 └Output field names ["TableName" "Ordinal" "Name" "Type"] 3900 3901 ---- 629 3902 SELECT * FROM __Column ORDER BY TableName, Ordinal; 3903 ┌Iterate all rows of table "__Column" 3904 └Output field names ["TableName" "Ordinal" "Name" "Type"] 3905 ┌Order by TableName, Ordinal, 3906 └Output field names ["TableName" "Ordinal" "Name" "Type"] 3907 3908 ---- 630 3909 SELECT * FROM __Index; 3910 ┌Iterate all rows of table "__Index" 3911 └Output field names ["TableName" "ColumnName" "Name" "IsUnique"] 3912 3913 ---- 631 3914 SELECT * FROM __Index ORDER BY TableName, Name; 3915 ┌Iterate all rows of table "__Index" 3916 └Output field names ["TableName" "ColumnName" "Name" "IsUnique"] 3917 ┌Order by TableName, Name, 3918 └Output field names ["TableName" "ColumnName" "Name" "IsUnique"] 3919 3920 ---- 632 3921 SELECT * FROM __Index WHERE !hasPrefix(TableName, "__") ORDER BY TableName, ColumnName, Name; 3922 ┌Iterate all rows of table "__Index" 3923 └Output field names ["TableName" "ColumnName" "Name" "IsUnique"] 3924 ┌Filter on !hasPrefix(TableName, "__") 3925 └Output field names ["TableName" "ColumnName" "Name" "IsUnique"] 3926 ┌Order by TableName, ColumnName, Name, 3927 └Output field names ["TableName" "ColumnName" "Name" "IsUnique"] 3928 3929 ---- 633 3930 SELECT * FROM __Index WHERE !hasPrefix(TableName, "__") ORDER BY TableName, ColumnName, Name; 3931 ┌Iterate all rows of table "__Index" 3932 └Output field names ["TableName" "ColumnName" "Name" "IsUnique"] 3933 ┌Filter on !hasPrefix(TableName, "__") 3934 └Output field names ["TableName" "ColumnName" "Name" "IsUnique"] 3935 ┌Order by TableName, ColumnName, Name, 3936 └Output field names ["TableName" "ColumnName" "Name" "IsUnique"] 3937 3938 ---- 634 3939 SELECT * FROM __Index WHERE !hasPrefix(TableName, "__") ORDER BY TableName, ColumnName, Name; 3940 ┌Iterate all rows of table "__Index" 3941 └Output field names ["TableName" "ColumnName" "Name" "IsUnique"] 3942 ┌Filter on !hasPrefix(TableName, "__") 3943 └Output field names ["TableName" "ColumnName" "Name" "IsUnique"] 3944 ┌Order by TableName, ColumnName, Name, 3945 └Output field names ["TableName" "ColumnName" "Name" "IsUnique"] 3946 3947 ---- 635 3948 SELECT c.TableName, c.Ordinal, c.Name FROM __Table AS t, __Column AS c WHERE t.Name == "u" && t.Name == c.TableName ORDER BY c.Ordinal; 3949 ┌Compute Cartesian product of 3950 │ ┌Iterate all rows of table "__Table" 3951 │ └Output field names ["Name" "Schema"] 3952 │ ┌Iterate all rows of table "__Column" 3953 │ └Output field names ["TableName" "Ordinal" "Name" "Type"] 3954 └Output field names ["t.Name" "t.Schema" "c.TableName" "c.Ordinal" "c.Name" "c.Type"] 3955 ┌Filter on t.Name == "u" && t.Name == c.TableName 3956 └Output field names ["t.Name" "t.Schema" "c.TableName" "c.Ordinal" "c.Name" "c.Type"] 3957 ┌Evaluate c.TableName as "c.TableName", c.Ordinal as "c.Ordinal", c.Name as "c.Name", 3958 └Output field names ["c.TableName" "c.Ordinal" "c.Name"] 3959 ┌Order by c.Ordinal, 3960 └Output field names ["c.TableName" "c.Ordinal" "c.Name"] 3961 3962 ---- 636 3963 SELECT * FROM t WHERE s == "test"; 3964 ┌Iterate all rows of table "t" 3965 └Output field names ["i" "s"] 3966 ┌Filter on s == "test" 3967 │Possibly useful indices 3968 │CREATE INDEX xt_s ON t(s); 3969 └Output field names ["i" "s"] 3970 3971 ---- 637 3972 SELECT * FROM t WHERE s == "test"; 3973 ┌Iterate all rows of table "t" using index "idx_s" where s == "test" 3974 └Output field names ["i" "s"] 3975 3976 ---- 638 3977 SELECT * FROM __Table ORDER BY Name; 3978 ┌Iterate all rows of table "__Table" 3979 └Output field names ["Name" "Schema"] 3980 ┌Order by Name, 3981 └Output field names ["Name" "Schema"] 3982 3983 ---- 639 3984 SELECT * FROM __Table WHERE Name == "artist"; 3985 ┌Iterate all rows of table "__Table" 3986 └Output field names ["Name" "Schema"] 3987 ┌Filter on Name == "artist" 3988 └Output field names ["Name" "Schema"] 3989 3990 ---- 640 3991 SELECT * FROM __Column ORDER BY TableName, Ordinal; 3992 ┌Iterate all rows of table "__Column" 3993 └Output field names ["TableName" "Ordinal" "Name" "Type"] 3994 ┌Order by TableName, Ordinal, 3995 └Output field names ["TableName" "Ordinal" "Name" "Type"] 3996 3997 ---- 641 3998 SELECT * FROM __Column WHERE TableName == "artist" ORDER BY TableName, Ordinal; 3999 ┌Iterate all rows of table "__Column" 4000 └Output field names ["TableName" "Ordinal" "Name" "Type"] 4001 ┌Filter on TableName == "artist" 4002 └Output field names ["TableName" "Ordinal" "Name" "Type"] 4003 ┌Order by TableName, Ordinal, 4004 └Output field names ["TableName" "Ordinal" "Name" "Type"] 4005 4006 ---- 642 4007 SELECT * FROM t, u WHERE u.y < 60 && t.k < 7; 4008 ┌Compute Cartesian product of 4009 │ ┌Iterate all rows of table "t" 4010 │ └Output field names ["i" "j" "k"] 4011 │ ┌Iterate all rows of table "u" 4012 │ └Output field names ["x" "y" "z"] 4013 └Output field names ["t.i" "t.j" "t.k" "u.x" "u.y" "u.z"] 4014 ┌Filter on u.y < 60 && t.k < 7 4015 │Possibly useful indices 4016 │CREATE INDEX xu_y ON u(y); 4017 │CREATE INDEX xt_k ON t(k); 4018 └Output field names ["t.i" "t.j" "t.k" "u.x" "u.y" "u.z"] 4019 4020 ---- 643 4021 SELECT * FROM t, u WHERE u.y < 60 && t.k < 7; 4022 ┌Compute Cartesian product of 4023 │ ┌Iterate all rows of table "t" using index "xk" where k < 7 4024 │ └Output field names ["i" "j" "k"] 4025 │ ┌Iterate all rows of table "u" 4026 │ └Output field names ["x" "y" "z"] 4027 └Output field names ["t.i" "t.j" "t.k" "u.x" "u.y" "u.z"] 4028 ┌Filter on u.y < 60 4029 │Possibly useful indices 4030 │CREATE INDEX xu_y ON u(y); 4031 └Output field names ["t.i" "t.j" "t.k" "u.x" "u.y" "u.z"] 4032 4033 ---- 644 4034 SELECT * FROM t, u WHERE u.y < 60 && t.k < 7; 4035 ┌Compute Cartesian product of 4036 │ ┌Iterate all rows of table "t" 4037 │ └Output field names ["i" "j" "k"] 4038 │ ┌Iterate all rows of table "u" using index "xy" where y < 60 4039 │ └Output field names ["x" "y" "z"] 4040 └Output field names ["t.i" "t.j" "t.k" "u.x" "u.y" "u.z"] 4041 ┌Filter on t.k < 7 4042 │Possibly useful indices 4043 │CREATE INDEX xt_k ON t(k); 4044 └Output field names ["t.i" "t.j" "t.k" "u.x" "u.y" "u.z"] 4045 4046 ---- 645 4047 SELECT * FROM t, u WHERE u.y < 60 && t.k < 7; 4048 ┌Compute Cartesian product of 4049 │ ┌Iterate all rows of table "t" using index "xk" where k < 7 4050 │ └Output field names ["i" "j" "k"] 4051 │ ┌Iterate all rows of table "u" using index "xy" where y < 60 4052 │ └Output field names ["x" "y" "z"] 4053 └Output field names ["t.i" "t.j" "t.k" "u.x" "u.y" "u.z"] 4054 4055 ---- 646 4056 SELECT * FROM t OFFSET -1; 4057 ┌Iterate all rows of table "t" 4058 └Output field names ["i"] 4059 ┌Skip first -1 records 4060 └Output field names ["i"] 4061 4062 ---- 647 4063 SELECT * FROM t OFFSET 0; 4064 ┌Iterate all rows of table "t" 4065 └Output field names ["i"] 4066 ┌Skip first 0 records 4067 └Output field names ["i"] 4068 4069 ---- 648 4070 SELECT * FROM t OFFSET 1; 4071 ┌Iterate all rows of table "t" 4072 └Output field names ["i"] 4073 ┌Skip first 1 records 4074 └Output field names ["i"] 4075 4076 ---- 649 4077 SELECT * FROM t ORDER BY id() OFFSET -1; 4078 ┌Iterate all rows of table "t" 4079 └Output field names ["i"] 4080 ┌Order by id(), 4081 └Output field names ["i"] 4082 ┌Skip first -1 records 4083 └Output field names ["i"] 4084 4085 ---- 650 4086 SELECT * FROM t ORDER BY id() OFFSET 0; 4087 ┌Iterate all rows of table "t" 4088 └Output field names ["i"] 4089 ┌Order by id(), 4090 └Output field names ["i"] 4091 ┌Skip first 0 records 4092 └Output field names ["i"] 4093 4094 ---- 651 4095 SELECT * FROM t ORDER BY id() OFFSET 1; 4096 ┌Iterate all rows of table "t" 4097 └Output field names ["i"] 4098 ┌Order by id(), 4099 └Output field names ["i"] 4100 ┌Skip first 1 records 4101 └Output field names ["i"] 4102 4103 ---- 652 4104 SELECT * FROM t ORDER BY id() OFFSET 2; 4105 ┌Iterate all rows of table "t" 4106 └Output field names ["i"] 4107 ┌Order by id(), 4108 └Output field names ["i"] 4109 ┌Skip first 2 records 4110 └Output field names ["i"] 4111 4112 ---- 653 4113 SELECT * FROM t ORDER BY id() LIMIT -1; 4114 ┌Iterate all rows of table "t" 4115 └Output field names ["i"] 4116 ┌Order by id(), 4117 └Output field names ["i"] 4118 ┌Pass first -1 records 4119 └Output field names [i] 4120 4121 ---- 654 4122 SELECT * FROM t ORDER BY id() LIMIT 0; 4123 ┌Iterate all rows of table "t" 4124 └Output field names ["i"] 4125 ┌Order by id(), 4126 └Output field names ["i"] 4127 ┌Pass first 0 records 4128 └Output field names [i] 4129 4130 ---- 655 4131 SELECT * FROM t ORDER BY id() LIMIT 1; 4132 ┌Iterate all rows of table "t" 4133 └Output field names ["i"] 4134 ┌Order by id(), 4135 └Output field names ["i"] 4136 ┌Pass first 1 records 4137 └Output field names [i] 4138 4139 ---- 656 4140 SELECT * FROM t ORDER BY id() LIMIT -1; 4141 ┌Iterate all rows of table "t" 4142 └Output field names ["i"] 4143 ┌Order by id(), 4144 └Output field names ["i"] 4145 ┌Pass first -1 records 4146 └Output field names [i] 4147 4148 ---- 657 4149 SELECT * FROM t ORDER BY id() LIMIT 0; 4150 ┌Iterate all rows of table "t" 4151 └Output field names ["i"] 4152 ┌Order by id(), 4153 └Output field names ["i"] 4154 ┌Pass first 0 records 4155 └Output field names [i] 4156 4157 ---- 658 4158 SELECT * FROM t ORDER BY id() LIMIT 1; 4159 ┌Iterate all rows of table "t" 4160 └Output field names ["i"] 4161 ┌Order by id(), 4162 └Output field names ["i"] 4163 ┌Pass first 1 records 4164 └Output field names [i] 4165 4166 ---- 659 4167 SELECT * FROM t ORDER BY id() LIMIT 2; 4168 ┌Iterate all rows of table "t" 4169 └Output field names ["i"] 4170 ┌Order by id(), 4171 └Output field names ["i"] 4172 ┌Pass first 2 records 4173 └Output field names [i] 4174 4175 ---- 660 4176 SELECT * FROM t ORDER BY id() LIMIT 3; 4177 ┌Iterate all rows of table "t" 4178 └Output field names ["i"] 4179 ┌Order by id(), 4180 └Output field names ["i"] 4181 ┌Pass first 3 records 4182 └Output field names [i] 4183 4184 ---- 661 4185 SELECT * FROM t ORDER BY id() LIMIT 0 OFFSET 0; 4186 ┌Iterate all rows of table "t" 4187 └Output field names ["i"] 4188 ┌Order by id(), 4189 └Output field names ["i"] 4190 ┌Skip first 0 records 4191 └Output field names ["i"] 4192 ┌Pass first 0 records 4193 └Output field names [i] 4194 4195 ---- 662 4196 SELECT * FROM t ORDER BY id() LIMIT 0 OFFSET 1; 4197 ┌Iterate all rows of table "t" 4198 └Output field names ["i"] 4199 ┌Order by id(), 4200 └Output field names ["i"] 4201 ┌Skip first 1 records 4202 └Output field names ["i"] 4203 ┌Pass first 0 records 4204 └Output field names [i] 4205 4206 ---- 663 4207 SELECT * FROM t ORDER BY id() LIMIT 0 OFFSET 2; 4208 ┌Iterate all rows of table "t" 4209 └Output field names ["i"] 4210 ┌Order by id(), 4211 └Output field names ["i"] 4212 ┌Skip first 2 records 4213 └Output field names ["i"] 4214 ┌Pass first 0 records 4215 └Output field names [i] 4216 4217 ---- 664 4218 SELECT * FROM t ORDER BY id() LIMIT 0 OFFSET 3; 4219 ┌Iterate all rows of table "t" 4220 └Output field names ["i"] 4221 ┌Order by id(), 4222 └Output field names ["i"] 4223 ┌Skip first 3 records 4224 └Output field names ["i"] 4225 ┌Pass first 0 records 4226 └Output field names [i] 4227 4228 ---- 665 4229 SELECT * FROM t ORDER BY id() LIMIT 1 OFFSET 0; 4230 ┌Iterate all rows of table "t" 4231 └Output field names ["i"] 4232 ┌Order by id(), 4233 └Output field names ["i"] 4234 ┌Skip first 0 records 4235 └Output field names ["i"] 4236 ┌Pass first 1 records 4237 └Output field names [i] 4238 4239 ---- 666 4240 SELECT * FROM t ORDER BY id() LIMIT 1 OFFSET 1; 4241 ┌Iterate all rows of table "t" 4242 └Output field names ["i"] 4243 ┌Order by id(), 4244 └Output field names ["i"] 4245 ┌Skip first 1 records 4246 └Output field names ["i"] 4247 ┌Pass first 1 records 4248 └Output field names [i] 4249 4250 ---- 667 4251 SELECT * FROM t ORDER BY id() LIMIT 1 OFFSET 2; 4252 ┌Iterate all rows of table "t" 4253 └Output field names ["i"] 4254 ┌Order by id(), 4255 └Output field names ["i"] 4256 ┌Skip first 2 records 4257 └Output field names ["i"] 4258 ┌Pass first 1 records 4259 └Output field names [i] 4260 4261 ---- 668 4262 SELECT * FROM t ORDER BY id() LIMIT 1 OFFSET 3; 4263 ┌Iterate all rows of table "t" 4264 └Output field names ["i"] 4265 ┌Order by id(), 4266 └Output field names ["i"] 4267 ┌Skip first 3 records 4268 └Output field names ["i"] 4269 ┌Pass first 1 records 4270 └Output field names [i] 4271 4272 ---- 669 4273 SELECT * FROM t ORDER BY id() LIMIT 2 OFFSET 0; 4274 ┌Iterate all rows of table "t" 4275 └Output field names ["i"] 4276 ┌Order by id(), 4277 └Output field names ["i"] 4278 ┌Skip first 0 records 4279 └Output field names ["i"] 4280 ┌Pass first 2 records 4281 └Output field names [i] 4282 4283 ---- 670 4284 SELECT * FROM t ORDER BY id() LIMIT 2 OFFSET 1; 4285 ┌Iterate all rows of table "t" 4286 └Output field names ["i"] 4287 ┌Order by id(), 4288 └Output field names ["i"] 4289 ┌Skip first 1 records 4290 └Output field names ["i"] 4291 ┌Pass first 2 records 4292 └Output field names [i] 4293 4294 ---- 671 4295 SELECT * FROM t ORDER BY id() LIMIT 2 OFFSET 2; 4296 ┌Iterate all rows of table "t" 4297 └Output field names ["i"] 4298 ┌Order by id(), 4299 └Output field names ["i"] 4300 ┌Skip first 2 records 4301 └Output field names ["i"] 4302 ┌Pass first 2 records 4303 └Output field names [i] 4304 4305 ---- 672 4306 SELECT * FROM t ORDER BY id() LIMIT 2 OFFSET 3; 4307 ┌Iterate all rows of table "t" 4308 └Output field names ["i"] 4309 ┌Order by id(), 4310 └Output field names ["i"] 4311 ┌Skip first 3 records 4312 └Output field names ["i"] 4313 ┌Pass first 2 records 4314 └Output field names [i] 4315 4316 ---- 673 4317 SELECT * FROM t ORDER BY id() LIMIT 3 OFFSET 0; 4318 ┌Iterate all rows of table "t" 4319 └Output field names ["i"] 4320 ┌Order by id(), 4321 └Output field names ["i"] 4322 ┌Skip first 0 records 4323 └Output field names ["i"] 4324 ┌Pass first 3 records 4325 └Output field names [i] 4326 4327 ---- 674 4328 SELECT * FROM t ORDER BY id() LIMIT 3 OFFSET 1; 4329 ┌Iterate all rows of table "t" 4330 └Output field names ["i"] 4331 ┌Order by id(), 4332 └Output field names ["i"] 4333 ┌Skip first 1 records 4334 └Output field names ["i"] 4335 ┌Pass first 3 records 4336 └Output field names [i] 4337 4338 ---- 675 4339 SELECT * FROM t ORDER BY id() LIMIT 3 OFFSET 2; 4340 ┌Iterate all rows of table "t" 4341 └Output field names ["i"] 4342 ┌Order by id(), 4343 └Output field names ["i"] 4344 ┌Skip first 2 records 4345 └Output field names ["i"] 4346 ┌Pass first 3 records 4347 └Output field names [i] 4348 4349 ---- 676 4350 SELECT * FROM t ORDER BY id() LIMIT 3 OFFSET 3; 4351 ┌Iterate all rows of table "t" 4352 └Output field names ["i"] 4353 ┌Order by id(), 4354 └Output field names ["i"] 4355 ┌Skip first 3 records 4356 └Output field names ["i"] 4357 ┌Pass first 3 records 4358 └Output field names [i] 4359 4360 ---- 677 4361 SELECT * FROM (SELECT * FROM t ORDER BY i LIMIT 2 OFFSET 1;) AS a, (SELECT * FROM u ORDER BY i;) AS b ORDER BY a.i, b.i; 4362 ┌Compute Cartesian product of 4363 │ ┌Iterate all rows of virtual table "a" 4364 │ │ ┌Iterate all rows of table "t" 4365 │ │ └Output field names ["i"] 4366 │ │ ┌Order by i, 4367 │ │ └Output field names ["i"] 4368 │ │ ┌Skip first 1 records 4369 │ │ └Output field names ["i"] 4370 │ │ ┌Pass first 2 records 4371 │ │ └Output field names [i] 4372 │ └Output field names ["i"] 4373 │ ┌Iterate all rows of virtual table "b" 4374 │ │ ┌Iterate all rows of table "u" 4375 │ │ └Output field names ["i"] 4376 │ │ ┌Order by i, 4377 │ │ └Output field names ["i"] 4378 │ └Output field names ["i"] 4379 └Output field names ["a.i" "b.i"] 4380 ┌Order by a.i, b.i, 4381 └Output field names ["a.i" "b.i"] 4382 4383 ---- 678 4384 SELECT * FROM (SELECT * FROM t ORDER BY i LIMIT 2 OFFSET 1;) AS a, (SELECT * FROM u ORDER BY i OFFSET 1;) AS b ORDER BY a.i, b.i; 4385 ┌Compute Cartesian product of 4386 │ ┌Iterate all rows of virtual table "a" 4387 │ │ ┌Iterate all rows of table "t" 4388 │ │ └Output field names ["i"] 4389 │ │ ┌Order by i, 4390 │ │ └Output field names ["i"] 4391 │ │ ┌Skip first 1 records 4392 │ │ └Output field names ["i"] 4393 │ │ ┌Pass first 2 records 4394 │ │ └Output field names [i] 4395 │ └Output field names ["i"] 4396 │ ┌Iterate all rows of virtual table "b" 4397 │ │ ┌Iterate all rows of table "u" 4398 │ │ └Output field names ["i"] 4399 │ │ ┌Order by i, 4400 │ │ └Output field names ["i"] 4401 │ │ ┌Skip first 1 records 4402 │ │ └Output field names ["i"] 4403 │ └Output field names ["i"] 4404 └Output field names ["a.i" "b.i"] 4405 ┌Order by a.i, b.i, 4406 └Output field names ["a.i" "b.i"] 4407 4408 ---- 679 4409 SELECT * FROM (SELECT * FROM t ORDER BY i LIMIT 2 OFFSET 1;) AS a, (SELECT * FROM u ORDER BY i LIMIT 1;) AS b ORDER BY a.i, b.i; 4410 ┌Compute Cartesian product of 4411 │ ┌Iterate all rows of virtual table "a" 4412 │ │ ┌Iterate all rows of table "t" 4413 │ │ └Output field names ["i"] 4414 │ │ ┌Order by i, 4415 │ │ └Output field names ["i"] 4416 │ │ ┌Skip first 1 records 4417 │ │ └Output field names ["i"] 4418 │ │ ┌Pass first 2 records 4419 │ │ └Output field names [i] 4420 │ └Output field names ["i"] 4421 │ ┌Iterate all rows of virtual table "b" 4422 │ │ ┌Iterate all rows of table "u" 4423 │ │ └Output field names ["i"] 4424 │ │ ┌Order by i, 4425 │ │ └Output field names ["i"] 4426 │ │ ┌Pass first 1 records 4427 │ │ └Output field names [i] 4428 │ └Output field names ["i"] 4429 └Output field names ["a.i" "b.i"] 4430 ┌Order by a.i, b.i, 4431 └Output field names ["a.i" "b.i"] 4432 4433 ---- 680 4434 SELECT * FROM (SELECT * FROM t ORDER BY i LIMIT 2 OFFSET 1;) AS a, (SELECT * FROM u ORDER BY i LIMIT 1 OFFSET 1;) AS b ORDER BY a.i, b.i; 4435 ┌Compute Cartesian product of 4436 │ ┌Iterate all rows of virtual table "a" 4437 │ │ ┌Iterate all rows of table "t" 4438 │ │ └Output field names ["i"] 4439 │ │ ┌Order by i, 4440 │ │ └Output field names ["i"] 4441 │ │ ┌Skip first 1 records 4442 │ │ └Output field names ["i"] 4443 │ │ ┌Pass first 2 records 4444 │ │ └Output field names [i] 4445 │ └Output field names ["i"] 4446 │ ┌Iterate all rows of virtual table "b" 4447 │ │ ┌Iterate all rows of table "u" 4448 │ │ └Output field names ["i"] 4449 │ │ ┌Order by i, 4450 │ │ └Output field names ["i"] 4451 │ │ ┌Skip first 1 records 4452 │ │ └Output field names ["i"] 4453 │ │ ┌Pass first 1 records 4454 │ │ └Output field names [i] 4455 │ └Output field names ["i"] 4456 └Output field names ["a.i" "b.i"] 4457 ┌Order by a.i, b.i, 4458 └Output field names ["a.i" "b.i"] 4459 4460 ---- 681 4461 SELECT * FROM (SELECT * FROM t ORDER BY i LIMIT 2 OFFSET 1;) AS a, (SELECT * FROM u ORDER BY i LIMIT 1 OFFSET 1;) AS b ORDER BY a.i, b.i LIMIT 1; 4462 ┌Compute Cartesian product of 4463 │ ┌Iterate all rows of virtual table "a" 4464 │ │ ┌Iterate all rows of table "t" 4465 │ │ └Output field names ["i"] 4466 │ │ ┌Order by i, 4467 │ │ └Output field names ["i"] 4468 │ │ ┌Skip first 1 records 4469 │ │ └Output field names ["i"] 4470 │ │ ┌Pass first 2 records 4471 │ │ └Output field names [i] 4472 │ └Output field names ["i"] 4473 │ ┌Iterate all rows of virtual table "b" 4474 │ │ ┌Iterate all rows of table "u" 4475 │ │ └Output field names ["i"] 4476 │ │ ┌Order by i, 4477 │ │ └Output field names ["i"] 4478 │ │ ┌Skip first 1 records 4479 │ │ └Output field names ["i"] 4480 │ │ ┌Pass first 1 records 4481 │ │ └Output field names [i] 4482 │ └Output field names ["i"] 4483 └Output field names ["a.i" "b.i"] 4484 ┌Order by a.i, b.i, 4485 └Output field names ["a.i" "b.i"] 4486 ┌Pass first 1 records 4487 └Output field names [a.i b.i] 4488 4489 ---- 682 4490 SELECT count(1) AS total FROM fibonacci WHERE input >= 5 && input <= 7 || input == 3; 4491 ┌Iterate all rows of table "fibonacci" 4492 └Output field names ["input" "output"] 4493 ┌Filter on input >= 5 && input <= 7 || input == 3 4494 └Output field names ["input" "output"] 4495 ┌Group by distinct rows 4496 └Output field names ["input" "output"] 4497 ┌Evaluate count(1) as "total", 4498 └Output field names ["total"] 4499 4500 ---- 683 4501 SELECT * FROM fibonacci WHERE input >= 5 && input <= 7 || input == 3 ORDER BY input DESC LIMIT 2 OFFSET 1; 4502 ┌Iterate all rows of table "fibonacci" 4503 └Output field names ["input" "output"] 4504 ┌Filter on input >= 5 && input <= 7 || input == 3 4505 └Output field names ["input" "output"] 4506 ┌Order descending by input, 4507 └Output field names ["input" "output"] 4508 ┌Skip first 1 records 4509 └Output field names ["input" "output"] 4510 ┌Pass first 2 records 4511 └Output field names [input output] 4512 4513 ---- 684 4514 SELECT * FROM fibonacci ORDER BY input; 4515 ┌Iterate all rows of table "fibonacci" 4516 └Output field names ["input" "output"] 4517 ┌Order by input, 4518 └Output field names ["input" "output"] 4519 4520 ---- 685 4521 SELECT * FROM fibonacci ORDER BY input; 4522 ┌Iterate all rows of table "fibonacci" 4523 └Output field names ["input" "output"] 4524 ┌Order by input, 4525 └Output field names ["input" "output"] 4526 4527 ---- 686 4528 SELECT count() AS total FROM fibonacci WHERE input >= 5 && input <= 7 || input == 3; 4529 ┌Iterate all rows of table "fibonacci" 4530 └Output field names ["input" "output"] 4531 ┌Filter on input >= 5 && input <= 7 || input == 3 4532 └Output field names ["input" "output"] 4533 ┌Group by distinct rows 4534 └Output field names ["input" "output"] 4535 ┌Evaluate count() as "total", 4536 └Output field names ["total"] 4537 4538 ---- 687 4539 SELECT count() AS total FROM fibonacci WHERE input >= 5 && input <= 7 || input == 3; 4540 ┌Iterate all rows of table "fibonacci" 4541 └Output field names ["input" "output"] 4542 ┌Filter on input >= 5 && input <= 7 || input == 3 4543 └Output field names ["input" "output"] 4544 ┌Group by distinct rows 4545 └Output field names ["input" "output"] 4546 ┌Evaluate count() as "total", 4547 └Output field names ["total"] 4548 4549 ---- 688 4550 SELECT * FROM t ORDER BY i; 4551 ┌Iterate all rows of table "t" 4552 └Output field names ["i"] 4553 ┌Order by i, 4554 └Output field names ["i"] 4555 4556 ---- 689 4557 SELECT * FROM t ORDER BY i; 4558 ┌Iterate all rows of table "t" 4559 └Output field names ["i"] 4560 ┌Order by i, 4561 └Output field names ["i"] 4562 4563 ---- 690 4564 SELECT * FROM t ORDER BY i; 4565 ┌Iterate all rows of table "t" 4566 └Output field names ["i"] 4567 ┌Order by i, 4568 └Output field names ["i"] 4569 4570 ---- 691 4571 SELECT * FROM t ORDER BY i; 4572 ┌Iterate all rows of table "t" 4573 └Output field names ["i"] 4574 ┌Order by i, 4575 └Output field names ["i"] 4576 4577 ---- 692 4578 SELECT * FROM t ORDER BY i; 4579 ┌Iterate all rows of table "t" 4580 └Output field names ["i"] 4581 ┌Order by i, 4582 └Output field names ["i"] 4583 4584 ---- 693 4585 SELECT * FROM t ORDER BY i; 4586 ┌Iterate all rows of table "t" 4587 └Output field names ["i"] 4588 ┌Order by i, 4589 └Output field names ["i"] 4590 4591 ---- 694 4592 SELECT * FROM t ORDER BY i; 4593 ┌Iterate all rows of table "t" 4594 └Output field names ["i"] 4595 ┌Order by i, 4596 └Output field names ["i"] 4597 4598 ---- 695 4599 SELECT * FROM t ORDER BY i; 4600 ┌Iterate all rows of table "t" 4601 └Output field names ["i"] 4602 ┌Order by i, 4603 └Output field names ["i"] 4604 4605 ---- 696 4606 SELECT * FROM t ORDER BY i; 4607 ┌Iterate all rows of table "t" 4608 └Output field names ["i"] 4609 ┌Order by i, 4610 └Output field names ["i"] 4611 4612 ---- 697 4613 SELECT * FROM t ORDER BY i; 4614 ┌Iterate all rows of table "t" 4615 └Output field names ["i"] 4616 ┌Order by i, 4617 └Output field names ["i"] 4618 4619 ---- 698 4620 SELECT * FROM t ORDER BY i; 4621 ┌Iterate all rows of table "t" 4622 └Output field names ["i"] 4623 ┌Order by i, 4624 └Output field names ["i"] 4625 4626 ---- 699 4627 SELECT * FROM t ORDER BY i; 4628 ┌Iterate all rows of table "t" 4629 └Output field names ["i"] 4630 ┌Order by i, 4631 └Output field names ["i"] 4632 4633 ---- 700 4634 SELECT * FROM t ORDER BY i; 4635 ┌Iterate all rows of table "t" 4636 └Output field names ["i"] 4637 ┌Order by i, 4638 └Output field names ["i"] 4639 4640 ---- 701 4641 SELECT * FROM t ORDER BY i; 4642 ┌Iterate all rows of table "t" 4643 └Output field names ["i"] 4644 ┌Order by i, 4645 └Output field names ["i"] 4646 4647 ---- 702 4648 SELECT * FROM t ORDER BY i; 4649 ┌Iterate all rows of table "t" 4650 └Output field names ["i"] 4651 ┌Order by i, 4652 └Output field names ["i"] 4653 4654 ---- 703 4655 SELECT * FROM t ORDER BY i; 4656 ┌Iterate all rows of table "t" 4657 └Output field names ["i"] 4658 ┌Order by i, 4659 └Output field names ["i"] 4660 4661 ---- 704 4662 SELECT * FROM t ORDER BY i; 4663 ┌Iterate all rows of table "t" 4664 └Output field names ["i"] 4665 ┌Order by i, 4666 └Output field names ["i"] 4667 4668 ---- 705 4669 SELECT * FROM t ORDER BY i; 4670 ┌Iterate all rows of table "t" 4671 └Output field names ["i"] 4672 ┌Order by i, 4673 └Output field names ["i"] 4674 4675 ---- 706 4676 SELECT * FROM t ORDER BY i; 4677 ┌Iterate all rows of table "t" 4678 └Output field names ["i"] 4679 ┌Order by i, 4680 └Output field names ["i"] 4681 4682 ---- 707 4683 SELECT * FROM t ORDER BY i; 4684 ┌Iterate all rows of table "t" 4685 └Output field names ["i"] 4686 ┌Order by i, 4687 └Output field names ["i"] 4688 4689 ---- 708 4690 SELECT * FROM t ORDER BY i; 4691 ┌Iterate all rows of table "t" 4692 └Output field names ["i"] 4693 ┌Order by i, 4694 └Output field names ["i"] 4695 4696 ---- 709 4697 SELECT * FROM t ORDER BY i; 4698 ┌Iterate all rows of table "t" 4699 └Output field names ["i"] 4700 ┌Order by i, 4701 └Output field names ["i"] 4702 4703 ---- 711 4704 SELECT s FROM t; 4705 ┌Iterate all rows of table "t" 4706 └Output field names ["i" "s"] 4707 ┌Evaluate s as "s", 4708 └Output field names ["s"] 4709 4710 ---- 712 4711 SELECT * FROM x; 4712 ┌Iterate all values of index "x" 4713 └Output field names N/A 4714 4715 ---- 714 4716 SELECT * FROM x; 4717 ┌Iterate all values of index "x" 4718 └Output field names N/A 4719 4720 ---- 715 4721 SELECT * FROM x; 4722 ┌Iterate all values of index "x" 4723 └Output field names N/A 4724 4725 ---- 716 4726 SELECT s FROM t WHERE s != "z"; 4727 ┌Iterate all rows of table "t" using index "x" where s != "z" 4728 └Output field names ["i" "s"] 4729 ┌Evaluate s as "s", 4730 └Output field names ["s"] 4731 4732 ---- 717 4733 SELECT s FROM t WHERE s < "z"; 4734 ┌Iterate all rows of table "t" using index "x" where s < "z" 4735 └Output field names ["i" "s"] 4736 ┌Evaluate s as "s", 4737 └Output field names ["s"] 4738 4739 ---- 718 4740 SELECT s FROM t WHERE s < "z"; 4741 ┌Iterate all rows of table "t" 4742 └Output field names ["i" "s"] 4743 ┌Filter on s < "z" 4744 │Possibly useful indices 4745 │CREATE INDEX xt_s ON t(s); 4746 └Output field names ["i" "s"] 4747 ┌Evaluate s as "s", 4748 └Output field names ["s"] 4749 4750 ---- 721 4751 SELECT s FROM t WHERE s < "z"; 4752 ┌Iterate all rows of table "t" 4753 └Output field names ["i" "s"] 4754 ┌Filter on s < "z" 4755 │Possibly useful indices 4756 │CREATE INDEX xt_s ON t(s); 4757 └Output field names ["i" "s"] 4758 ┌Evaluate s as "s", 4759 └Output field names ["s"] 4760 4761 ---- 722 4762 SELECT p, string(c) FROM t; 4763 ┌Iterate all rows of table "t" 4764 └Output field names ["p" "c"] 4765 ┌Evaluate p as "p", string(c) as "", 4766 └Output field names ["p" ""] 4767 4768 ---- 723 4769 SELECT p, string(c) FROM t; 4770 ┌Iterate all rows of table "t" 4771 └Output field names ["p" "c"] 4772 ┌Evaluate p as "p", string(c) as "", 4773 └Output field names ["p" ""] 4774 4775 ---- 724 4776 SELECT p, string(c) FROM t; 4777 ┌Iterate all rows of table "t" 4778 └Output field names ["p" "c"] 4779 ┌Evaluate p as "p", string(c) as "", 4780 └Output field names ["p" ""] 4781 4782 ---- 725 4783 SELECT * FROM employee; 4784 ┌Iterate all rows of table "employee" 4785 └Output field names ["LastName" "DepartmentID"] 4786 4787 ---- 726 4788 SELECT * FROM employee; 4789 ┌Iterate all rows of table "employee" 4790 └Output field names ["LastName" "DepartmentID"] 4791 4792 ---- 727 4793 SELECT * FROM employee ORDER BY LastName; 4794 ┌Iterate all rows of table "employee" 4795 └Output field names ["LastName" "DepartmentID"] 4796 ┌Order by LastName, 4797 └Output field names ["LastName" "DepartmentID"] 4798 4799 ---- 728 4800 SELECT * FROM t; 4801 ┌Iterate all rows of table "t" 4802 └Output field names ["username" "departname" "created" "detail_id" "height" "avatar" "is_man"] 4803 4804 ---- 729 4805 SELECT * FROM t; 4806 ┌Iterate all rows of table "t" 4807 └Output field names ["username" "departname" "created" "detail_id" "height" "avatar" "is_man"] 4808 4809 ---- 730 4810 SELECT * FROM t; 4811 ┌Iterate all rows of table "t" 4812 └Output field names ["username" "departname" "created" "detail_id" "height" "avatar" "is_man"] 4813 4814 ---- 731 4815 SELECT * FROM t; 4816 ┌Iterate all rows of table "t" 4817 └Output field names ["username" "departname" "created" "detail_id" "height" "avatar" "is_man"] 4818 4819 ---- 732 4820 SELECT id() IN (SELECT id() FROM t WHERE username == "2xiaolunwen";), username == "2xiaolunwen", len(string(avatar)) == 2097152 FROM t; 4821 ┌Iterate all rows of table "t" 4822 └Output field names ["username" "departname" "created" "detail_id" "height" "avatar" "is_man"] 4823 ┌Evaluate id() IN (SELECT id() FROM t WHERE username == "2xiaolunwen";) as "", username == "2xiaolunwen" as "", len(string(avatar)) == 2097152 as "", 4824 └Output field names ["" "" ""] 4825 4826 ---- 733 4827 SELECT id() IN (SELECT id() FROM t WHERE username == "xiaolunwen";), username == "xiaolunwen", len(string(avatar)) == 1048576 FROM t; 4828 ┌Iterate all rows of table "t" 4829 └Output field names ["username" "departname" "created" "detail_id" "height" "avatar" "is_man"] 4830 ┌Evaluate id() IN (SELECT id() FROM t WHERE username == "xiaolunwen";) as "", username == "xiaolunwen" as "", len(string(avatar)) == 1048576 as "", 4831 └Output field names ["" "" ""] 4832 4833 ---- 734 4834 SELECT user, remain, total FROM no_id_user WHERE user == "xlw" LIMIT 1; 4835 ┌Iterate all rows of table "no_id_user" using index "UQE_no_id_user_user" where user == "xlw" 4836 └Output field names ["user" "remain" "total"] 4837 ┌Pass first 1 records 4838 └Output field names [user remain total] 4839 4840 ---- 735 4841 SELECT * FROM t WHERE id() < 4; 4842 ┌Iterate all rows of table "t" 4843 └Output field names ["i"] 4844 ┌Filter on id() < 4 4845 │Possibly useful indices 4846 │CREATE INDEX xt_id ON t(id()); 4847 └Output field names ["i"] 4848 4849 ---- 736 4850 SELECT * FROM t WHERE i < 4; 4851 ┌Iterate all rows of table "t" using index "x" where i < 4 4852 └Output field names ["i"] 4853 4854 ---- 737 4855 SELECT * FROM t WHERE i <= 4; 4856 ┌Iterate all rows of table "t" using index "x" where i <= 4 4857 └Output field names ["i"] 4858 4859 ---- 738 4860 SELECT * FROM t WHERE i == 4; 4861 ┌Iterate all rows of table "t" using index "x" where i == 4 4862 └Output field names ["i"] 4863 4864 ---- 739 4865 SELECT * FROM t WHERE i >= 4; 4866 ┌Iterate all rows of table "t" using index "x" where i >= 4 4867 └Output field names ["i"] 4868 4869 ---- 740 4870 SELECT * FROM t WHERE i > 4; 4871 ┌Iterate all rows of table "t" using index "x" where i > 4 4872 └Output field names ["i"] 4873 4874 ---- 741 4875 SELECT * FROM (SELECT i FROM t WHERE i < 4;) AS t, (SELECT * FROM u WHERE i < 40;) AS u; 4876 ┌Compute Cartesian product of 4877 │ ┌Iterate all rows of table "t" using index "x" where i < 4 4878 │ └Output field names ["i"] 4879 │ ┌Iterate all rows of table "u" using index "y" where i < 40 4880 │ └Output field names ["i"] 4881 └Output field names ["t.i" "u.i"] 4882 4883 ---- 742 4884 SELECT max(t) AS T FROM t; 4885 ┌Iterate all rows of table "t" 4886 └Output field names ["t"] 4887 ┌Group by distinct rows 4888 └Output field names ["t"] 4889 ┌Evaluate max(t) as "T", 4890 └Output field names ["T"] 4891 4892 ---- 743 4893 SELECT max(t) AS T FROM t; 4894 ┌Iterate all rows of table "t" 4895 └Output field names ["t"] 4896 ┌Group by distinct rows 4897 └Output field names ["t"] 4898 ┌Evaluate max(t) as "T", 4899 └Output field names ["T"] 4900 4901 ---- 744 4902 SELECT max(t) AS T FROM t; 4903 ┌Iterate all rows of table "t" 4904 └Output field names ["t"] 4905 ┌Group by distinct rows 4906 └Output field names ["t"] 4907 ┌Evaluate max(t) as "T", 4908 └Output field names ["T"] 4909 4910 ---- 745 4911 SELECT max(t) AS T FROM t; 4912 ┌Iterate all rows of table "t" 4913 └Output field names ["t"] 4914 ┌Group by distinct rows 4915 └Output field names ["t"] 4916 ┌Evaluate max(t) as "T", 4917 └Output field names ["T"] 4918 4919 ---- 746 4920 SELECT max(t) AS T FROM t; 4921 ┌Iterate all rows of table "t" 4922 └Output field names ["t"] 4923 ┌Group by distinct rows 4924 └Output field names ["t"] 4925 ┌Evaluate max(t) as "T", 4926 └Output field names ["T"] 4927 4928 ---- 747 4929 SELECT max(t) AS T FROM t; 4930 ┌Iterate all rows of table "t" 4931 └Output field names ["t"] 4932 ┌Group by distinct rows 4933 └Output field names ["t"] 4934 ┌Evaluate max(t) as "T", 4935 └Output field names ["T"] 4936 4937 ---- 748 4938 SELECT min(t) AS T FROM t; 4939 ┌Iterate all rows of table "t" 4940 └Output field names ["t"] 4941 ┌Group by distinct rows 4942 └Output field names ["t"] 4943 ┌Evaluate min(t) as "T", 4944 └Output field names ["T"] 4945 4946 ---- 749 4947 SELECT min(t) AS T FROM t; 4948 ┌Iterate all rows of table "t" 4949 └Output field names ["t"] 4950 ┌Group by distinct rows 4951 └Output field names ["t"] 4952 ┌Evaluate min(t) as "T", 4953 └Output field names ["T"] 4954 4955 ---- 750 4956 SELECT min(t) AS T FROM t; 4957 ┌Iterate all rows of table "t" 4958 └Output field names ["t"] 4959 ┌Group by distinct rows 4960 └Output field names ["t"] 4961 ┌Evaluate min(t) as "T", 4962 └Output field names ["T"] 4963 4964 ---- 751 4965 SELECT min(t) AS T FROM t; 4966 ┌Iterate all rows of table "t" 4967 └Output field names ["t"] 4968 ┌Group by distinct rows 4969 └Output field names ["t"] 4970 ┌Evaluate min(t) as "T", 4971 └Output field names ["T"] 4972 4973 ---- 752 4974 SELECT min(t) AS T FROM t; 4975 ┌Iterate all rows of table "t" 4976 └Output field names ["t"] 4977 ┌Group by distinct rows 4978 └Output field names ["t"] 4979 ┌Evaluate min(t) as "T", 4980 └Output field names ["T"] 4981 4982 ---- 753 4983 SELECT min(t) AS T FROM t; 4984 ┌Iterate all rows of table "t" 4985 └Output field names ["t"] 4986 ┌Group by distinct rows 4987 └Output field names ["t"] 4988 ┌Evaluate min(t) as "T", 4989 └Output field names ["T"] 4990 4991 ---- 754 4992 SELECT * FROM department; 4993 ┌Iterate all rows of table "department" 4994 └Output field names ["Name" "score"] 4995 4996 SELECT * FROM department; 4997 ┌Iterate all rows of table "department" 4998 └Output field names ["Name" "score"] 4999 5000 SELECT * FROM department ORDER BY Name; 5001 ┌Iterate all rows of table "department" 5002 └Output field names ["Name" "score"] 5003 ┌Order by Name, 5004 └Output field names ["Name" "score"] 5005 5006 ---- 755 5007 SELECT id(), s FROM t WHERE s LIKE "foo" ORDER BY id(); 5008 ┌Iterate all rows of table "t" 5009 └Output field names ["s"] 5010 ┌Filter on s LIKE "foo" 5011 └Output field names ["s"] 5012 ┌Evaluate id() as "", s as "s", 5013 └Output field names ["" "s"] 5014 ┌Order by id(), 5015 └Output field names ["" "s"] 5016 5017 ---- 756 5018 SELECT id(), s FROM t WHERE !s LIKE "foo" ORDER BY id(); 5019 ┌Iterate all rows of table "t" 5020 └Output field names ["s"] 5021 ┌Filter on !s LIKE "foo" 5022 └Output field names ["s"] 5023 ┌Evaluate id() as "", s as "s", 5024 └Output field names ["" "s"] 5025 ┌Order by id(), 5026 └Output field names ["" "s"] 5027 5028 ---- 757 5029 SELECT id(), s FROM t WHERE s LIKE "foo" IS NULL ORDER BY id(); 5030 ┌Iterate all rows of table "t" 5031 └Output field names ["s"] 5032 ┌Filter on s LIKE "foo" IS NULL 5033 └Output field names ["s"] 5034 ┌Evaluate id() as "", s as "s", 5035 └Output field names ["" "s"] 5036 ┌Order by id(), 5037 └Output field names ["" "s"] 5038 5039 ---- 758 5040 SELECT id(), s FROM t WHERE s LIKE "foo" IS NOT NULL ORDER BY id(); 5041 ┌Iterate all rows of table "t" 5042 └Output field names ["s"] 5043 ┌Filter on s LIKE "foo" IS NOT NULL 5044 └Output field names ["s"] 5045 ┌Evaluate id() as "", s as "s", 5046 └Output field names ["" "s"] 5047 ┌Order by id(), 5048 └Output field names ["" "s"] 5049 5050 ---- 759 5051 SELECT id(), s FROM t WHERE s LIKE "bar" ORDER BY id(); 5052 ┌Iterate all rows of table "t" 5053 └Output field names ["s"] 5054 ┌Filter on s LIKE "bar" 5055 └Output field names ["s"] 5056 ┌Evaluate id() as "", s as "s", 5057 └Output field names ["" "s"] 5058 ┌Order by id(), 5059 └Output field names ["" "s"] 5060 5061 ---- 760 5062 SELECT id(), s FROM t WHERE s LIKE "^bar" ORDER BY id(); 5063 ┌Iterate all rows of table "t" 5064 └Output field names ["s"] 5065 ┌Filter on s LIKE "^bar" 5066 └Output field names ["s"] 5067 ┌Evaluate id() as "", s as "s", 5068 └Output field names ["" "s"] 5069 ┌Order by id(), 5070 └Output field names ["" "s"] 5071 5072 ---- 761 5073 SELECT id(), s FROM t WHERE s LIKE "bar$" ORDER BY id(); 5074 ┌Iterate all rows of table "t" 5075 └Output field names ["s"] 5076 ┌Filter on s LIKE "bar$" 5077 └Output field names ["s"] 5078 ┌Evaluate id() as "", s as "s", 5079 └Output field names ["" "s"] 5080 ┌Order by id(), 5081 └Output field names ["" "s"] 5082 5083 ---- 762 5084 SELECT id(), s FROM t WHERE s LIKE "bar$" ORDER BY id(); 5085 ┌Iterate all rows of table "t" 5086 └Output field names ["s"] 5087 ┌Filter on s LIKE "bar$" 5088 └Output field names ["s"] 5089 ┌Evaluate id() as "", s as "s", 5090 └Output field names ["" "s"] 5091 ┌Order by id(), 5092 └Output field names ["" "s"] 5093 5094 ---- 763 5095 SELECT id(), s FROM t WHERE s + "qux" LIKE "qux$" ORDER BY id(); 5096 ┌Iterate all rows of table "t" 5097 └Output field names ["s"] 5098 ┌Filter on s + "qux" LIKE "qux$" 5099 └Output field names ["s"] 5100 ┌Evaluate id() as "", s as "s", 5101 └Output field names ["" "s"] 5102 ┌Order by id(), 5103 └Output field names ["" "s"] 5104 5105 ---- 764 5106 SELECT id(), s FROM t WHERE s + "quxx" LIKE "qux$" ORDER BY id(); 5107 ┌Iterate all rows of table "t" 5108 └Output field names ["s"] 5109 ┌Filter on s + "quxx" LIKE "qux$" 5110 └Output field names ["s"] 5111 ┌Evaluate id() as "", s as "s", 5112 └Output field names ["" "s"] 5113 ┌Order by id(), 5114 └Output field names ["" "s"] 5115 5116 ---- 765 5117 SELECT * FROM (SELECT id() AS ID, i FROM foo;) AS foo, bar WHERE bar.fooID == foo.ID ORDER BY foo.ID; 5118 ┌Compute Cartesian product of 5119 │ ┌Iterate all rows of virtual table "foo" 5120 │ │ ┌Iterate all rows of table "foo" 5121 │ │ └Output field names ["i"] 5122 │ │ ┌Evaluate id() as "ID", i as "i", 5123 │ │ └Output field names ["ID" "i"] 5124 │ └Output field names ["ID" "i"] 5125 │ ┌Iterate all rows of table "bar" 5126 │ └Output field names ["fooID" "s"] 5127 └Output field names ["foo.ID" "foo.i" "bar.fooID" "bar.s"] 5128 ┌Filter on bar.fooID == foo.ID 5129 └Output field names ["foo.ID" "foo.i" "bar.fooID" "bar.s"] 5130 ┌Order by foo.ID, 5131 └Output field names ["foo.ID" "foo.i" "bar.fooID" "bar.s"] 5132 5133 ---- 766 5134 SELECT * FROM foo, bar WHERE bar.fooID == id(foo) ORDER BY id(foo); 5135 ┌Compute Cartesian product of 5136 │ ┌Iterate all rows of table "foo" 5137 │ └Output field names ["i"] 5138 │ ┌Iterate all rows of table "bar" 5139 │ └Output field names ["fooID" "s"] 5140 └Output field names ["foo.i" "bar.fooID" "bar.s"] 5141 ┌Filter on bar.fooID == id(foo) 5142 └Output field names ["foo.i" "bar.fooID" "bar.s"] 5143 ┌Order by id(foo), 5144 └Output field names ["foo.i" "bar.fooID" "bar.s"] 5145 5146 ---- 767 5147 SELECT * FROM t WHERE name == "b" && mail == "bar@example.com"; 5148 ┌Iterate all rows of table "t" 5149 └Output field names ["name" "mail"] 5150 ┌Filter on name == "b" && mail == "bar@example.com" 5151 │Possibly useful indices 5152 │CREATE INDEX xt_name ON t(name); 5153 │CREATE INDEX xt_mail ON t(mail); 5154 └Output field names ["name" "mail"] 5155 5156 ---- 768 5157 SELECT * FROM t WHERE name == "b" && mail == "bar@example.com"; 5158 ┌Iterate all rows of table "t" 5159 └Output field names ["name" "mail"] 5160 ┌Filter on name == "b" && mail == "bar@example.com" 5161 │Possibly useful indices 5162 │CREATE INDEX xt_name ON t(name); 5163 │CREATE INDEX xt_mail ON t(mail); 5164 └Output field names ["name" "mail"] 5165 5166 ---- 769 5167 SELECT * FROM t WHERE name == "b" || mail == "bar@example.com" ORDER BY name; 5168 ┌Iterate all rows of table "t" 5169 └Output field names ["name" "mail"] 5170 ┌Filter on name == "b" || mail == "bar@example.com" 5171 └Output field names ["name" "mail"] 5172 ┌Order by name, 5173 └Output field names ["name" "mail"] 5174 5175 ---- 770 5176 SELECT * FROM t WHERE name == "b" || mail == "bar@example.com" ORDER BY name; 5177 ┌Iterate all rows of table "t" 5178 └Output field names ["name" "mail"] 5179 ┌Filter on name == "b" || mail == "bar@example.com" 5180 └Output field names ["name" "mail"] 5181 ┌Order by name, 5182 └Output field names ["name" "mail"] 5183 5184 ---- 771 5185 SELECT id(), i FROM tableA WHERE id() IN (SELECT idA FROM tableB;) ORDER BY id(); 5186 ┌Iterate all rows of table "tableA" 5187 └Output field names ["i"] 5188 ┌Filter on id() IN (SELECT idA FROM tableB;) 5189 └Output field names ["i"] 5190 ┌Evaluate id() as "", i as "i", 5191 └Output field names ["" "i"] 5192 ┌Order by id(), 5193 └Output field names ["" "i"] 5194 5195 ---- 772 5196 SELECT id(), i FROM tableA WHERE id() NOT IN (SELECT idA FROM tableB;) ORDER BY id(); 5197 ┌Iterate all rows of table "tableA" 5198 └Output field names ["i"] 5199 ┌Filter on id() NOT IN (SELECT idA FROM tableB;) 5200 └Output field names ["i"] 5201 ┌Evaluate id() as "", i as "i", 5202 └Output field names ["" "i"] 5203 ┌Order by id(), 5204 └Output field names ["" "i"] 5205 5206 ---- 773 5207 SELECT id(), i FROM tableA ORDER BY id(); 5208 ┌Iterate all rows of table "tableA" 5209 └Output field names ["i"] 5210 ┌Evaluate id() as "", i as "i", 5211 └Output field names ["" "i"] 5212 ┌Order by id(), 5213 └Output field names ["" "i"] 5214 5215 ---- 774 5216 SELECT id(), i FROM tableA ORDER BY id(); 5217 ┌Iterate all rows of table "tableA" 5218 └Output field names ["i"] 5219 ┌Evaluate id() as "", i as "i", 5220 └Output field names ["" "i"] 5221 ┌Order by id(), 5222 └Output field names ["" "i"] 5223 5224 ---- 775 5225 SELECT id(), i FROM tableA ORDER BY id(); 5226 ┌Iterate all rows of table "tableA" 5227 └Output field names ["i"] 5228 ┌Evaluate id() as "", i as "i", 5229 └Output field names ["" "i"] 5230 ┌Order by id(), 5231 └Output field names ["" "i"] 5232 5233 ---- 776 5234 SELECT id(), i FROM tableA ORDER BY id(); 5235 ┌Iterate all rows of table "tableA" 5236 └Output field names ["i"] 5237 ┌Evaluate id() as "", i as "i", 5238 └Output field names ["" "i"] 5239 ┌Order by id(), 5240 └Output field names ["" "i"] 5241 5242 ---- 777 5243 SELECT id(), i FROM tableA ORDER BY id(); 5244 ┌Iterate all rows of table "tableA" 5245 └Output field names ["i"] 5246 ┌Evaluate id() as "", i as "i", 5247 └Output field names ["" "i"] 5248 ┌Order by id(), 5249 └Output field names ["" "i"] 5250 5251 ---- 778 5252 SELECT id(), i FROM tableA ORDER BY id(); 5253 ┌Iterate all rows of table "tableA" 5254 └Output field names ["i"] 5255 ┌Evaluate id() as "", i as "i", 5256 └Output field names ["" "i"] 5257 ┌Order by id(), 5258 └Output field names ["" "i"] 5259 5260 ---- 781 5261 SELECT i FROM tableA WHERE id() IN (SELECT idA FROM tableB;) ORDER BY id(); 5262 ┌Iterate all rows of table "tableA" 5263 └Output field names ["i"] 5264 ┌Filter on id() IN (SELECT idA FROM tableB;) 5265 └Output field names ["i"] 5266 ┌Order by id(), 5267 └Output field names ["i"] 5268 5269 ---- 782 5270 SELECT i FROM tableA WHERE id() IN (SELECT idA FROM tableB;) ORDER BY id(); 5271 ┌Iterate all rows of table "tableA" 5272 └Output field names ["i"] 5273 ┌Filter on id() IN (SELECT idA FROM tableB;) 5274 └Output field names ["i"] 5275 ┌Order by id(), 5276 └Output field names ["i"] 5277 5278 ---- 783 5279 SELECT * FROM testA; 5280 ┌Iterate all rows of table "testA" 5281 └Output field names ["comment" "data"] 5282 5283 ---- 784 5284 SELECT * FROM testA; 5285 ┌Iterate all rows of table "testA" 5286 └Output field names ["comment" "data"] 5287 5288 ---- 785 5289 SELECT * FROM testA ORDER BY comment; 5290 ┌Iterate all rows of table "testA" 5291 └Output field names ["comment" "data"] 5292 ┌Order by comment, 5293 └Output field names ["comment" "data"] 5294 5295 ---- 786 5296 SELECT * FROM testA ORDER BY comment; 5297 ┌Iterate all rows of table "testA" 5298 └Output field names ["comment" "data"] 5299 ┌Order by comment, 5300 └Output field names ["comment" "data"] 5301 5302 ---- 787 5303 SELECT * FROM testA ORDER BY comment; 5304 ┌Iterate all rows of table "testA" 5305 └Output field names ["comment" "data"] 5306 ┌Order by comment, 5307 └Output field names ["comment" "data"] 5308 5309 ---- 788 5310 SELECT * FROM testA ORDER BY comment; 5311 ┌Iterate all rows of table "testA" 5312 └Output field names ["comment" "data"] 5313 ┌Order by comment, 5314 └Output field names ["comment" "data"] 5315 5316 ---- 789 5317 SELECT * FROM testA ORDER BY comment; 5318 ┌Iterate all rows of table "testA" 5319 └Output field names ["comment" "data"] 5320 ┌Order by comment, 5321 └Output field names ["comment" "data"] 5322 5323 ---- 790 5324 SELECT * FROM testA ORDER BY comment; 5325 ┌Iterate all rows of table "testA" 5326 └Output field names ["comment" "data"] 5327 ┌Order by comment, 5328 └Output field names ["comment" "data"] 5329 5330 ---- 791 5331 SELECT formatFloat(c) FROM t; 5332 ┌Iterate all rows of table "t" 5333 └Output field names ["c"] 5334 ┌Evaluate formatFloat(c) as "", 5335 └Output field names [""] 5336 5337 ---- 792 5338 SELECT formatFloat(c) FROM t; 5339 ┌Iterate all rows of table "t" 5340 └Output field names ["c"] 5341 ┌Evaluate formatFloat(c) as "", 5342 └Output field names [""] 5343 5344 ---- 793 5345 SELECT formatFloat(c, 98) FROM t; 5346 ┌Iterate all rows of table "t" 5347 └Output field names ["c"] 5348 ┌Evaluate formatFloat(c, 98) as "", 5349 └Output field names [""] 5350 5351 ---- 794 5352 SELECT formatFloat(c, 101, 5) FROM t; 5353 ┌Iterate all rows of table "t" 5354 └Output field names ["c"] 5355 ┌Evaluate formatFloat(c, 101, 5) as "", 5356 └Output field names [""] 5357 5358 ---- 795 5359 SELECT formatFloat(c, 98, 7, 32) FROM t; 5360 ┌Iterate all rows of table "t" 5361 └Output field names ["c"] 5362 ┌Evaluate formatFloat(c, 98, 7, 32) as "", 5363 └Output field names [""] 5364 5365 ---- 796 5366 SELECT formatInt(c) FROM t; 5367 ┌Iterate all rows of table "t" 5368 └Output field names ["c"] 5369 ┌Evaluate formatInt(c) as "", 5370 └Output field names [""] 5371 5372 ---- 797 5373 SELECT formatInt(c) FROM t; 5374 ┌Iterate all rows of table "t" 5375 └Output field names ["c"] 5376 ┌Evaluate formatInt(c) as "", 5377 └Output field names [""] 5378 5379 ---- 798 5380 SELECT formatInt(c, 18) FROM t; 5381 ┌Iterate all rows of table "t" 5382 └Output field names ["c"] 5383 ┌Evaluate formatInt(c, 18) as "", 5384 └Output field names [""] 5385 5386 ---- 799 5387 SELECT formatInt(c) FROM t; 5388 ┌Iterate all rows of table "t" 5389 └Output field names ["c"] 5390 ┌Evaluate formatInt(c) as "", 5391 └Output field names [""] 5392 5393 ---- 800 5394 SELECT formatInt(c) FROM t; 5395 ┌Iterate all rows of table "t" 5396 └Output field names ["c"] 5397 ┌Evaluate formatInt(c) as "", 5398 └Output field names [""] 5399 5400 ---- 801 5401 SELECT formatInt(c, 18) FROM t; 5402 ┌Iterate all rows of table "t" 5403 └Output field names ["c"] 5404 ┌Evaluate formatInt(c, 18) as "", 5405 └Output field names [""] 5406 5407 ---- 802 5408 SELECT formatInt(c, 18) FROM t; 5409 ┌Iterate all rows of table "t" 5410 └Output field names ["c"] 5411 ┌Evaluate formatInt(c, 18) as "", 5412 └Output field names [""] 5413 5414 ---- 803 5415 SELECT formatInt(c, 18) FROM t; 5416 ┌Iterate all rows of table "t" 5417 └Output field names ["c"] 5418 ┌Evaluate formatInt(c, 18) as "", 5419 └Output field names [""] 5420 5421 ---- 804 5422 SELECT formatInt(c, 18) FROM t; 5423 ┌Iterate all rows of table "t" 5424 └Output field names ["c"] 5425 ┌Evaluate formatInt(c, 18) as "", 5426 └Output field names [""] 5427 5428 ---- 805 5429 SELECT formatInt(c, 18) FROM t; 5430 ┌Iterate all rows of table "t" 5431 └Output field names ["c"] 5432 ┌Evaluate formatInt(c, 18) as "", 5433 └Output field names [""] 5434 5435 ---- 806 5436 SELECT formatInt(c, 18) FROM t; 5437 ┌Iterate all rows of table "t" 5438 └Output field names ["c"] 5439 ┌Evaluate formatInt(c, 18) as "", 5440 └Output field names [""] 5441 5442 ---- 807 5443 SELECT formatInt(c, 18) FROM t; 5444 ┌Iterate all rows of table "t" 5445 └Output field names ["c"] 5446 ┌Evaluate formatInt(c, 18) as "", 5447 └Output field names [""] 5448 5449 ---- 808 5450 SELECT * FROM t; 5451 ┌Iterate all rows of table "t" 5452 └Output field names ["i" "b"] 5453 5454 ---- 809 5455 SELECT * FROM t; 5456 ┌Iterate all rows of table "t" 5457 └Output field names ["i" "b"] 5458 5459 ---- 815 5460 SELECT * FROM __Column2; 5461 ┌Iterate all rows of table "__Column2" 5462 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5463 5464 ---- 816 5465 SELECT * FROM __Column2; 5466 ┌Iterate all rows of table "__Column2" 5467 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5468 5469 ---- 817 5470 SELECT * FROM __Column2; 5471 ┌Iterate all rows of table "__Column2" 5472 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5473 5474 ---- 818 5475 SELECT * FROM __Column2; 5476 ┌Iterate all rows of table "__Column2" 5477 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5478 5479 ---- 819 5480 SELECT * FROM __Column2; 5481 ┌Iterate all rows of table "__Column2" 5482 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5483 5484 ---- 822 5485 SELECT * FROM __Column2; 5486 ┌Iterate all rows of table "__Column2" 5487 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5488 5489 ---- 823 5490 SELECT * FROM __Column2; 5491 ┌Iterate all rows of table "__Column2" 5492 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5493 5494 ---- 824 5495 SELECT * FROM __Column2; 5496 ┌Iterate all rows of table "__Column2" 5497 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5498 5499 ---- 825 5500 SELECT * FROM __Column2; 5501 ┌Iterate all rows of table "__Column2" 5502 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5503 5504 ---- 830 5505 SELECT * FROM __Column2 ORDER BY Name; 5506 ┌Iterate all rows of table "__Column2" 5507 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5508 ┌Order by Name, 5509 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5510 5511 ---- 831 5512 SELECT * FROM __Column2 ORDER BY Name; 5513 ┌Iterate all rows of table "__Column2" 5514 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5515 ┌Order by Name, 5516 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5517 5518 ---- 832 5519 SELECT * FROM __Column2 ORDER BY Name; 5520 ┌Iterate all rows of table "__Column2" 5521 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5522 ┌Order by Name, 5523 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5524 5525 ---- 833 5526 SELECT * FROM __Column2 ORDER BY Name; 5527 ┌Iterate all rows of table "__Column2" 5528 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5529 ┌Order by Name, 5530 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5531 5532 ---- 834 5533 SELECT * FROM __Column2 ORDER BY Name; 5534 ┌Iterate all rows of table "__Column2" 5535 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5536 ┌Order by Name, 5537 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5538 5539 ---- 835 5540 SELECT * FROM __Column2 ORDER BY Name; 5541 ┌Iterate all rows of table "__Column2" 5542 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5543 ┌Order by Name, 5544 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5545 5546 ---- 836 5547 SELECT * FROM t; 5548 ┌Iterate all rows of table "t" 5549 └Output field names ["a" "b" "c"] 5550 5551 ---- 837 5552 SELECT * FROM t; 5553 ┌Iterate all rows of table "t" 5554 └Output field names ["a" "b" "c"] 5555 5556 ---- 839 5557 SELECT * FROM t; 5558 ┌Iterate all rows of table "t" 5559 └Output field names ["a" "b" "c"] 5560 5561 ---- 842 5562 SELECT * FROM t; 5563 ┌Iterate all rows of table "t" 5564 └Output field names ["a" "b" "c"] 5565 5566 ---- 844 5567 SELECT * FROM t; 5568 ┌Iterate all rows of table "t" 5569 └Output field names ["a" "b" "c"] 5570 5571 ---- 846 5572 SELECT * FROM t; 5573 ┌Iterate all rows of table "t" 5574 └Output field names ["a" "b" "c"] 5575 5576 ---- 847 5577 SELECT * FROM t; 5578 ┌Iterate all rows of table "t" 5579 └Output field names ["a" "b" "c"] 5580 5581 ---- 850 5582 SELECT * FROM t; 5583 ┌Iterate all rows of table "t" 5584 └Output field names ["a" "b" "c"] 5585 5586 ---- 854 5587 SELECT * FROM department; 5588 ┌Iterate all rows of table "department" 5589 └Output field names ["DepartmentName"] 5590 5591 ---- 855 5592 SELECT * FROM department; 5593 ┌Iterate all rows of table "department" 5594 └Output field names ["DepartmentName"] 5595 5596 ---- 857 5597 SELECT * FROM department; 5598 ┌Iterate all rows of table "department" 5599 └Output field names ["DepartmentName"] 5600 5601 ---- 858 5602 SELECT TimeStamp IS NOT NULL FROM t; 5603 ┌Iterate all rows of table "t" 5604 └Output field names ["TimeStamp"] 5605 ┌Evaluate TimeStamp IS NOT NULL as "", 5606 └Output field names [""] 5607 5608 ---- 861 5609 SELECT TimeStamp IS NOT NULL FROM t; 5610 ┌Iterate all rows of table "t" 5611 └Output field names ["TimeStamp"] 5612 ┌Evaluate TimeStamp IS NOT NULL as "", 5613 └Output field names [""] 5614 5615 ---- 862 5616 SELECT TimeStamp IS NOT NULL FROM t; 5617 ┌Iterate all rows of table "t" 5618 └Output field names ["TimeStamp"] 5619 ┌Evaluate TimeStamp IS NOT NULL as "", 5620 └Output field names [""] 5621 5622 ---- 864 5623 SELECT Event FROM t; 5624 ┌Iterate all rows of table "t" 5625 └Output field names ["Event"] 5626 5627 ---- 865 5628 SELECT b FROM t ORDER BY b DESC; 5629 ┌Iterate all rows of table "t" 5630 └Output field names ["a" "b" "c"] 5631 ┌Evaluate b as "b", 5632 └Output field names ["b"] 5633 ┌Order descending by b, 5634 └Output field names ["b"] 5635 5636 ---- 866 5637 SELECT b FROM t ORDER BY b DESC; 5638 ┌Iterate all rows of table "t" 5639 └Output field names ["a" "b" "c"] 5640 ┌Evaluate b as "b", 5641 └Output field names ["b"] 5642 ┌Order descending by b, 5643 └Output field names ["b"] 5644 5645 ---- 868 5646 SELECT b FROM t ORDER BY b DESC; 5647 ┌Iterate all rows of table "t" 5648 └Output field names ["a" "b" "c"] 5649 ┌Evaluate b as "b", 5650 └Output field names ["b"] 5651 ┌Order descending by b, 5652 └Output field names ["b"] 5653 5654 ---- 870 5655 SELECT b FROM t ORDER BY b DESC; 5656 ┌Iterate all rows of table "t" 5657 └Output field names ["a" "b" "c"] 5658 ┌Evaluate b as "b", 5659 └Output field names ["b"] 5660 ┌Order descending by b, 5661 └Output field names ["b"] 5662 5663 ---- 871 5664 SELECT * FROM employee LEFT OUTER JOIN department ON employee.DepartmentID == department.DepartmentID ORDER BY employee.LastName; 5665 ┌Compute Cartesian product of 5666 │ ┌Iterate all rows of table "employee" 5667 │ └Output field names ["LastName" "DepartmentID"] 5668 │ ┌Iterate all rows of table "department" 5669 │ └Output field names ["DepartmentID" "DepartmentName"] 5670 │ Extend the product with all NULL rows of "department" when no match for employee.DepartmentID == department.DepartmentID 5671 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5672 ┌Order by employee.LastName, 5673 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5674 5675 ---- 872 5676 SELECT * FROM employee LEFT OUTER JOIN department ON employee.DepartmentID == department.DepartmentID ORDER BY employee.LastName; 5677 ┌Compute Cartesian product of 5678 │ ┌Iterate all rows of table "employee" 5679 │ └Output field names ["LastName" "DepartmentID"] 5680 │ ┌Iterate all rows of table "department" 5681 │ └Output field names ["DepartmentID" "DepartmentName"] 5682 │ Extend the product with all NULL rows of "department" when no match for employee.DepartmentID == department.DepartmentID 5683 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5684 ┌Order by employee.LastName, 5685 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5686 5687 ---- 873 5688 SELECT * FROM employee RIGHT OUTER JOIN department ON employee.DepartmentID == department.DepartmentID ORDER BY employee.LastName; 5689 ┌Compute Cartesian product of 5690 │ ┌Iterate all rows of table "employee" 5691 │ └Output field names ["LastName" "DepartmentID"] 5692 │ ┌Iterate all rows of table "department" 5693 │ └Output field names ["DepartmentID" "DepartmentName"] 5694 │ Extend the product with all NULL rows of all but "department" when no match for employee.DepartmentID == department.DepartmentID 5695 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5696 ┌Order by employee.LastName, 5697 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5698 5699 ---- 874 5700 SELECT * FROM employee RIGHT OUTER JOIN department ON employee.DepartmentID == department.DepartmentID ORDER BY employee.LastName; 5701 ┌Compute Cartesian product of 5702 │ ┌Iterate all rows of table "employee" 5703 │ └Output field names ["LastName" "DepartmentID"] 5704 │ ┌Iterate all rows of table "department" 5705 │ └Output field names ["DepartmentID" "DepartmentName"] 5706 │ Extend the product with all NULL rows of all but "department" when no match for employee.DepartmentID == department.DepartmentID 5707 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5708 ┌Order by employee.LastName, 5709 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5710 5711 ---- 875 5712 SELECT * FROM employee FULL OUTER JOIN department ON employee.DepartmentID == none; 5713 ┌Compute Cartesian product of 5714 │ ┌Iterate all rows of table "employee" 5715 │ └Output field names ["LastName" "DepartmentID"] 5716 │ ┌Iterate all rows of table "department" 5717 │ └Output field names ["DepartmentID" "DepartmentName"] 5718 │ Extend the product with all NULL rows of "department" when no match for employee.DepartmentID == none 5719 │ Extend the product with all NULL rows of all but "department" when no match for employee.DepartmentID == none 5720 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5721 5722 ---- 876 5723 SELECT * FROM employee FULL OUTER JOIN department ON employee.DepartmentID == none; 5724 ┌Compute Cartesian product of 5725 │ ┌Iterate all rows of table "employee" 5726 │ └Output field names ["LastName" "DepartmentID"] 5727 │ ┌Iterate all rows of table "department" 5728 │ └Output field names ["DepartmentID" "DepartmentName"] 5729 │ Extend the product with all NULL rows of "department" when no match for employee.DepartmentID == none 5730 │ Extend the product with all NULL rows of all but "department" when no match for employee.DepartmentID == none 5731 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5732 5733 ---- 877 5734 SELECT * FROM t1 LEFT OUTER JOIN t2 ON t1.s1 == t2.s1; 5735 ┌Compute Cartesian product of 5736 │ ┌Iterate all rows of table "t1" 5737 │ └Output field names ["s1"] 5738 │ ┌Iterate all rows of table "t2" 5739 │ └Output field names ["s1"] 5740 │ Extend the product with all NULL rows of "t2" when no match for t1.s1 == t2.s1 5741 └Output field names ["t1.s1" "t2.s1"] 5742 5743 ---- 878 5744 SELECT * FROM a LEFT OUTER JOIN b ON a.i == b.i ORDER BY a.s, a.i, b.s, b.i; 5745 ┌Compute Cartesian product of 5746 │ ┌Iterate all rows of table "a" 5747 │ └Output field names ["i" "s"] 5748 │ ┌Iterate all rows of table "b" 5749 │ └Output field names ["i" "s"] 5750 │ Extend the product with all NULL rows of "b" when no match for a.i == b.i 5751 └Output field names ["a.i" "a.s" "b.i" "b.s"] 5752 ┌Order by a.s, a.i, b.s, b.i, 5753 └Output field names ["a.i" "a.s" "b.i" "b.s"] 5754 5755 ---- 879 5756 SELECT * FROM a RIGHT OUTER JOIN b ON a.i == b.i ORDER BY a.s, a.i, b.s, b.i; 5757 ┌Compute Cartesian product of 5758 │ ┌Iterate all rows of table "a" 5759 │ └Output field names ["i" "s"] 5760 │ ┌Iterate all rows of table "b" 5761 │ └Output field names ["i" "s"] 5762 │ Extend the product with all NULL rows of all but "b" when no match for a.i == b.i 5763 └Output field names ["a.i" "a.s" "b.i" "b.s"] 5764 ┌Order by a.s, a.i, b.s, b.i, 5765 └Output field names ["a.i" "a.s" "b.i" "b.s"] 5766 5767 ---- 880 5768 SELECT * FROM b LEFT OUTER JOIN a ON a.i == b.i ORDER BY a.s, a.i, b.s, b.i; 5769 ┌Compute Cartesian product of 5770 │ ┌Iterate all rows of table "b" 5771 │ └Output field names ["i" "s"] 5772 │ ┌Iterate all rows of table "a" 5773 │ └Output field names ["i" "s"] 5774 │ Extend the product with all NULL rows of "a" when no match for a.i == b.i 5775 └Output field names ["b.i" "b.s" "a.i" "a.s"] 5776 ┌Order by a.s, a.i, b.s, b.i, 5777 └Output field names ["b.i" "b.s" "a.i" "a.s"] 5778 5779 ---- 881 5780 SELECT * FROM b RIGHT OUTER JOIN a ON a.i == b.i ORDER BY a.s, a.i, b.s, b.i; 5781 ┌Compute Cartesian product of 5782 │ ┌Iterate all rows of table "b" 5783 │ └Output field names ["i" "s"] 5784 │ ┌Iterate all rows of table "a" 5785 │ └Output field names ["i" "s"] 5786 │ Extend the product with all NULL rows of all but "a" when no match for a.i == b.i 5787 └Output field names ["b.i" "b.s" "a.i" "a.s"] 5788 ┌Order by a.s, a.i, b.s, b.i, 5789 └Output field names ["b.i" "b.s" "a.i" "a.s"] 5790 5791 ---- 882 5792 SELECT * FROM a FULL OUTER JOIN b ON a.i == b.i ORDER BY a.s, a.i, b.s, b.i; 5793 ┌Compute Cartesian product of 5794 │ ┌Iterate all rows of table "a" 5795 │ └Output field names ["i" "s"] 5796 │ ┌Iterate all rows of table "b" 5797 │ └Output field names ["i" "s"] 5798 │ Extend the product with all NULL rows of "b" when no match for a.i == b.i 5799 │ Extend the product with all NULL rows of all but "b" when no match for a.i == b.i 5800 └Output field names ["a.i" "a.s" "b.i" "b.s"] 5801 ┌Order by a.s, a.i, b.s, b.i, 5802 └Output field names ["a.i" "a.s" "b.i" "b.s"] 5803 5804 ---- 883 5805 SELECT * FROM a FULL OUTER JOIN b ON a.i == b.i ORDER BY a.s, a.i, b.s, b.i; 5806 ┌Compute Cartesian product of 5807 │ ┌Iterate all rows of table "a" 5808 │ └Output field names ["i" "s"] 5809 │ ┌Iterate all rows of table "b" 5810 │ └Output field names ["i" "s"] 5811 │ Extend the product with all NULL rows of "b" when no match for a.i == b.i 5812 │ Extend the product with all NULL rows of all but "b" when no match for a.i == b.i 5813 └Output field names ["a.i" "a.s" "b.i" "b.s"] 5814 ┌Order by a.s, a.i, b.s, b.i, 5815 └Output field names ["a.i" "a.s" "b.i" "b.s"] 5816 5817 ---- 884 5818 SELECT * FROM employee FULL OUTER JOIN department ON employee.DepartmentID == department.DepartmentID ORDER BY employee.LastName; 5819 ┌Compute Cartesian product of 5820 │ ┌Iterate all rows of table "employee" 5821 │ └Output field names ["LastName" "DepartmentID"] 5822 │ ┌Iterate all rows of table "department" 5823 │ └Output field names ["DepartmentID" "DepartmentName"] 5824 │ Extend the product with all NULL rows of "department" when no match for employee.DepartmentID == department.DepartmentID 5825 │ Extend the product with all NULL rows of all but "department" when no match for employee.DepartmentID == department.DepartmentID 5826 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5827 ┌Order by employee.LastName, 5828 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5829 5830 ---- 885 5831 SELECT * FROM employee FULL OUTER JOIN department ON employee.DepartmentID == department.DepartmentID ORDER BY employee.LastName; 5832 ┌Compute Cartesian product of 5833 │ ┌Iterate all rows of table "employee" 5834 │ └Output field names ["LastName" "DepartmentID"] 5835 │ ┌Iterate all rows of table "department" 5836 │ └Output field names ["DepartmentID" "DepartmentName"] 5837 │ Extend the product with all NULL rows of "department" when no match for employee.DepartmentID == department.DepartmentID 5838 │ Extend the product with all NULL rows of all but "department" when no match for employee.DepartmentID == department.DepartmentID 5839 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5840 ┌Order by employee.LastName, 5841 └Output field names ["employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5842 5843 ---- 886 5844 SELECT * FROM t,employee LEFT OUTER JOIN department ON employee.DepartmentID == department.DepartmentID ORDER BY t.s, employee.LastName; 5845 ┌Compute Cartesian product of 5846 │ ┌Iterate all rows of table "t" 5847 │ └Output field names ["s"] 5848 │ ┌Iterate all rows of table "employee" 5849 │ └Output field names ["LastName" "DepartmentID"] 5850 │ ┌Iterate all rows of table "department" 5851 │ └Output field names ["DepartmentID" "DepartmentName"] 5852 │ Extend the product with all NULL rows of "department" when no match for employee.DepartmentID == department.DepartmentID 5853 └Output field names ["t.s" "employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5854 ┌Order by t.s, employee.LastName, 5855 └Output field names ["t.s" "employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5856 5857 ---- 887 5858 SELECT * FROM t,employee RIGHT OUTER JOIN department ON employee.DepartmentID == department.DepartmentID ORDER BY t.s, employee.LastName; 5859 ┌Compute Cartesian product of 5860 │ ┌Iterate all rows of table "t" 5861 │ └Output field names ["s"] 5862 │ ┌Iterate all rows of table "employee" 5863 │ └Output field names ["LastName" "DepartmentID"] 5864 │ ┌Iterate all rows of table "department" 5865 │ └Output field names ["DepartmentID" "DepartmentName"] 5866 │ Extend the product with all NULL rows of all but "department" when no match for employee.DepartmentID == department.DepartmentID 5867 └Output field names ["t.s" "employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5868 ┌Order by t.s, employee.LastName, 5869 └Output field names ["t.s" "employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5870 5871 ---- 888 5872 SELECT * FROM t,employee FULL OUTER JOIN department ON employee.DepartmentID == department.DepartmentID ORDER BY t.s, employee.LastName; 5873 ┌Compute Cartesian product of 5874 │ ┌Iterate all rows of table "t" 5875 │ └Output field names ["s"] 5876 │ ┌Iterate all rows of table "employee" 5877 │ └Output field names ["LastName" "DepartmentID"] 5878 │ ┌Iterate all rows of table "department" 5879 │ └Output field names ["DepartmentID" "DepartmentName"] 5880 │ Extend the product with all NULL rows of "department" when no match for employee.DepartmentID == department.DepartmentID 5881 │ Extend the product with all NULL rows of all but "department" when no match for employee.DepartmentID == department.DepartmentID 5882 └Output field names ["t.s" "employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5883 ┌Order by t.s, employee.LastName, 5884 └Output field names ["t.s" "employee.LastName" "employee.DepartmentID" "department.DepartmentID" "department.DepartmentName"] 5885 5886 ---- 889 5887 SELECT * FROM __Table WHERE !hasPrefix(Name, "__") ORDER BY Name; 5888 ┌Iterate all rows of table "__Table" 5889 └Output field names ["Name" "Schema"] 5890 ┌Filter on !hasPrefix(Name, "__") 5891 └Output field names ["Name" "Schema"] 5892 ┌Order by Name, 5893 └Output field names ["Name" "Schema"] 5894 5895 ---- 890 5896 SELECT * FROM __Column2 ORDER BY TableName, Name; 5897 ┌Iterate all rows of table "__Column2" 5898 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5899 ┌Order by TableName, Name, 5900 └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5901 5902 ---- 891 5903 SELECT __Column.TableName, __Column.Ordinal, __Column.Name, __Column.Type, __Column2.NotNull, __Column2.ConstraintExpr, __Column2.DefaultExpr FROM __Column LEFT OUTER JOIN __Column2 ON __Column.TableName == __Column2.TableName && __Column.Name == __Column2.Name WHERE !hasPrefix(__Column.TableName, "__") ORDER BY __Column.TableName, __Column.Ordinal; 5904 ┌Compute Cartesian product of 5905 │ ┌Iterate all rows of table "__Column" 5906 │ └Output field names ["TableName" "Ordinal" "Name" "Type"] 5907 │ ┌Iterate all rows of table "__Column2" 5908 │ └Output field names ["TableName" "Name" "NotNull" "ConstraintExpr" "DefaultExpr"] 5909 │ Extend the product with all NULL rows of "__Column2" when no match for __Column.TableName == __Column2.TableName && __Column.Name == __Column2.Name 5910 └Output field names ["__Column.TableName" "__Column.Ordinal" "__Column.Name" "__Column.Type" "__Column2.TableName" "__Column2.Name" "__Column2.NotNull" "__Column2.ConstraintExpr" "__Column2.DefaultExpr"] 5911 ┌Filter on !hasPrefix(__Column.TableName, "__") 5912 └Output field names ["__Column.TableName" "__Column.Ordinal" "__Column.Name" "__Column.Type" "__Column2.TableName" "__Column2.Name" "__Column2.NotNull" "__Column2.ConstraintExpr" "__Column2.DefaultExpr"] 5913 ┌Evaluate __Column.TableName as "__Column.TableName", __Column.Ordinal as "__Column.Ordinal", __Column.Name as "__Column.Name", __Column.Type as "__Column.Type", __Column2.NotNull as "__Column2.NotNull", __Column2.ConstraintExpr as "__Column2.ConstraintExpr", __Column2.DefaultExpr as "__Column2.DefaultExpr", 5914 └Output field names ["__Column.TableName" "__Column.Ordinal" "__Column.Name" "__Column.Type" "__Column2.NotNull" "__Column2.ConstraintExpr" "__Column2.DefaultExpr"] 5915 ┌Order by __Column.TableName, __Column.Ordinal, 5916 └Output field names ["__Column.TableName" "__Column.Ordinal" "__Column.Name" "__Column.Type" "__Column2.NotNull" "__Column2.ConstraintExpr" "__Column2.DefaultExpr"] 5917 5918 ---- 902 5919 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__"); 5920 ┌Iterate all rows of table "__Index2" 5921 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 5922 ┌Filter on !hasPrefix(TableName, "__") 5923 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 5924 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 5925 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 5926 5927 ---- 903 5928 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x";); 5929 ┌Iterate all rows of table "__Index2_Expr" 5930 └Output field names ["Index2_ID" "Expr"] 5931 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x";) 5932 └Output field names ["Index2_ID" "Expr"] 5933 ┌Evaluate Expr as "Expr", 5934 └Output field names ["Expr"] 5935 5936 ---- 904 5937 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__"); 5938 ┌Iterate all rows of table "__Index2" 5939 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 5940 ┌Filter on !hasPrefix(TableName, "__") 5941 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 5942 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 5943 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 5944 5945 ---- 905 5946 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x";); 5947 ┌Iterate all rows of table "__Index2_Expr" 5948 └Output field names ["Index2_ID" "Expr"] 5949 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x";) 5950 └Output field names ["Index2_ID" "Expr"] 5951 ┌Evaluate Expr as "Expr", 5952 └Output field names ["Expr"] 5953 5954 ---- 906 5955 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 5956 ┌Iterate all rows of table "__Index2" 5957 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 5958 ┌Filter on !hasPrefix(TableName, "__") 5959 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 5960 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 5961 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 5962 ┌Order by IndexName, 5963 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 5964 5965 ---- 907 5966 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 5967 ┌Iterate all rows of table "__Index2_Expr" 5968 └Output field names ["Index2_ID" "Expr"] 5969 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 5970 └Output field names ["Index2_ID" "Expr"] 5971 ┌Evaluate Expr as "Expr", 5972 └Output field names ["Expr"] 5973 ┌Order by Expr, 5974 └Output field names ["Expr"] 5975 5976 ---- 908 5977 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 5978 ┌Iterate all rows of table "__Index2" 5979 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 5980 ┌Filter on !hasPrefix(TableName, "__") 5981 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 5982 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 5983 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 5984 ┌Order by IndexName, 5985 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 5986 5987 ---- 909 5988 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 5989 ┌Iterate all rows of table "__Index2" 5990 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 5991 ┌Filter on !hasPrefix(TableName, "__") 5992 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 5993 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 5994 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 5995 ┌Order by IndexName, 5996 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 5997 5998 ---- 910 5999 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 6000 ┌Iterate all rows of table "__Index2" 6001 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6002 ┌Filter on !hasPrefix(TableName, "__") 6003 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6004 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 6005 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6006 ┌Order by IndexName, 6007 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6008 6009 ---- 911 6010 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6011 ┌Iterate all rows of table "__Index2_Expr" 6012 └Output field names ["Index2_ID" "Expr"] 6013 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6014 └Output field names ["Index2_ID" "Expr"] 6015 ┌Evaluate Expr as "Expr", 6016 └Output field names ["Expr"] 6017 ┌Order by Expr, 6018 └Output field names ["Expr"] 6019 6020 ---- 912 6021 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6022 ┌Iterate all rows of table "__Index2_Expr" 6023 └Output field names ["Index2_ID" "Expr"] 6024 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6025 └Output field names ["Index2_ID" "Expr"] 6026 ┌Evaluate Expr as "Expr", 6027 └Output field names ["Expr"] 6028 ┌Order by Expr, 6029 └Output field names ["Expr"] 6030 6031 ---- 913 6032 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6033 ┌Iterate all rows of table "__Index2_Expr" 6034 └Output field names ["Index2_ID" "Expr"] 6035 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6036 └Output field names ["Index2_ID" "Expr"] 6037 ┌Evaluate Expr as "Expr", 6038 └Output field names ["Expr"] 6039 ┌Order by Expr, 6040 └Output field names ["Expr"] 6041 6042 ---- 914 6043 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 6044 ┌Iterate all rows of table "__Index2" 6045 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6046 ┌Filter on !hasPrefix(TableName, "__") 6047 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6048 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 6049 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6050 ┌Order by IndexName, 6051 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6052 6053 ---- 915 6054 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 6055 ┌Iterate all rows of table "__Index2" 6056 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6057 ┌Filter on !hasPrefix(TableName, "__") 6058 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6059 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 6060 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6061 ┌Order by IndexName, 6062 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6063 6064 ---- 916 6065 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 6066 ┌Iterate all rows of table "__Index2" 6067 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6068 ┌Filter on !hasPrefix(TableName, "__") 6069 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6070 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 6071 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6072 ┌Order by IndexName, 6073 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6074 6075 ---- 917 6076 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 6077 ┌Iterate all rows of table "__Index2" 6078 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6079 ┌Filter on !hasPrefix(TableName, "__") 6080 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6081 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 6082 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6083 ┌Order by IndexName, 6084 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6085 6086 ---- 918 6087 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 6088 ┌Iterate all rows of table "__Index2" 6089 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6090 ┌Filter on !hasPrefix(TableName, "__") 6091 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6092 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 6093 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6094 ┌Order by IndexName, 6095 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6096 6097 ---- 919 6098 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6099 ┌Iterate all rows of table "__Index2_Expr" 6100 └Output field names ["Index2_ID" "Expr"] 6101 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6102 └Output field names ["Index2_ID" "Expr"] 6103 ┌Evaluate Expr as "Expr", 6104 └Output field names ["Expr"] 6105 ┌Order by Expr, 6106 └Output field names ["Expr"] 6107 6108 ---- 920 6109 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6110 ┌Iterate all rows of table "__Index2_Expr" 6111 └Output field names ["Index2_ID" "Expr"] 6112 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6113 └Output field names ["Index2_ID" "Expr"] 6114 ┌Evaluate Expr as "Expr", 6115 └Output field names ["Expr"] 6116 ┌Order by Expr, 6117 └Output field names ["Expr"] 6118 6119 ---- 921 6120 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6121 ┌Iterate all rows of table "__Index2_Expr" 6122 └Output field names ["Index2_ID" "Expr"] 6123 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6124 └Output field names ["Index2_ID" "Expr"] 6125 ┌Evaluate Expr as "Expr", 6126 └Output field names ["Expr"] 6127 ┌Order by Expr, 6128 └Output field names ["Expr"] 6129 6130 ---- 922 6131 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6132 ┌Iterate all rows of table "__Index2_Expr" 6133 └Output field names ["Index2_ID" "Expr"] 6134 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6135 └Output field names ["Index2_ID" "Expr"] 6136 ┌Evaluate Expr as "Expr", 6137 └Output field names ["Expr"] 6138 ┌Order by Expr, 6139 └Output field names ["Expr"] 6140 6141 ---- 923 6142 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6143 ┌Iterate all rows of table "__Index2_Expr" 6144 └Output field names ["Index2_ID" "Expr"] 6145 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6146 └Output field names ["Index2_ID" "Expr"] 6147 ┌Evaluate Expr as "Expr", 6148 └Output field names ["Expr"] 6149 ┌Order by Expr, 6150 └Output field names ["Expr"] 6151 6152 ---- 924 6153 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 6154 ┌Iterate all rows of table "__Index2" 6155 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6156 ┌Filter on !hasPrefix(TableName, "__") 6157 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6158 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 6159 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6160 ┌Order by IndexName, 6161 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6162 6163 ---- 925 6164 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 6165 ┌Iterate all rows of table "__Index2" 6166 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6167 ┌Filter on !hasPrefix(TableName, "__") 6168 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6169 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 6170 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6171 ┌Order by IndexName, 6172 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6173 6174 ---- 926 6175 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 6176 ┌Iterate all rows of table "__Index2" 6177 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6178 ┌Filter on !hasPrefix(TableName, "__") 6179 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6180 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 6181 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6182 ┌Order by IndexName, 6183 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6184 6185 ---- 927 6186 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 6187 ┌Iterate all rows of table "__Index2" 6188 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6189 ┌Filter on !hasPrefix(TableName, "__") 6190 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6191 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 6192 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6193 ┌Order by IndexName, 6194 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6195 6196 ---- 928 6197 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 6198 ┌Iterate all rows of table "__Index2" 6199 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6200 ┌Filter on !hasPrefix(TableName, "__") 6201 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6202 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 6203 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6204 ┌Order by IndexName, 6205 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6206 6207 ---- 929 6208 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 6209 ┌Iterate all rows of table "__Index2" 6210 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6211 ┌Filter on !hasPrefix(TableName, "__") 6212 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6213 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 6214 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6215 ┌Order by IndexName, 6216 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6217 6218 ---- 930 6219 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE !hasPrefix(TableName, "__") ORDER BY IndexName; 6220 ┌Iterate all rows of table "__Index2" 6221 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6222 ┌Filter on !hasPrefix(TableName, "__") 6223 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6224 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 6225 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6226 ┌Order by IndexName, 6227 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6228 6229 ---- 931 6230 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6231 ┌Iterate all rows of table "__Index2_Expr" 6232 └Output field names ["Index2_ID" "Expr"] 6233 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6234 └Output field names ["Index2_ID" "Expr"] 6235 ┌Evaluate Expr as "Expr", 6236 └Output field names ["Expr"] 6237 ┌Order by Expr, 6238 └Output field names ["Expr"] 6239 6240 ---- 932 6241 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6242 ┌Iterate all rows of table "__Index2_Expr" 6243 └Output field names ["Index2_ID" "Expr"] 6244 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6245 └Output field names ["Index2_ID" "Expr"] 6246 ┌Evaluate Expr as "Expr", 6247 └Output field names ["Expr"] 6248 ┌Order by Expr, 6249 └Output field names ["Expr"] 6250 6251 ---- 933 6252 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6253 ┌Iterate all rows of table "__Index2_Expr" 6254 └Output field names ["Index2_ID" "Expr"] 6255 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6256 └Output field names ["Index2_ID" "Expr"] 6257 ┌Evaluate Expr as "Expr", 6258 └Output field names ["Expr"] 6259 ┌Order by Expr, 6260 └Output field names ["Expr"] 6261 6262 ---- 934 6263 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6264 ┌Iterate all rows of table "__Index2_Expr" 6265 └Output field names ["Index2_ID" "Expr"] 6266 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6267 └Output field names ["Index2_ID" "Expr"] 6268 ┌Evaluate Expr as "Expr", 6269 └Output field names ["Expr"] 6270 ┌Order by Expr, 6271 └Output field names ["Expr"] 6272 6273 ---- 935 6274 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6275 ┌Iterate all rows of table "__Index2_Expr" 6276 └Output field names ["Index2_ID" "Expr"] 6277 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6278 └Output field names ["Index2_ID" "Expr"] 6279 ┌Evaluate Expr as "Expr", 6280 └Output field names ["Expr"] 6281 ┌Order by Expr, 6282 └Output field names ["Expr"] 6283 6284 ---- 936 6285 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6286 ┌Iterate all rows of table "__Index2_Expr" 6287 └Output field names ["Index2_ID" "Expr"] 6288 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6289 └Output field names ["Index2_ID" "Expr"] 6290 ┌Evaluate Expr as "Expr", 6291 └Output field names ["Expr"] 6292 ┌Order by Expr, 6293 └Output field names ["Expr"] 6294 6295 ---- 937 6296 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) ORDER BY Expr; 6297 ┌Iterate all rows of table "__Index2_Expr" 6298 └Output field names ["Index2_ID" "Expr"] 6299 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x" || IndexName == "y";) 6300 └Output field names ["Index2_ID" "Expr"] 6301 ┌Evaluate Expr as "Expr", 6302 └Output field names ["Expr"] 6303 ┌Order by Expr, 6304 └Output field names ["Expr"] 6305 6306 ---- 938 6307 SELECT TableName, IndexName, IsUnique, IsSimple, Root > 0 || Root == -1 FROM __Index2 WHERE TableName == "t"; 6308 ┌Iterate all rows of table "__Index2" using index "__xIndex2_TableName" where TableName == "t" 6309 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" "Root"] 6310 ┌Evaluate TableName as "TableName", IndexName as "IndexName", IsUnique as "IsUnique", IsSimple as "IsSimple", Root > 0 || Root == -1 as "", 6311 └Output field names ["TableName" "IndexName" "IsUnique" "IsSimple" ""] 6312 6313 ---- 939 6314 SELECT Expr FROM __Index2_Expr WHERE Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x";) ORDER BY Expr; 6315 ┌Iterate all rows of table "__Index2_Expr" 6316 └Output field names ["Index2_ID" "Expr"] 6317 ┌Filter on Index2_ID IN (SELECT id() FROM __Index2 WHERE IndexName == "x";) 6318 └Output field names ["Index2_ID" "Expr"] 6319 ┌Evaluate Expr as "Expr", 6320 └Output field names ["Expr"] 6321 ┌Order by Expr, 6322 └Output field names ["Expr"] 6323 6324 ---- 940 6325 SELECT * FROM t; 6326 ┌Iterate all rows of table "t" 6327 └Output field names ["a" "b" "c"] 6328 6329 ---- 941 6330 SELECT * FROM x; 6331 ┌Iterate all values of index "x" 6332 └Output field names N/A 6333 6334 ---- 942 6335 SELECT * FROM t; 6336 ┌Iterate all rows of table "t" 6337 └Output field names ["a" "b" "c"] 6338 6339 ---- 943 6340 SELECT * FROM x; 6341 ┌Iterate all values of index "x" 6342 └Output field names N/A 6343 6344 ---- 950 6345 SELECT * FROM x; 6346 ┌Iterate all values of index "x" 6347 └Output field names N/A 6348 6349 ---- 952 6350 SELECT * FROM x; 6351 ┌Iterate all values of index "x" 6352 └Output field names N/A 6353 6354 ---- 953 6355 SELECT * FROM x; 6356 ┌Iterate all values of index "x" 6357 └Output field names N/A 6358 6359 ---- 954 6360 SELECT * FROM x; 6361 ┌Iterate all values of index "x" 6362 └Output field names N/A 6363 6364 ---- 955 6365 SELECT * FROM x; 6366 ┌Iterate all values of index "x" 6367 └Output field names N/A 6368 6369 ---- 956 6370 SELECT * FROM x; 6371 ┌Iterate all values of index "x" 6372 └Output field names N/A 6373 6374 ---- 957 6375 SELECT * FROM x; 6376 ┌Iterate all values of index "x" 6377 └Output field names N/A 6378 6379 ---- 959 6380 SELECT * FROM x; 6381 ┌Iterate all values of index "x" 6382 └Output field names N/A 6383 6384 ---- 963 6385 SELECT * FROM t; 6386 ┌Iterate all rows of table "t" 6387 └Output field names ["c"] 6388 6389 ---- 964 6390 SELECT * FROM t; 6391 ┌Iterate all rows of table "t" 6392 └Output field names ["c"] 6393 6394 ---- 966 6395 SELECT * FROM x; 6396 ┌Iterate all values of index "x" 6397 └Output field names N/A 6398 6399 ---- 967 6400 SELECT * FROM x; 6401 ┌Iterate all values of index "x" 6402 └Output field names N/A 6403 6404 ---- 968 6405 SELECT * FROM y; 6406 ┌Iterate all values of index "y" 6407 └Output field names N/A 6408 6409 ---- 970 6410 SELECT * FROM x; 6411 ┌Iterate all values of index "x" 6412 └Output field names N/A 6413 6414 ---- 971 6415 SELECT * FROM x; 6416 ┌Iterate all values of index "x" 6417 └Output field names N/A 6418 6419 ---- 972 6420 SELECT * FROM x; 6421 ┌Iterate all values of index "x" 6422 └Output field names N/A 6423 6424 ---- 974 6425 SELECT * FROM x; 6426 ┌Iterate all values of index "x" 6427 └Output field names N/A 6428 6429 ---- 975 6430 SELECT * FROM x; 6431 ┌Iterate all values of index "x" 6432 └Output field names N/A 6433 6434 ---- 981 6435 EXPLAIN SELECT * FROM t; 6436 ┌Iterate all rows of table "t" 6437 └Output field names ["i"] 6438 6439 ---- 982 6440 EXPLAIN EXPLAIN SELECT * FROM t; 6441 ┌Iterate all rows of table "t" 6442 └Output field names ["i"] 6443 6444 ---- 983 6445 SELECT * FROM t WHERE i != 42; 6446 ┌Iterate all rows of table "t" 6447 └Output field names ["i"] 6448 ┌Filter on i != 42 6449 │Possibly useful indices 6450 │CREATE INDEX xt_i ON t(i); 6451 └Output field names ["i"] 6452 6453 ---- 984 6454 SELECT * FROM t WHERE i != 42; 6455 ┌Iterate all rows of table "t" using index "x" where i != 42 6456 └Output field names ["i"] 6457 6458 ---- 985 6459 SELECT * FROM t WHERE i != 42; 6460 ┌Iterate all rows of table "t" using index "x" where i != 42 6461 └Output field names ["i"] 6462 6463 ---- 986 6464 SELECT * FROM t WHERE id() > 0; 6465 ┌Iterate all rows of table "t" 6466 └Output field names ["i"] 6467 6468 ---- 987 6469 SELECT * FROM t WHERE id() > 0; 6470 ┌Iterate all rows of table "t" 6471 └Output field names ["i"] 6472 6473 ---- 988 6474 SELECT * FROM t WHERE i IS NULL; 6475 ┌Iterate all rows of table "t" 6476 └Output field names ["i" "j"] 6477 ┌Filter on i IS NULL 6478 │Possibly useful indices 6479 │CREATE INDEX xt_i ON t(i); 6480 └Output field names ["i" "j"] 6481 6482 ---- 989 6483 SELECT * FROM t WHERE i IS NULL; 6484 ┌Iterate all rows of table "t" using index "x" where i IS NULL 6485 └Output field names ["i" "j"] 6486 6487 ---- 990 6488 SELECT * FROM t WHERE i IS NOT NULL; 6489 ┌Iterate all rows of table "t" 6490 └Output field names ["i"] 6491 ┌Filter on i IS NOT NULL 6492 │Possibly useful indices 6493 │CREATE INDEX xt_i ON t(i); 6494 └Output field names ["i"] 6495 6496 ---- 991 6497 SELECT * FROM t WHERE i IS NOT NULL; 6498 ┌Iterate all rows of table "t" using index "x" where i IS NOT NULL 6499 └Output field names ["i"] 6500 6501 ---- 992 6502 SELECT * FROM t WHERE id() IS NULL; 6503 ┌Iterate no rows 6504 └Output field names ["i"] 6505 6506 ---- 993 6507 SELECT * FROM t WHERE id() IS NOT NULL; 6508 ┌Iterate all rows of table "t" 6509 └Output field names ["i"] 6510 6511 ---- 994 6512 SELECT * FROM t WHERE id() IS NULL; 6513 ┌Iterate no rows 6514 └Output field names ["i"] 6515 6516 ---- 995 6517 SELECT * FROM t WHERE id() IS NOT NULL; 6518 ┌Iterate all rows of table "t" 6519 └Output field names ["i"] 6520 6521 ---- 996 6522 SELECT * FROM t WHERE id() == 0; 6523 ┌Iterate no rows 6524 └Output field names ["i"] 6525 6526 ---- 997 6527 SELECT * FROM t WHERE id() == 0; 6528 ┌Iterate no rows 6529 └Output field names ["i"] 6530 6531 ---- 998 6532 SELECT * FROM t WHERE id() < 1; 6533 ┌Iterate no rows 6534 └Output field names ["i"] 6535 6536 ---- 999 6537 SELECT * FROM t WHERE id() < 1; 6538 ┌Iterate no rows 6539 └Output field names ["i"] 6540 6541 ---- 1000 6542 SELECT * FROM t WHERE id() <= 0; 6543 ┌Iterate no rows 6544 └Output field names ["i"] 6545 6546 ---- 1001 6547 SELECT * FROM t WHERE id() <= 0; 6548 ┌Iterate no rows 6549 └Output field names ["i"] 6550 6551 ---- 1002 6552 SELECT * FROM t WHERE id() > 0; 6553 ┌Iterate all rows of table "t" 6554 └Output field names ["i"] 6555 6556 ---- 1003 6557 SELECT * FROM t WHERE id() > 0; 6558 ┌Iterate all rows of table "t" 6559 └Output field names ["i"] 6560 6561 ---- 1004 6562 SELECT * FROM t WHERE id() >= 1; 6563 ┌Iterate all rows of table "t" 6564 └Output field names ["i"] 6565 6566 ---- 1005 6567 SELECT * FROM t WHERE id() >= 1; 6568 ┌Iterate all rows of table "t" 6569 └Output field names ["i"] 6570 6571 ---- 1006 6572 SELECT * FROM t WHERE id() != 0; 6573 ┌Iterate all rows of table "t" 6574 └Output field names ["i"] 6575 6576 ---- 1007 6577 SELECT * FROM t WHERE id() != 0; 6578 ┌Iterate all rows of table "t" 6579 └Output field names ["i"] 6580 6581 ---- 1008 6582 SELECT * FROM t WHERE i > -1 && i < 314 || i > 1000 && i < 2000; 6583 ┌Iterate all rows of table "t" 6584 └Output field names ["i"] 6585 ┌Filter on i > -1 && i < 314 || i > 1000 && i < 2000 6586 └Output field names ["i"] 6587 6588 ---- 1009 6589 SELECT i FROM t WHERE !b ORDER BY i; 6590 ┌Iterate all rows of table "t" using index "x" where !b 6591 └Output field names ["i" "b"] 6592 ┌Evaluate i as "i", 6593 └Output field names ["i"] 6594 ┌Order by i, 6595 └Output field names ["i"] 6596 6597 ---- 1010 6598 SELECT i FROM t WHERE i == 0 && i == -2; 6599 ┌Iterate no rows 6600 └Output field names ["i"] 6601 6602 ---- 1011 6603 SELECT i FROM t WHERE i == 0 && i == -1; 6604 ┌Iterate no rows 6605 └Output field names ["i"] 6606 6607 ---- 1012 6608 SELECT i FROM t WHERE i == 0 && i == 0; 6609 ┌Iterate all rows of table "t" using index "x" where i == 0 6610 └Output field names ["i"] 6611 6612 ---- 1013 6613 SELECT i FROM t WHERE i == 0 && i == 1; 6614 ┌Iterate no rows 6615 └Output field names ["i"] 6616 6617 ---- 1014 6618 SELECT i FROM t WHERE i == 0 && i == 2; 6619 ┌Iterate no rows 6620 └Output field names ["i"] 6621 6622 ---- 1015 6623 SELECT i FROM t WHERE i == 0 && i >= -2; 6624 ┌Iterate all rows of table "t" using index "x" where i == 0 6625 └Output field names ["i"] 6626 6627 ---- 1016 6628 SELECT i FROM t WHERE i == 0 && i >= -1; 6629 ┌Iterate all rows of table "t" using index "x" where i == 0 6630 └Output field names ["i"] 6631 6632 ---- 1017 6633 SELECT i FROM t WHERE i == 0 && i >= 0; 6634 ┌Iterate all rows of table "t" using index "x" where i == 0 6635 └Output field names ["i"] 6636 6637 ---- 1018 6638 SELECT i FROM t WHERE i == 0 && i >= 1; 6639 ┌Iterate no rows 6640 └Output field names ["i"] 6641 6642 ---- 1019 6643 SELECT i FROM t WHERE i == 0 && i >= 2; 6644 ┌Iterate no rows 6645 └Output field names ["i"] 6646 6647 ---- 1020 6648 SELECT i FROM t WHERE i == 0 && i > -2; 6649 ┌Iterate all rows of table "t" using index "x" where i == 0 6650 └Output field names ["i"] 6651 6652 ---- 1021 6653 SELECT i FROM t WHERE i == 0 && i > -1; 6654 ┌Iterate all rows of table "t" using index "x" where i == 0 6655 └Output field names ["i"] 6656 6657 ---- 1022 6658 SELECT i FROM t WHERE i == 0 && i > 0; 6659 ┌Iterate no rows 6660 └Output field names ["i"] 6661 6662 ---- 1023 6663 SELECT i FROM t WHERE i == 0 && i > 1; 6664 ┌Iterate no rows 6665 └Output field names ["i"] 6666 6667 ---- 1024 6668 SELECT i FROM t WHERE i == 0 && i > 2; 6669 ┌Iterate no rows 6670 └Output field names ["i"] 6671 6672 ---- 1025 6673 SELECT i FROM t WHERE i == 0 && i <= -2; 6674 ┌Iterate no rows 6675 └Output field names ["i"] 6676 6677 ---- 1026 6678 SELECT i FROM t WHERE i == 0 && i <= -1; 6679 ┌Iterate no rows 6680 └Output field names ["i"] 6681 6682 ---- 1027 6683 SELECT i FROM t WHERE i == 0 && i <= 0; 6684 ┌Iterate all rows of table "t" using index "x" where i == 0 6685 └Output field names ["i"] 6686 6687 ---- 1028 6688 SELECT i FROM t WHERE i == 0 && i <= 1; 6689 ┌Iterate all rows of table "t" using index "x" where i == 0 6690 └Output field names ["i"] 6691 6692 ---- 1029 6693 SELECT i FROM t WHERE i == 0 && i <= 2; 6694 ┌Iterate all rows of table "t" using index "x" where i == 0 6695 └Output field names ["i"] 6696 6697 ---- 1030 6698 SELECT i FROM t WHERE i == 0 && i < -2; 6699 ┌Iterate no rows 6700 └Output field names ["i"] 6701 6702 ---- 1031 6703 SELECT i FROM t WHERE i == 0 && i < -1; 6704 ┌Iterate no rows 6705 └Output field names ["i"] 6706 6707 ---- 1032 6708 SELECT i FROM t WHERE i == 0 && i < 0; 6709 ┌Iterate no rows 6710 └Output field names ["i"] 6711 6712 ---- 1033 6713 SELECT i FROM t WHERE i == 0 && i < 1; 6714 ┌Iterate all rows of table "t" using index "x" where i == 0 6715 └Output field names ["i"] 6716 6717 ---- 1034 6718 SELECT i FROM t WHERE i == 0 && i < 2; 6719 ┌Iterate all rows of table "t" using index "x" where i == 0 6720 └Output field names ["i"] 6721 6722 ---- 1035 6723 SELECT i FROM t WHERE i == 0 && i != -2; 6724 ┌Iterate all rows of table "t" using index "x" where i == 0 6725 └Output field names ["i"] 6726 6727 ---- 1036 6728 SELECT i FROM t WHERE i == 0 && i != -1; 6729 ┌Iterate all rows of table "t" using index "x" where i == 0 6730 └Output field names ["i"] 6731 6732 ---- 1037 6733 SELECT i FROM t WHERE i == 0 && i != 0; 6734 ┌Iterate no rows 6735 └Output field names ["i"] 6736 6737 ---- 1038 6738 SELECT i FROM t WHERE i == 0 && i != 1; 6739 ┌Iterate all rows of table "t" using index "x" where i == 0 6740 └Output field names ["i"] 6741 6742 ---- 1039 6743 SELECT i FROM t WHERE i == 0 && i != 2; 6744 ┌Iterate all rows of table "t" using index "x" where i == 0 6745 └Output field names ["i"] 6746 6747 ---- 1040 6748 SELECT * FROM t WHERE !b && b ORDER BY i; 6749 ┌Iterate no rows 6750 └Output field names ["i" "b"] 6751 6752 ---- 1041 6753 SELECT * FROM t WHERE !b && !b ORDER BY i; 6754 ┌Iterate all rows of table "t" using index "x" where !b 6755 └Output field names ["i" "b"] 6756 ┌Order by i, 6757 └Output field names ["i" "b"] 6758 6759 ---- 1042 6760 SELECT * FROM t WHERE b && !b ORDER BY i; 6761 ┌Iterate no rows 6762 └Output field names ["i" "b"] 6763 6764 ---- 1043 6765 SELECT * FROM t WHERE b && b ORDER BY i; 6766 ┌Iterate all rows of table "t" using index "x" where b 6767 └Output field names ["i" "b"] 6768 ┌Order by i, 6769 └Output field names ["i" "b"] 6770 6771 ---- 1045 6772 SELECT i FROM t WHERE i >= 0 && i == -2; 6773 ┌Iterate no rows 6774 └Output field names ["i"] 6775 6776 ---- 1046 6777 SELECT i FROM t WHERE i >= 0 && i == -1; 6778 ┌Iterate no rows 6779 └Output field names ["i"] 6780 6781 ---- 1047 6782 SELECT i FROM t WHERE i >= 0 && i == 0; 6783 ┌Iterate all rows of table "t" using index "x" where i == 0 6784 └Output field names ["i"] 6785 6786 ---- 1048 6787 SELECT i FROM t WHERE i >= 0 && i == 1; 6788 ┌Iterate all rows of table "t" using index "x" where i == 1 6789 └Output field names ["i"] 6790 6791 ---- 1049 6792 SELECT i FROM t WHERE i >= 0 && i == 2; 6793 ┌Iterate all rows of table "t" using index "x" where i == 2 6794 └Output field names ["i"] 6795 6796 ---- 1050 6797 SELECT i FROM t WHERE i >= 0 && i >= -2; 6798 ┌Iterate all rows of table "t" using index "x" where i >= 0 6799 └Output field names ["i"] 6800 6801 ---- 1051 6802 SELECT i FROM t WHERE i >= 0 && i >= -1; 6803 ┌Iterate all rows of table "t" using index "x" where i >= 0 6804 └Output field names ["i"] 6805 6806 ---- 1052 6807 SELECT i FROM t WHERE i >= 0 && i >= 0; 6808 ┌Iterate all rows of table "t" using index "x" where i >= 0 6809 └Output field names ["i"] 6810 6811 ---- 1053 6812 SELECT i FROM t WHERE i >= 0 && i >= 1; 6813 ┌Iterate all rows of table "t" using index "x" where i >= 1 6814 └Output field names ["i"] 6815 6816 ---- 1054 6817 SELECT i FROM t WHERE i >= 0 && i >= 2; 6818 ┌Iterate all rows of table "t" using index "x" where i >= 2 6819 └Output field names ["i"] 6820 6821 ---- 1055 6822 SELECT i FROM t WHERE i >= 0 && i > -2; 6823 ┌Iterate all rows of table "t" using index "x" where i >= 0 6824 └Output field names ["i"] 6825 6826 ---- 1056 6827 SELECT i FROM t WHERE i >= 0 && i > -1; 6828 ┌Iterate all rows of table "t" using index "x" where i >= 0 6829 └Output field names ["i"] 6830 6831 ---- 1057 6832 SELECT i FROM t WHERE i >= 0 && i > 0; 6833 ┌Iterate all rows of table "t" using index "x" where i > 0 6834 └Output field names ["i"] 6835 6836 ---- 1058 6837 SELECT i FROM t WHERE i >= 0 && i > 1; 6838 ┌Iterate all rows of table "t" using index "x" where i > 1 6839 └Output field names ["i"] 6840 6841 ---- 1059 6842 SELECT i FROM t WHERE i >= 0 && i > 2; 6843 ┌Iterate all rows of table "t" using index "x" where i > 2 6844 └Output field names ["i"] 6845 6846 ---- 1060 6847 SELECT i FROM t WHERE i >= 0 && i <= -2; 6848 ┌Iterate no rows 6849 └Output field names ["i"] 6850 6851 ---- 1061 6852 SELECT i FROM t WHERE i >= 0 && i <= -1; 6853 ┌Iterate no rows 6854 └Output field names ["i"] 6855 6856 ---- 1062 6857 SELECT i FROM t WHERE i >= 0 && i <= 0; 6858 ┌Iterate all rows of table "t" using index "x" where i == 0 6859 └Output field names ["i"] 6860 6861 ---- 1063 6862 SELECT i FROM t WHERE i >= 0 && i <= 1; 6863 ┌Iterate all rows of table "t" using index "x" where i >= 0 && i <= 1 6864 └Output field names ["i"] 6865 6866 ---- 1064 6867 SELECT i FROM t WHERE i >= 0 && i <= 2; 6868 ┌Iterate all rows of table "t" using index "x" where i >= 0 && i <= 2 6869 └Output field names ["i"] 6870 6871 ---- 1065 6872 SELECT i FROM t WHERE i >= 0 && i < -2; 6873 ┌Iterate no rows 6874 └Output field names ["i"] 6875 6876 ---- 1066 6877 SELECT i FROM t WHERE i >= 0 && i < -1; 6878 ┌Iterate no rows 6879 └Output field names ["i"] 6880 6881 ---- 1067 6882 SELECT i FROM t WHERE i >= 0 && i < 0; 6883 ┌Iterate no rows 6884 └Output field names ["i"] 6885 6886 ---- 1068 6887 SELECT i FROM t WHERE i >= 0 && i < 1; 6888 ┌Iterate all rows of table "t" using index "x" where i >= 0 && i < 1 6889 └Output field names ["i"] 6890 6891 ---- 1069 6892 SELECT i FROM t WHERE i >= 0 && i < 2; 6893 ┌Iterate all rows of table "t" using index "x" where i >= 0 && i < 2 6894 └Output field names ["i"] 6895 6896 ---- 1070 6897 SELECT i FROM t WHERE i >= 0 && i != -2; 6898 ┌Iterate all rows of table "t" using index "x" where i >= 0 6899 └Output field names ["i"] 6900 6901 ---- 1071 6902 SELECT i FROM t WHERE i >= 0 && i != -1; 6903 ┌Iterate all rows of table "t" using index "x" where i >= 0 6904 └Output field names ["i"] 6905 6906 ---- 1072 6907 SELECT i FROM t WHERE i >= 0 && i != 0; 6908 ┌Iterate all rows of table "t" using index "x" where i > 0 6909 └Output field names ["i"] 6910 6911 ---- 1073 6912 SELECT i FROM t WHERE i >= 0 && i != 1; 6913 ┌Iterate all rows of table "t" using index "x" where i >= 0 6914 └Output field names ["i"] 6915 ┌Filter on i != 1 6916 └Output field names ["i"] 6917 6918 ---- 1074 6919 SELECT i FROM t WHERE i >= 0 && i != 2; 6920 ┌Iterate all rows of table "t" using index "x" where i >= 0 6921 └Output field names ["i"] 6922 ┌Filter on i != 2 6923 └Output field names ["i"] 6924 6925 ---- 1075 6926 SELECT i FROM t WHERE i > 0 && i == -2; 6927 ┌Iterate no rows 6928 └Output field names ["i"] 6929 6930 ---- 1076 6931 SELECT i FROM t WHERE i > 0 && i == -1; 6932 ┌Iterate no rows 6933 └Output field names ["i"] 6934 6935 ---- 1077 6936 SELECT i FROM t WHERE i > 0 && i == 0; 6937 ┌Iterate no rows 6938 └Output field names ["i"] 6939 6940 ---- 1078 6941 SELECT i FROM t WHERE i > 0 && i == 1; 6942 ┌Iterate all rows of table "t" using index "x" where i == 1 6943 └Output field names ["i"] 6944 6945 ---- 1079 6946 SELECT i FROM t WHERE i > 0 && i == 2; 6947 ┌Iterate all rows of table "t" using index "x" where i == 2 6948 └Output field names ["i"] 6949 6950 ---- 1080 6951 SELECT i FROM t WHERE i > 0 && i >= -2; 6952 ┌Iterate all rows of table "t" using index "x" where i > 0 6953 └Output field names ["i"] 6954 6955 ---- 1081 6956 SELECT i FROM t WHERE i > 0 && i >= -1; 6957 ┌Iterate all rows of table "t" using index "x" where i > 0 6958 └Output field names ["i"] 6959 6960 ---- 1082 6961 SELECT i FROM t WHERE i > 0 && i >= 0; 6962 ┌Iterate all rows of table "t" using index "x" where i > 0 6963 └Output field names ["i"] 6964 6965 ---- 1083 6966 SELECT i FROM t WHERE i > 0 && i >= 1; 6967 ┌Iterate all rows of table "t" using index "x" where i >= 1 6968 └Output field names ["i"] 6969 6970 ---- 1084 6971 SELECT i FROM t WHERE i > 0 && i >= 2; 6972 ┌Iterate all rows of table "t" using index "x" where i >= 2 6973 └Output field names ["i"] 6974 6975 ---- 1085 6976 SELECT i FROM t WHERE i > 0 && i > -2; 6977 ┌Iterate all rows of table "t" using index "x" where i > 0 6978 └Output field names ["i"] 6979 6980 ---- 1086 6981 SELECT i FROM t WHERE i > 0 && i > -1; 6982 ┌Iterate all rows of table "t" using index "x" where i > 0 6983 └Output field names ["i"] 6984 6985 ---- 1087 6986 SELECT i FROM t WHERE i > 0 && i > 0; 6987 ┌Iterate all rows of table "t" using index "x" where i > 0 6988 └Output field names ["i"] 6989 6990 ---- 1088 6991 SELECT i FROM t WHERE i > 0 && i > 1; 6992 ┌Iterate all rows of table "t" using index "x" where i > 1 6993 └Output field names ["i"] 6994 6995 ---- 1089 6996 SELECT i FROM t WHERE i > 0 && i > 2; 6997 ┌Iterate all rows of table "t" using index "x" where i > 2 6998 └Output field names ["i"] 6999 7000 ---- 1090 7001 SELECT i FROM t WHERE i > 0 && i <= -2; 7002 ┌Iterate no rows 7003 └Output field names ["i"] 7004 7005 ---- 1091 7006 SELECT i FROM t WHERE i > 0 && i <= -1; 7007 ┌Iterate no rows 7008 └Output field names ["i"] 7009 7010 ---- 1092 7011 SELECT i FROM t WHERE i > 0 && i <= 0; 7012 ┌Iterate no rows 7013 └Output field names ["i"] 7014 7015 ---- 1093 7016 SELECT i FROM t WHERE i > 0 && i <= 1; 7017 ┌Iterate all rows of table "t" using index "x" where i > 0 && i <= 1 7018 └Output field names ["i"] 7019 7020 ---- 1094 7021 SELECT i FROM t WHERE i > 0 && i <= 2; 7022 ┌Iterate all rows of table "t" using index "x" where i > 0 && i <= 2 7023 └Output field names ["i"] 7024 7025 ---- 1095 7026 SELECT i FROM t WHERE i > 0 && i < -2; 7027 ┌Iterate no rows 7028 └Output field names ["i"] 7029 7030 ---- 1096 7031 SELECT i FROM t WHERE i > 0 && i < -1; 7032 ┌Iterate no rows 7033 └Output field names ["i"] 7034 7035 ---- 1097 7036 SELECT i FROM t WHERE i > 0 && i < 0; 7037 ┌Iterate no rows 7038 └Output field names ["i"] 7039 7040 ---- 1098 7041 SELECT i FROM t WHERE i > 0 && i < 1; 7042 ┌Iterate all rows of table "t" using index "x" where i > 0 && i < 1 7043 └Output field names ["i"] 7044 7045 ---- 1099 7046 SELECT i FROM t WHERE i > 0 && i < 2; 7047 ┌Iterate all rows of table "t" using index "x" where i > 0 && i < 2 7048 └Output field names ["i"] 7049 7050 ---- 1100 7051 SELECT i FROM t WHERE i > 0 && i != -2; 7052 ┌Iterate all rows of table "t" using index "x" where i > 0 7053 └Output field names ["i"] 7054 7055 ---- 1101 7056 SELECT i FROM t WHERE i > 0 && i != -1; 7057 ┌Iterate all rows of table "t" using index "x" where i > 0 7058 └Output field names ["i"] 7059 7060 ---- 1102 7061 SELECT i FROM t WHERE i > 0 && i != 0; 7062 ┌Iterate all rows of table "t" using index "x" where i > 0 7063 └Output field names ["i"] 7064 7065 ---- 1103 7066 SELECT i FROM t WHERE i > 0 && i != 1; 7067 ┌Iterate all rows of table "t" using index "x" where i > 0 7068 └Output field names ["i"] 7069 ┌Filter on i != 1 7070 └Output field names ["i"] 7071 7072 ---- 1104 7073 SELECT i FROM t WHERE i > 0 && i != 2; 7074 ┌Iterate all rows of table "t" using index "x" where i > 0 7075 └Output field names ["i"] 7076 ┌Filter on i != 2 7077 └Output field names ["i"] 7078 7079 ---- 1105 7080 SELECT i FROM t WHERE i <= 0 && i == -2; 7081 ┌Iterate all rows of table "t" using index "x" where i == -2 7082 └Output field names ["i"] 7083 7084 ---- 1106 7085 SELECT i FROM t WHERE i <= 0 && i == -1; 7086 ┌Iterate all rows of table "t" using index "x" where i == -1 7087 └Output field names ["i"] 7088 7089 ---- 1107 7090 SELECT i FROM t WHERE i <= 0 && i == 0; 7091 ┌Iterate all rows of table "t" using index "x" where i == 0 7092 └Output field names ["i"] 7093 7094 ---- 1108 7095 SELECT i FROM t WHERE i <= 0 && i == 1; 7096 ┌Iterate no rows 7097 └Output field names ["i"] 7098 7099 ---- 1109 7100 SELECT i FROM t WHERE i <= 0 && i == 2; 7101 ┌Iterate no rows 7102 └Output field names ["i"] 7103 7104 ---- 1110 7105 SELECT i FROM t WHERE i <= 0 && i >= -2; 7106 ┌Iterate all rows of table "t" using index "x" where i >= -2 && i <= 0 7107 └Output field names ["i"] 7108 7109 ---- 1111 7110 SELECT i FROM t WHERE i <= 0 && i >= -1; 7111 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i <= 0 7112 └Output field names ["i"] 7113 7114 ---- 1112 7115 SELECT i FROM t WHERE i <= 0 && i >= 0; 7116 ┌Iterate all rows of table "t" using index "x" where i == 0 7117 └Output field names ["i"] 7118 7119 ---- 1113 7120 SELECT i FROM t WHERE i <= 0 && i >= 1; 7121 ┌Iterate no rows 7122 └Output field names ["i"] 7123 7124 ---- 1114 7125 SELECT i FROM t WHERE i <= 0 && i >= 2; 7126 ┌Iterate no rows 7127 └Output field names ["i"] 7128 7129 ---- 1115 7130 SELECT i FROM t WHERE i <= 0 && i > -2; 7131 ┌Iterate all rows of table "t" using index "x" where i > -2 && i <= 0 7132 └Output field names ["i"] 7133 7134 ---- 1116 7135 SELECT i FROM t WHERE i <= 0 && i > -1; 7136 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 0 7137 └Output field names ["i"] 7138 7139 ---- 1117 7140 SELECT i FROM t WHERE i <= 0 && i > 0; 7141 ┌Iterate no rows 7142 └Output field names ["i"] 7143 7144 ---- 1118 7145 SELECT i FROM t WHERE i <= 0 && i > 1; 7146 ┌Iterate no rows 7147 └Output field names ["i"] 7148 7149 ---- 1119 7150 SELECT i FROM t WHERE i <= 0 && i > 2; 7151 ┌Iterate no rows 7152 └Output field names ["i"] 7153 7154 ---- 1120 7155 SELECT i FROM t WHERE i <= 0 && i <= -2; 7156 ┌Iterate all rows of table "t" using index "x" where i <= -2 7157 └Output field names ["i"] 7158 7159 ---- 1121 7160 SELECT i FROM t WHERE i <= 0 && i <= -1; 7161 ┌Iterate all rows of table "t" using index "x" where i <= -1 7162 └Output field names ["i"] 7163 7164 ---- 1122 7165 SELECT i FROM t WHERE i <= 0 && i <= 0; 7166 ┌Iterate all rows of table "t" using index "x" where i <= 0 7167 └Output field names ["i"] 7168 7169 ---- 1123 7170 SELECT i FROM t WHERE i <= 0 && i <= 1; 7171 ┌Iterate all rows of table "t" using index "x" where i <= 0 7172 └Output field names ["i"] 7173 7174 ---- 1124 7175 SELECT i FROM t WHERE i <= 0 && i <= 2; 7176 ┌Iterate all rows of table "t" using index "x" where i <= 0 7177 └Output field names ["i"] 7178 7179 ---- 1125 7180 SELECT i FROM t WHERE i <= 0 && i < -2; 7181 ┌Iterate all rows of table "t" using index "x" where i < -2 7182 └Output field names ["i"] 7183 7184 ---- 1126 7185 SELECT i FROM t WHERE i <= 0 && i < -1; 7186 ┌Iterate all rows of table "t" using index "x" where i < -1 7187 └Output field names ["i"] 7188 7189 ---- 1127 7190 SELECT i FROM t WHERE i <= 0 && i < 0; 7191 ┌Iterate all rows of table "t" using index "x" where i < 0 7192 └Output field names ["i"] 7193 7194 ---- 1128 7195 SELECT i FROM t WHERE i <= 0 && i < 1; 7196 ┌Iterate all rows of table "t" using index "x" where i <= 0 7197 └Output field names ["i"] 7198 7199 ---- 1129 7200 SELECT i FROM t WHERE i <= 0 && i < 2; 7201 ┌Iterate all rows of table "t" using index "x" where i <= 0 7202 └Output field names ["i"] 7203 7204 ---- 1130 7205 SELECT i FROM t WHERE i <= 0 && i != -2; 7206 ┌Iterate all rows of table "t" using index "x" where i <= 0 7207 └Output field names ["i"] 7208 ┌Filter on i != -2 7209 └Output field names ["i"] 7210 7211 ---- 1131 7212 SELECT i FROM t WHERE i <= 0 && i != -1; 7213 ┌Iterate all rows of table "t" using index "x" where i <= 0 7214 └Output field names ["i"] 7215 ┌Filter on i != -1 7216 └Output field names ["i"] 7217 7218 ---- 1132 7219 SELECT i FROM t WHERE i <= 0 && i != 0; 7220 ┌Iterate all rows of table "t" using index "x" where i < 0 7221 └Output field names ["i"] 7222 7223 ---- 1133 7224 SELECT i FROM t WHERE i <= 0 && i != 1; 7225 ┌Iterate all rows of table "t" using index "x" where i <= 0 7226 └Output field names ["i"] 7227 7228 ---- 1134 7229 SELECT i FROM t WHERE i <= 0 && i != 2; 7230 ┌Iterate all rows of table "t" using index "x" where i <= 0 7231 └Output field names ["i"] 7232 7233 ---- 1135 7234 SELECT i FROM t WHERE i < 0 && i == -2; 7235 ┌Iterate all rows of table "t" using index "x" where i == -2 7236 └Output field names ["i"] 7237 7238 ---- 1136 7239 SELECT i FROM t WHERE i < 0 && i == -1; 7240 ┌Iterate all rows of table "t" using index "x" where i == -1 7241 └Output field names ["i"] 7242 7243 ---- 1137 7244 SELECT i FROM t WHERE i < 0 && i == 0; 7245 ┌Iterate no rows 7246 └Output field names ["i"] 7247 7248 ---- 1138 7249 SELECT i FROM t WHERE i < 0 && i == 1; 7250 ┌Iterate no rows 7251 └Output field names ["i"] 7252 7253 ---- 1139 7254 SELECT i FROM t WHERE i < 0 && i == 2; 7255 ┌Iterate no rows 7256 └Output field names ["i"] 7257 7258 ---- 1140 7259 SELECT i FROM t WHERE i < 0 && i >= -2; 7260 ┌Iterate all rows of table "t" using index "x" where i >= -2 && i < 0 7261 └Output field names ["i"] 7262 7263 ---- 1141 7264 SELECT i FROM t WHERE i < 0 && i >= -1; 7265 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 0 7266 └Output field names ["i"] 7267 7268 ---- 1142 7269 SELECT i FROM t WHERE i < 0 && i >= 0; 7270 ┌Iterate no rows 7271 └Output field names ["i"] 7272 7273 ---- 1143 7274 SELECT i FROM t WHERE i < 0 && i >= 1; 7275 ┌Iterate no rows 7276 └Output field names ["i"] 7277 7278 ---- 1144 7279 SELECT i FROM t WHERE i < 0 && i >= 2; 7280 ┌Iterate no rows 7281 └Output field names ["i"] 7282 7283 ---- 1145 7284 SELECT i FROM t WHERE i < 0 && i > -2; 7285 ┌Iterate all rows of table "t" using index "x" where i > -2 && i < 0 7286 └Output field names ["i"] 7287 7288 ---- 1146 7289 SELECT i FROM t WHERE i < 0 && i > -1; 7290 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 0 7291 └Output field names ["i"] 7292 7293 ---- 1147 7294 SELECT i FROM t WHERE i < 0 && i > 0; 7295 ┌Iterate no rows 7296 └Output field names ["i"] 7297 7298 ---- 1148 7299 SELECT i FROM t WHERE i < 0 && i > 1; 7300 ┌Iterate no rows 7301 └Output field names ["i"] 7302 7303 ---- 1149 7304 SELECT i FROM t WHERE i < 0 && i > 2; 7305 ┌Iterate no rows 7306 └Output field names ["i"] 7307 7308 ---- 1150 7309 SELECT i FROM t WHERE i < 0 && i <= -2; 7310 ┌Iterate all rows of table "t" using index "x" where i <= -2 7311 └Output field names ["i"] 7312 7313 ---- 1151 7314 SELECT i FROM t WHERE i < 0 && i <= -1; 7315 ┌Iterate all rows of table "t" using index "x" where i <= -1 7316 └Output field names ["i"] 7317 7318 ---- 1152 7319 SELECT i FROM t WHERE i < 0 && i <= 0; 7320 ┌Iterate all rows of table "t" using index "x" where i < 0 7321 └Output field names ["i"] 7322 7323 ---- 1153 7324 SELECT i FROM t WHERE i < 0 && i <= 1; 7325 ┌Iterate all rows of table "t" using index "x" where i < 0 7326 └Output field names ["i"] 7327 7328 ---- 1154 7329 SELECT i FROM t WHERE i < 0 && i <= 2; 7330 ┌Iterate all rows of table "t" using index "x" where i < 0 7331 └Output field names ["i"] 7332 7333 ---- 1155 7334 SELECT i FROM t WHERE i < 0 && i < -2; 7335 ┌Iterate all rows of table "t" using index "x" where i < -2 7336 └Output field names ["i"] 7337 7338 ---- 1156 7339 SELECT i FROM t WHERE i < 0 && i < -1; 7340 ┌Iterate all rows of table "t" using index "x" where i < -1 7341 └Output field names ["i"] 7342 7343 ---- 1157 7344 SELECT i FROM t WHERE i < 0 && i < 0; 7345 ┌Iterate all rows of table "t" using index "x" where i < 0 7346 └Output field names ["i"] 7347 7348 ---- 1158 7349 SELECT i FROM t WHERE i < 0 && i < 1; 7350 ┌Iterate all rows of table "t" using index "x" where i < 0 7351 └Output field names ["i"] 7352 7353 ---- 1159 7354 SELECT i FROM t WHERE i < 0 && i < 2; 7355 ┌Iterate all rows of table "t" using index "x" where i < 0 7356 └Output field names ["i"] 7357 7358 ---- 1160 7359 SELECT i FROM t WHERE i < 0 && i != -2; 7360 ┌Iterate all rows of table "t" using index "x" where i < 0 7361 └Output field names ["i"] 7362 ┌Filter on i != -2 7363 └Output field names ["i"] 7364 7365 ---- 1161 7366 SELECT i FROM t WHERE i < 0 && i != -1; 7367 ┌Iterate all rows of table "t" using index "x" where i < 0 7368 └Output field names ["i"] 7369 ┌Filter on i != -1 7370 └Output field names ["i"] 7371 7372 ---- 1162 7373 SELECT i FROM t WHERE i < 0 && i != 0; 7374 ┌Iterate all rows of table "t" using index "x" where i < 0 7375 └Output field names ["i"] 7376 7377 ---- 1163 7378 SELECT i FROM t WHERE i < 0 && i != 1; 7379 ┌Iterate all rows of table "t" using index "x" where i < 0 7380 └Output field names ["i"] 7381 7382 ---- 1164 7383 SELECT i FROM t WHERE i < 0 && i != 2; 7384 ┌Iterate all rows of table "t" using index "x" where i < 0 7385 └Output field names ["i"] 7386 7387 ---- 1165 7388 SELECT i FROM t WHERE i >= -1 && i <= 1 && i == -2; 7389 ┌Iterate no rows 7390 └Output field names ["i"] 7391 7392 ---- 1166 7393 SELECT i FROM t WHERE i >= -1 && i <= 1 && i == -1; 7394 ┌Iterate all rows of table "t" using index "x" where i == -1 7395 └Output field names ["i"] 7396 7397 ---- 1167 7398 SELECT i FROM t WHERE i >= -1 && i <= 1 && i == 0; 7399 ┌Iterate all rows of table "t" using index "x" where i == 0 7400 └Output field names ["i"] 7401 7402 ---- 1168 7403 SELECT i FROM t WHERE i >= -1 && i <= 1 && i == 1; 7404 ┌Iterate all rows of table "t" using index "x" where i == 1 7405 └Output field names ["i"] 7406 7407 ---- 1169 7408 SELECT i FROM t WHERE i >= -1 && i <= 1 && i == 2; 7409 ┌Iterate no rows 7410 └Output field names ["i"] 7411 7412 ---- 1170 7413 SELECT i FROM t WHERE i >= -1 && i <= 1 && i >= -2; 7414 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i <= 1 7415 └Output field names ["i"] 7416 7417 ---- 1171 7418 SELECT i FROM t WHERE i >= -1 && i <= 1 && i >= -1; 7419 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i <= 1 7420 └Output field names ["i"] 7421 7422 ---- 1172 7423 SELECT i FROM t WHERE i >= -1 && i <= 1 && i >= 0; 7424 ┌Iterate all rows of table "t" using index "x" where i >= 0 && i <= 1 7425 └Output field names ["i"] 7426 7427 ---- 1173 7428 SELECT i FROM t WHERE i >= -1 && i <= 1 && i >= 1; 7429 ┌Iterate all rows of table "t" using index "x" where i == 1 7430 └Output field names ["i"] 7431 7432 ---- 1174 7433 SELECT i FROM t WHERE i >= -1 && i <= 1 && i >= 2; 7434 ┌Iterate no rows 7435 └Output field names ["i"] 7436 7437 ---- 1175 7438 SELECT i FROM t WHERE i >= -1 && i <= 1 && i > -2; 7439 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i <= 1 7440 └Output field names ["i"] 7441 7442 ---- 1176 7443 SELECT i FROM t WHERE i >= -1 && i <= 1 && i > -1; 7444 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 1 7445 └Output field names ["i"] 7446 7447 ---- 1177 7448 SELECT i FROM t WHERE i >= -1 && i <= 1 && i > 0; 7449 ┌Iterate all rows of table "t" using index "x" where i > 0 && i <= 1 7450 └Output field names ["i"] 7451 7452 ---- 1178 7453 SELECT i FROM t WHERE i >= -1 && i <= 1 && i > 1; 7454 ┌Iterate no rows 7455 └Output field names ["i"] 7456 7457 ---- 1179 7458 SELECT i FROM t WHERE i >= -1 && i <= 1 && i > 2; 7459 ┌Iterate no rows 7460 └Output field names ["i"] 7461 7462 ---- 1180 7463 SELECT i FROM t WHERE i >= -1 && i <= 1 && i <= -2; 7464 ┌Iterate no rows 7465 └Output field names ["i"] 7466 7467 ---- 1181 7468 SELECT i FROM t WHERE i >= -1 && i <= 1 && i <= -1; 7469 ┌Iterate all rows of table "t" using index "x" where i == -1 7470 └Output field names ["i"] 7471 7472 ---- 1182 7473 SELECT i FROM t WHERE i >= -1 && i <= 1 && i <= 0; 7474 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i <= 0 7475 └Output field names ["i"] 7476 7477 ---- 1183 7478 SELECT i FROM t WHERE i >= -1 && i <= 1 && i <= 1; 7479 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i <= 1 7480 └Output field names ["i"] 7481 7482 ---- 1184 7483 SELECT i FROM t WHERE i >= -1 && i <= 1 && i <= 2; 7484 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i <= 1 7485 └Output field names ["i"] 7486 7487 ---- 1185 7488 SELECT i FROM t WHERE i >= -1 && i <= 1 && i < -2; 7489 ┌Iterate no rows 7490 └Output field names ["i"] 7491 7492 ---- 1186 7493 SELECT i FROM t WHERE i >= -1 && i <= 1 && i < -1; 7494 ┌Iterate no rows 7495 └Output field names ["i"] 7496 7497 ---- 1187 7498 SELECT i FROM t WHERE i >= -1 && i <= 1 && i < 0; 7499 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 0 7500 └Output field names ["i"] 7501 7502 ---- 1188 7503 SELECT i FROM t WHERE i >= -1 && i <= 1 && i < 1; 7504 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 1 7505 └Output field names ["i"] 7506 7507 ---- 1189 7508 SELECT i FROM t WHERE i >= -1 && i <= 1 && i < 2; 7509 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i <= 1 7510 └Output field names ["i"] 7511 7512 ---- 1190 7513 SELECT i FROM t WHERE i >= -1 && i <= 1 && i != -2; 7514 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i <= 1 7515 └Output field names ["i"] 7516 7517 ---- 1191 7518 SELECT i FROM t WHERE i >= -1 && i <= 1 && i != -1; 7519 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 1 7520 └Output field names ["i"] 7521 7522 ---- 1192 7523 SELECT i FROM t WHERE i >= -1 && i <= 1 && i != 0; 7524 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i <= 1 7525 └Output field names ["i"] 7526 ┌Filter on i != 0 7527 └Output field names ["i"] 7528 7529 ---- 1193 7530 SELECT i FROM t WHERE i >= -1 && i <= 1 && i != 1; 7531 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 1 7532 └Output field names ["i"] 7533 7534 ---- 1194 7535 SELECT i FROM t WHERE i >= -1 && i <= 1 && i != 2; 7536 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i <= 1 7537 └Output field names ["i"] 7538 7539 ---- 1195 7540 SELECT i FROM t WHERE i > -1 && i <= 1 && i == -2; 7541 ┌Iterate no rows 7542 └Output field names ["i"] 7543 7544 ---- 1196 7545 SELECT i FROM t WHERE i > -1 && i <= 1 && i == -1; 7546 ┌Iterate no rows 7547 └Output field names ["i"] 7548 7549 ---- 1197 7550 SELECT i FROM t WHERE i > -1 && i <= 1 && i == 0; 7551 ┌Iterate all rows of table "t" using index "x" where i == 0 7552 └Output field names ["i"] 7553 7554 ---- 1198 7555 SELECT i FROM t WHERE i > -1 && i <= 1 && i == 1; 7556 ┌Iterate all rows of table "t" using index "x" where i == 1 7557 └Output field names ["i"] 7558 7559 ---- 1199 7560 SELECT i FROM t WHERE i > -1 && i <= 1 && i == 2; 7561 ┌Iterate no rows 7562 └Output field names ["i"] 7563 7564 ---- 1200 7565 SELECT i FROM t WHERE i > -1 && i <= 1 && i >= -2; 7566 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 1 7567 └Output field names ["i"] 7568 7569 ---- 1201 7570 SELECT i FROM t WHERE i > -1 && i <= 1 && i >= -1; 7571 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 1 7572 └Output field names ["i"] 7573 7574 ---- 1202 7575 SELECT i FROM t WHERE i > -1 && i <= 1 && i >= 0; 7576 ┌Iterate all rows of table "t" using index "x" where i >= 0 && i <= 1 7577 └Output field names ["i"] 7578 7579 ---- 1203 7580 SELECT i FROM t WHERE i > -1 && i <= 1 && i >= 1; 7581 ┌Iterate all rows of table "t" using index "x" where i == 1 7582 └Output field names ["i"] 7583 7584 ---- 1204 7585 SELECT i FROM t WHERE i > -1 && i <= 1 && i >= 2; 7586 ┌Iterate no rows 7587 └Output field names ["i"] 7588 7589 ---- 1205 7590 SELECT i FROM t WHERE i > -1 && i <= 1 && i > -2; 7591 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 1 7592 └Output field names ["i"] 7593 7594 ---- 1206 7595 SELECT i FROM t WHERE i > -1 && i <= 1 && i > -1; 7596 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 1 7597 └Output field names ["i"] 7598 7599 ---- 1207 7600 SELECT i FROM t WHERE i > -1 && i <= 1 && i > 0; 7601 ┌Iterate all rows of table "t" using index "x" where i > 0 && i <= 1 7602 └Output field names ["i"] 7603 7604 ---- 1208 7605 SELECT i FROM t WHERE i > -1 && i <= 1 && i > 1; 7606 ┌Iterate no rows 7607 └Output field names ["i"] 7608 7609 ---- 1209 7610 SELECT i FROM t WHERE i > -1 && i <= 1 && i > 2; 7611 ┌Iterate no rows 7612 └Output field names ["i"] 7613 7614 ---- 1210 7615 SELECT i FROM t WHERE i > -1 && i <= 1 && i <= -2; 7616 ┌Iterate no rows 7617 └Output field names ["i"] 7618 7619 ---- 1211 7620 SELECT i FROM t WHERE i > -1 && i <= 1 && i <= -1; 7621 ┌Iterate no rows 7622 └Output field names ["i"] 7623 7624 ---- 1212 7625 SELECT i FROM t WHERE i > -1 && i <= 1 && i <= 0; 7626 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 0 7627 └Output field names ["i"] 7628 7629 ---- 1213 7630 SELECT i FROM t WHERE i > -1 && i <= 1 && i <= 1; 7631 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 1 7632 └Output field names ["i"] 7633 7634 ---- 1214 7635 SELECT i FROM t WHERE i > -1 && i <= 1 && i <= 2; 7636 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 1 7637 └Output field names ["i"] 7638 7639 ---- 1215 7640 SELECT i FROM t WHERE i > -1 && i <= 1 && i < -2; 7641 ┌Iterate no rows 7642 └Output field names ["i"] 7643 7644 ---- 1216 7645 SELECT i FROM t WHERE i > -1 && i <= 1 && i < -1; 7646 ┌Iterate no rows 7647 └Output field names ["i"] 7648 7649 ---- 1217 7650 SELECT i FROM t WHERE i > -1 && i <= 1 && i < 0; 7651 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 0 7652 └Output field names ["i"] 7653 7654 ---- 1218 7655 SELECT i FROM t WHERE i > -1 && i <= 1 && i < 1; 7656 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7657 └Output field names ["i"] 7658 7659 ---- 1219 7660 SELECT i FROM t WHERE i > -1 && i <= 1 && i < 2; 7661 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 1 7662 └Output field names ["i"] 7663 7664 ---- 1220 7665 SELECT i FROM t WHERE i > -1 && i <= 1 && i != -2; 7666 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 1 7667 └Output field names ["i"] 7668 7669 ---- 1221 7670 SELECT i FROM t WHERE i > -1 && i <= 1 && i != -1; 7671 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 1 7672 └Output field names ["i"] 7673 7674 ---- 1222 7675 SELECT i FROM t WHERE i > -1 && i <= 1 && i != 0; 7676 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 1 7677 └Output field names ["i"] 7678 ┌Filter on i != 0 7679 └Output field names ["i"] 7680 7681 ---- 1223 7682 SELECT i FROM t WHERE i > -1 && i <= 1 && i != 1; 7683 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7684 └Output field names ["i"] 7685 7686 ---- 1224 7687 SELECT i FROM t WHERE i > -1 && i <= 1 && i != 2; 7688 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 1 7689 └Output field names ["i"] 7690 7691 ---- 1225 7692 SELECT i FROM t WHERE i > -1 && i < 1 && i == -2; 7693 ┌Iterate no rows 7694 └Output field names ["i"] 7695 7696 ---- 1226 7697 SELECT i FROM t WHERE i > -1 && i < 1 && i == -1; 7698 ┌Iterate no rows 7699 └Output field names ["i"] 7700 7701 ---- 1227 7702 SELECT i FROM t WHERE i > -1 && i < 1 && i == 0; 7703 ┌Iterate all rows of table "t" using index "x" where i == 0 7704 └Output field names ["i"] 7705 7706 ---- 1228 7707 SELECT i FROM t WHERE i > -1 && i < 1 && i == 1; 7708 ┌Iterate no rows 7709 └Output field names ["i"] 7710 7711 ---- 1229 7712 SELECT i FROM t WHERE i > -1 && i < 1 && i == 2; 7713 ┌Iterate no rows 7714 └Output field names ["i"] 7715 7716 ---- 1230 7717 SELECT i FROM t WHERE i > -1 && i < 1 && i >= -2; 7718 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7719 └Output field names ["i"] 7720 7721 ---- 1231 7722 SELECT i FROM t WHERE i > -1 && i < 1 && i >= -1; 7723 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7724 └Output field names ["i"] 7725 7726 ---- 1232 7727 SELECT i FROM t WHERE i > -1 && i < 1 && i >= 0; 7728 ┌Iterate all rows of table "t" using index "x" where i >= 0 && i < 1 7729 └Output field names ["i"] 7730 7731 ---- 1233 7732 SELECT i FROM t WHERE i > -1 && i < 1 && i >= 1; 7733 ┌Iterate no rows 7734 └Output field names ["i"] 7735 7736 ---- 1234 7737 SELECT i FROM t WHERE i > -1 && i < 1 && i >= 2; 7738 ┌Iterate no rows 7739 └Output field names ["i"] 7740 7741 ---- 1235 7742 SELECT i FROM t WHERE i > -1 && i < 1 && i > -2; 7743 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7744 └Output field names ["i"] 7745 7746 ---- 1236 7747 SELECT i FROM t WHERE i > -1 && i < 1 && i > -1; 7748 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7749 └Output field names ["i"] 7750 7751 ---- 1237 7752 SELECT i FROM t WHERE i > -1 && i < 1 && i > 0; 7753 ┌Iterate all rows of table "t" using index "x" where i > 0 && i < 1 7754 └Output field names ["i"] 7755 7756 ---- 1238 7757 SELECT i FROM t WHERE i > -1 && i < 1 && i > 1; 7758 ┌Iterate no rows 7759 └Output field names ["i"] 7760 7761 ---- 1239 7762 SELECT i FROM t WHERE i > -1 && i < 1 && i > 2; 7763 ┌Iterate no rows 7764 └Output field names ["i"] 7765 7766 ---- 1240 7767 SELECT i FROM t WHERE i > -1 && i < 1 && i <= -2; 7768 ┌Iterate no rows 7769 └Output field names ["i"] 7770 7771 ---- 1241 7772 SELECT i FROM t WHERE i > -1 && i < 1 && i <= -1; 7773 ┌Iterate no rows 7774 └Output field names ["i"] 7775 7776 ---- 1242 7777 SELECT i FROM t WHERE i > -1 && i < 1 && i <= 0; 7778 ┌Iterate all rows of table "t" using index "x" where i > -1 && i <= 0 7779 └Output field names ["i"] 7780 7781 ---- 1243 7782 SELECT i FROM t WHERE i > -1 && i < 1 && i <= 1; 7783 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7784 └Output field names ["i"] 7785 7786 ---- 1244 7787 SELECT i FROM t WHERE i > -1 && i < 1 && i <= 2; 7788 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7789 └Output field names ["i"] 7790 7791 ---- 1245 7792 SELECT i FROM t WHERE i > -1 && i < 1 && i < -2; 7793 ┌Iterate no rows 7794 └Output field names ["i"] 7795 7796 ---- 1246 7797 SELECT i FROM t WHERE i > -1 && i < 1 && i < -1; 7798 ┌Iterate no rows 7799 └Output field names ["i"] 7800 7801 ---- 1247 7802 SELECT i FROM t WHERE i > -1 && i < 1 && i < 0; 7803 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 0 7804 └Output field names ["i"] 7805 7806 ---- 1248 7807 SELECT i FROM t WHERE i > -1 && i < 1 && i < 1; 7808 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7809 └Output field names ["i"] 7810 7811 ---- 1249 7812 SELECT i FROM t WHERE i > -1 && i < 1 && i < 2; 7813 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7814 └Output field names ["i"] 7815 7816 ---- 1250 7817 SELECT i FROM t WHERE i > -1 && i < 1 && i != -2; 7818 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7819 └Output field names ["i"] 7820 7821 ---- 1251 7822 SELECT i FROM t WHERE i > -1 && i < 1 && i != -1; 7823 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7824 └Output field names ["i"] 7825 7826 ---- 1252 7827 SELECT i FROM t WHERE i > -1 && i < 1 && i != 0; 7828 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7829 └Output field names ["i"] 7830 ┌Filter on i != 0 7831 └Output field names ["i"] 7832 7833 ---- 1253 7834 SELECT i FROM t WHERE i > -1 && i < 1 && i != 1; 7835 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7836 └Output field names ["i"] 7837 7838 ---- 1254 7839 SELECT i FROM t WHERE i > -1 && i < 1 && i != 2; 7840 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7841 └Output field names ["i"] 7842 7843 ---- 1255 7844 SELECT i FROM t WHERE i >= -1 && i < 1 && i == -2; 7845 ┌Iterate no rows 7846 └Output field names ["i"] 7847 7848 ---- 1256 7849 SELECT i FROM t WHERE i >= -1 && i < 1 && i == -1; 7850 ┌Iterate all rows of table "t" using index "x" where i == -1 7851 └Output field names ["i"] 7852 7853 ---- 1257 7854 SELECT i FROM t WHERE i >= -1 && i < 1 && i == 0; 7855 ┌Iterate all rows of table "t" using index "x" where i == 0 7856 └Output field names ["i"] 7857 7858 ---- 1258 7859 SELECT i FROM t WHERE i >= -1 && i < 1 && i == 1; 7860 ┌Iterate no rows 7861 └Output field names ["i"] 7862 7863 ---- 1259 7864 SELECT i FROM t WHERE i >= -1 && i < 1 && i == 2; 7865 ┌Iterate no rows 7866 └Output field names ["i"] 7867 7868 ---- 1260 7869 SELECT i FROM t WHERE i >= -1 && i < 1 && i == -2; 7870 ┌Iterate no rows 7871 └Output field names ["i"] 7872 7873 ---- 1261 7874 SELECT i FROM t WHERE i >= -1 && i < 1 && i == -1; 7875 ┌Iterate all rows of table "t" using index "x" where i == -1 7876 └Output field names ["i"] 7877 7878 ---- 1262 7879 SELECT i FROM t WHERE i >= -1 && i < 1 && i == 0; 7880 ┌Iterate all rows of table "t" using index "x" where i == 0 7881 └Output field names ["i"] 7882 7883 ---- 1263 7884 SELECT i FROM t WHERE i >= -1 && i < 1 && i == 1; 7885 ┌Iterate no rows 7886 └Output field names ["i"] 7887 7888 ---- 1264 7889 SELECT i FROM t WHERE i >= -1 && i < 1 && i == 2; 7890 ┌Iterate no rows 7891 └Output field names ["i"] 7892 7893 ---- 1265 7894 SELECT i FROM t WHERE i >= -1 && i < 1 && i >= -2; 7895 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 1 7896 └Output field names ["i"] 7897 7898 ---- 1266 7899 SELECT i FROM t WHERE i >= -1 && i < 1 && i >= -1; 7900 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 1 7901 └Output field names ["i"] 7902 7903 ---- 1267 7904 SELECT i FROM t WHERE i >= -1 && i < 1 && i >= 0; 7905 ┌Iterate all rows of table "t" using index "x" where i >= 0 && i < 1 7906 └Output field names ["i"] 7907 7908 ---- 1268 7909 SELECT i FROM t WHERE i >= -1 && i < 1 && i >= 1; 7910 ┌Iterate no rows 7911 └Output field names ["i"] 7912 7913 ---- 1269 7914 SELECT i FROM t WHERE i >= -1 && i < 1 && i >= 2; 7915 ┌Iterate no rows 7916 └Output field names ["i"] 7917 7918 ---- 1270 7919 SELECT i FROM t WHERE i >= -1 && i < 1 && i > -2; 7920 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 1 7921 └Output field names ["i"] 7922 7923 ---- 1271 7924 SELECT i FROM t WHERE i >= -1 && i < 1 && i > -1; 7925 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 7926 └Output field names ["i"] 7927 7928 ---- 1272 7929 SELECT i FROM t WHERE i >= -1 && i < 1 && i > 0; 7930 ┌Iterate all rows of table "t" using index "x" where i > 0 && i < 1 7931 └Output field names ["i"] 7932 7933 ---- 1273 7934 SELECT i FROM t WHERE i >= -1 && i < 1 && i > 1; 7935 ┌Iterate no rows 7936 └Output field names ["i"] 7937 7938 ---- 1274 7939 SELECT i FROM t WHERE i >= -1 && i < 1 && i > 2; 7940 ┌Iterate no rows 7941 └Output field names ["i"] 7942 7943 ---- 1275 7944 SELECT i FROM t WHERE i >= -1 && i < 1 && i <= -2; 7945 ┌Iterate no rows 7946 └Output field names ["i"] 7947 7948 ---- 1276 7949 SELECT i FROM t WHERE i >= -1 && i < 1 && i <= -1; 7950 ┌Iterate all rows of table "t" using index "x" where i == -1 7951 └Output field names ["i"] 7952 7953 ---- 1277 7954 SELECT i FROM t WHERE i >= -1 && i < 1 && i <= 0; 7955 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i <= 0 7956 └Output field names ["i"] 7957 7958 ---- 1278 7959 SELECT i FROM t WHERE i >= -1 && i < 1 && i <= 1; 7960 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 1 7961 └Output field names ["i"] 7962 7963 ---- 1279 7964 SELECT i FROM t WHERE i >= -1 && i < 1 && i <= 2; 7965 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 1 7966 └Output field names ["i"] 7967 7968 ---- 1280 7969 SELECT i FROM t WHERE i >= -1 && i < 1 && i < -2; 7970 ┌Iterate no rows 7971 └Output field names ["i"] 7972 7973 ---- 1281 7974 SELECT i FROM t WHERE i >= -1 && i < 1 && i < -1; 7975 ┌Iterate no rows 7976 └Output field names ["i"] 7977 7978 ---- 1282 7979 SELECT i FROM t WHERE i >= -1 && i < 1 && i < 0; 7980 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 0 7981 └Output field names ["i"] 7982 7983 ---- 1283 7984 SELECT i FROM t WHERE i >= -1 && i < 1 && i < 1; 7985 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 1 7986 └Output field names ["i"] 7987 7988 ---- 1284 7989 SELECT i FROM t WHERE i >= -1 && i < 1 && i < 2; 7990 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 1 7991 └Output field names ["i"] 7992 7993 ---- 1285 7994 SELECT i FROM t WHERE i >= -1 && i < 1 && i != -2; 7995 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 1 7996 └Output field names ["i"] 7997 7998 ---- 1286 7999 SELECT i FROM t WHERE i >= -1 && i < 1 && i != -1; 8000 ┌Iterate all rows of table "t" using index "x" where i > -1 && i < 1 8001 └Output field names ["i"] 8002 8003 ---- 1287 8004 SELECT i FROM t WHERE i >= -1 && i < 1 && i != 0; 8005 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 1 8006 └Output field names ["i"] 8007 ┌Filter on i != 0 8008 └Output field names ["i"] 8009 8010 ---- 1288 8011 SELECT i FROM t WHERE i >= -1 && i < 1 && i != 1; 8012 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 1 8013 └Output field names ["i"] 8014 8015 ---- 1289 8016 SELECT i FROM t WHERE i >= -1 && i < 1 && i != 2; 8017 ┌Iterate all rows of table "t" using index "x" where i >= -1 && i < 1 8018 └Output field names ["i"] 8019 8020 ---- 1290 8021 SELECT i FROM t WHERE i != 0 && i == -2; 8022 ┌Iterate all rows of table "t" using index "x" where i == -2 8023 └Output field names ["i"] 8024 8025 ---- 1291 8026 SELECT i FROM t WHERE i != 0 && i == -1; 8027 ┌Iterate all rows of table "t" using index "x" where i == -1 8028 └Output field names ["i"] 8029 8030 ---- 1292 8031 SELECT i FROM t WHERE i != 0 && i == 0; 8032 ┌Iterate no rows 8033 └Output field names ["i"] 8034 8035 ---- 1293 8036 SELECT i FROM t WHERE i != 0 && i == 1; 8037 ┌Iterate all rows of table "t" using index "x" where i == 1 8038 └Output field names ["i"] 8039 8040 ---- 1294 8041 SELECT i FROM t WHERE i != 0 && i == 2; 8042 ┌Iterate all rows of table "t" using index "x" where i == 2 8043 └Output field names ["i"] 8044 8045 ---- 1295 8046 SELECT i FROM t WHERE i != 0 && i >= -2; 8047 ┌Iterate all rows of table "t" using index "x" where i != 0 8048 └Output field names ["i"] 8049 ┌Filter on i >= -2 8050 └Output field names ["i"] 8051 8052 ---- 1296 8053 SELECT i FROM t WHERE i != 0 && i >= -1; 8054 ┌Iterate all rows of table "t" using index "x" where i != 0 8055 └Output field names ["i"] 8056 ┌Filter on i >= -1 8057 └Output field names ["i"] 8058 8059 ---- 1297 8060 SELECT i FROM t WHERE i != 0 && i >= 0; 8061 ┌Iterate all rows of table "t" using index "x" where i > 0 8062 └Output field names ["i"] 8063 8064 ---- 1298 8065 SELECT i FROM t WHERE i != 0 && i >= 1; 8066 ┌Iterate all rows of table "t" using index "x" where i >= 1 8067 └Output field names ["i"] 8068 8069 ---- 1299 8070 SELECT i FROM t WHERE i != 0 && i >= 2; 8071 ┌Iterate all rows of table "t" using index "x" where i >= 2 8072 └Output field names ["i"] 8073 8074 ---- 1300 8075 SELECT i FROM t WHERE i != 0 && i > -2; 8076 ┌Iterate all rows of table "t" using index "x" where i != 0 8077 └Output field names ["i"] 8078 ┌Filter on i > -2 8079 └Output field names ["i"] 8080 8081 ---- 1301 8082 SELECT i FROM t WHERE i != 0 && i > -1; 8083 ┌Iterate all rows of table "t" using index "x" where i != 0 8084 └Output field names ["i"] 8085 ┌Filter on i > -1 8086 └Output field names ["i"] 8087 8088 ---- 1302 8089 SELECT i FROM t WHERE i != 0 && i > 0; 8090 ┌Iterate all rows of table "t" using index "x" where i > 0 8091 └Output field names ["i"] 8092 8093 ---- 1303 8094 SELECT i FROM t WHERE i != 0 && i > 1; 8095 ┌Iterate all rows of table "t" using index "x" where i > 1 8096 └Output field names ["i"] 8097 8098 ---- 1304 8099 SELECT i FROM t WHERE i != 0 && i > 2; 8100 ┌Iterate all rows of table "t" using index "x" where i > 2 8101 └Output field names ["i"] 8102 8103 ---- 1305 8104 SELECT i FROM t WHERE i != 0 && i <= -2; 8105 ┌Iterate all rows of table "t" using index "x" where i <= -2 8106 └Output field names ["i"] 8107 8108 ---- 1306 8109 SELECT i FROM t WHERE i != 0 && i <= -1; 8110 ┌Iterate all rows of table "t" using index "x" where i <= -1 8111 └Output field names ["i"] 8112 8113 ---- 1307 8114 SELECT i FROM t WHERE i != 0 && i <= 0; 8115 ┌Iterate all rows of table "t" using index "x" where i < 0 8116 └Output field names ["i"] 8117 8118 ---- 1308 8119 SELECT i FROM t WHERE i != 0 && i <= 1; 8120 ┌Iterate all rows of table "t" using index "x" where i != 0 8121 └Output field names ["i"] 8122 ┌Filter on i <= 1 8123 └Output field names ["i"] 8124 8125 ---- 1309 8126 SELECT i FROM t WHERE i != 0 && i <= 2; 8127 ┌Iterate all rows of table "t" using index "x" where i != 0 8128 └Output field names ["i"] 8129 ┌Filter on i <= 2 8130 └Output field names ["i"] 8131 8132 ---- 1310 8133 SELECT i FROM t WHERE i != 0 && i < -2; 8134 ┌Iterate all rows of table "t" using index "x" where i < -2 8135 └Output field names ["i"] 8136 8137 ---- 1311 8138 SELECT i FROM t WHERE i != 0 && i < -1; 8139 ┌Iterate all rows of table "t" using index "x" where i < -1 8140 └Output field names ["i"] 8141 8142 ---- 1312 8143 SELECT i FROM t WHERE i != 0 && i < 0; 8144 ┌Iterate all rows of table "t" using index "x" where i < 0 8145 └Output field names ["i"] 8146 8147 ---- 1313 8148 SELECT i FROM t WHERE i != 0 && i < 1; 8149 ┌Iterate all rows of table "t" using index "x" where i != 0 8150 └Output field names ["i"] 8151 ┌Filter on i < 1 8152 └Output field names ["i"] 8153 8154 ---- 1314 8155 SELECT i FROM t WHERE i != 0 && i < 2; 8156 ┌Iterate all rows of table "t" using index "x" where i != 0 8157 └Output field names ["i"] 8158 ┌Filter on i < 2 8159 └Output field names ["i"] 8160 8161 ---- 1315 8162 SELECT i FROM t WHERE i != 0 && i != -2; 8163 ┌Iterate all rows of table "t" using index "x" where i != 0 8164 └Output field names ["i"] 8165 ┌Filter on i != -2 8166 └Output field names ["i"] 8167 8168 ---- 1316 8169 SELECT i FROM t WHERE i != 0 && i != -1; 8170 ┌Iterate all rows of table "t" using index "x" where i != 0 8171 └Output field names ["i"] 8172 ┌Filter on i != -1 8173 └Output field names ["i"] 8174 8175 ---- 1317 8176 SELECT i FROM t WHERE i != 0 && i != 0; 8177 ┌Iterate all rows of table "t" using index "x" where i != 0 8178 └Output field names ["i"] 8179 8180 ---- 1318 8181 SELECT i FROM t WHERE i != 0 && i != 1; 8182 ┌Iterate all rows of table "t" using index "x" where i != 0 8183 └Output field names ["i"] 8184 ┌Filter on i != 1 8185 └Output field names ["i"] 8186 8187 ---- 1319 8188 SELECT i FROM t WHERE i != 0 && i != 2; 8189 ┌Iterate all rows of table "t" using index "x" where i != 0 8190 └Output field names ["i"] 8191 ┌Filter on i != 2 8192 └Output field names ["i"] 8193 8194 ---- 1320 8195 SELECT * FROM t WHERE i > 0 && j > 0 ORDER BY i, j; 8196 ┌Iterate all rows of table "t" 8197 └Output field names ["i" "j" "k"] 8198 ┌Filter on i > 0 && j > 0 8199 │Possibly useful indices 8200 │CREATE INDEX xt_i ON t(i); 8201 │CREATE INDEX xt_j ON t(j); 8202 └Output field names ["i" "j" "k"] 8203 ┌Order by i, j, 8204 └Output field names ["i" "j" "k"] 8205 8206 ---- 1321 8207 SELECT * FROM t WHERE i > 0 && j > 0 ORDER BY i, j; 8208 ┌Iterate all rows of table "t" using index "xi" where i > 0 8209 └Output field names ["i" "j" "k"] 8210 ┌Filter on j > 0 8211 └Output field names ["i" "j" "k"] 8212 ┌Order by i, j, 8213 └Output field names ["i" "j" "k"] 8214 8215 ---- 1322 8216 SELECT * FROM t WHERE i > 0 && j > 0 ORDER BY i, j; 8217 ┌Iterate all rows of table "t" using index "xj" where j > 0 8218 └Output field names ["i" "j" "k"] 8219 ┌Filter on i > 0 8220 │Possibly useful indices 8221 │CREATE INDEX xt_i ON t(i); 8222 └Output field names ["i" "j" "k"] 8223 ┌Order by i, j, 8224 └Output field names ["i" "j" "k"] 8225 8226 ---- 1323 8227 SELECT * FROM t WHERE i > 0 && j > 0 ORDER BY i, j; 8228 ┌Iterate all rows of table "t" using index "xi" where i > 0 8229 └Output field names ["i" "j" "k"] 8230 ┌Filter on j > 0 8231 └Output field names ["i" "j" "k"] 8232 ┌Order by i, j, 8233 └Output field names ["i" "j" "k"] 8234 8235 ---- 1324 8236 SELECT * FROM t WHERE j > 0 && i > 0 ORDER BY i, j; 8237 ┌Iterate all rows of table "t" using index "xj" where j > 0 8238 └Output field names ["i" "j" "k"] 8239 ┌Filter on i > 0 8240 └Output field names ["i" "j" "k"] 8241 ┌Order by i, j, 8242 └Output field names ["i" "j" "k"] 8243 8244 ---- 1325 8245 SELECT * FROM t WHERE i > 0 && j > 0 && k > 0; 8246 ┌Iterate all rows of table "t" 8247 └Output field names ["i" "j" "k"] 8248 ┌Filter on i > 0 && j > 0 && k > 0 8249 │Possibly useful indices 8250 │CREATE INDEX xt_i ON t(i); 8251 │CREATE INDEX xt_j ON t(j); 8252 │CREATE INDEX xt_k ON t(k); 8253 └Output field names ["i" "j" "k"] 8254 8255 ---- 1326 8256 SELECT * FROM t WHERE i > 0 && j > 0 && k > 0; 8257 ┌Iterate all rows of table "t" using index "xi" where i > 0 8258 └Output field names ["i" "j" "k"] 8259 ┌Filter on j > 0 && k > 0 8260 └Output field names ["i" "j" "k"] 8261 8262 ---- 1327 8263 SELECT * FROM t WHERE i > 0 && j > 0 && k > 0; 8264 ┌Iterate all rows of table "t" using index "xj" where j > 0 8265 └Output field names ["i" "j" "k"] 8266 ┌Filter on i > 0 && k > 0 8267 │Possibly useful indices 8268 │CREATE INDEX xt_i ON t(i); 8269 └Output field names ["i" "j" "k"] 8270 8271 ---- 1328 8272 SELECT * FROM t WHERE i > 0 && j > 0 && k > 0; 8273 ┌Iterate all rows of table "t" using index "xk" where k > 0 8274 └Output field names ["i" "j" "k"] 8275 ┌Filter on i > 0 && j > 0 8276 │Possibly useful indices 8277 │CREATE INDEX xt_i ON t(i); 8278 │CREATE INDEX xt_j ON t(j); 8279 └Output field names ["i" "j" "k"] 8280 8281 ---- 1329 8282 SELECT * FROM t WHERE i > 0 && j > 0 && k > 0 && l > 0; 8283 ┌Iterate all rows of table "t" 8284 └Output field names ["i" "j" "k" "l"] 8285 ┌Filter on i > 0 && j > 0 && k > 0 && l > 0 8286 │Possibly useful indices 8287 │CREATE INDEX xt_i ON t(i); 8288 │CREATE INDEX xt_j ON t(j); 8289 │CREATE INDEX xt_k ON t(k); 8290 │CREATE INDEX xt_l ON t(l); 8291 └Output field names ["i" "j" "k" "l"] 8292 8293 ---- 1330 8294 SELECT * FROM t WHERE i > 0 && j > 0 && k > 0 && l > 0; 8295 ┌Iterate all rows of table "t" using index "xi" where i > 0 8296 └Output field names ["i" "j" "k" "l"] 8297 ┌Filter on j > 0 && k > 0 && l > 0 8298 └Output field names ["i" "j" "k" "l"] 8299 8300 ---- 1331 8301 SELECT * FROM t WHERE i > 0 && j > 0 && k > 0 && l > 0; 8302 ┌Iterate all rows of table "t" using index "xj" where j > 0 8303 └Output field names ["i" "j" "k" "l"] 8304 ┌Filter on i > 0 && k > 0 && l > 0 8305 │Possibly useful indices 8306 │CREATE INDEX xt_i ON t(i); 8307 └Output field names ["i" "j" "k" "l"] 8308 8309 ---- 1332 8310 SELECT * FROM t WHERE i > 0 && j > 0 && k > 0 && l > 0; 8311 ┌Iterate all rows of table "t" using index "xk" where k > 0 8312 └Output field names ["i" "j" "k" "l"] 8313 ┌Filter on i > 0 && j > 0 && l > 0 8314 │Possibly useful indices 8315 │CREATE INDEX xt_i ON t(i); 8316 │CREATE INDEX xt_j ON t(j); 8317 └Output field names ["i" "j" "k" "l"] 8318 8319 ---- 1333 8320 SELECT * FROM t WHERE i > 0 && j > 0 && k > 0 && l > 0; 8321 ┌Iterate all rows of table "t" using index "xl" where l > 0 8322 └Output field names ["i" "j" "k" "l"] 8323 ┌Filter on i > 0 && j > 0 && k > 0 8324 │Possibly useful indices 8325 │CREATE INDEX xt_i ON t(i); 8326 │CREATE INDEX xt_j ON t(j); 8327 │CREATE INDEX xt_k ON t(k); 8328 └Output field names ["i" "j" "k" "l"] 8329 8330 ---- 1334 8331 SELECT * FROM t WHERE i > 12 && i >= 10 && i <= 20 && i < 15 ORDER BY i; 8332 ┌Iterate all rows of table "t" 8333 └Output field names ["i"] 8334 ┌Filter on i > 12 && i >= 10 && i <= 20 && i < 15 8335 │Possibly useful indices 8336 │CREATE INDEX xt_i ON t(i); 8337 └Output field names ["i"] 8338 ┌Order by i, 8339 └Output field names ["i"] 8340 8341 ---- 1335 8342 SELECT * FROM t WHERE i > 12 && i >= 10 && i <= 20 && i < 42; 8343 ┌Iterate all rows of table "t" using index "xt_i" where i > 12 && i <= 20 8344 └Output field names ["i"] 8345 8346 ---- 1336 8347 SELECT * FROM t; 8348 ┌Iterate all rows of table "t" 8349 └Output field names ["i"] 8350 8351 ---- 1337 8352 SELECT * FROM t; 8353 ┌Iterate all rows of table "t" 8354 └Output field names ["t"] 8355 8356 ---- 1340 8357 SELECT count() FROM t; 8358 ┌Iterate all rows of table "t" 8359 └Output field names ["t"] 8360 ┌Group by distinct rows 8361 └Output field names ["t"] 8362 ┌Evaluate count() as "", 8363 └Output field names [""] 8364 8365 ---- 1341 8366 SELECT count() FROM t; 8367 ┌Iterate all rows of table "t" 8368 └Output field names ["i"] 8369 ┌Group by distinct rows 8370 └Output field names ["i"] 8371 ┌Evaluate count() as "", 8372 └Output field names [""] 8373 8374 ---- 1342 8375 SELECT count() FROM t; 8376 ┌Iterate all rows of table "t" 8377 └Output field names ["i"] 8378 ┌Group by distinct rows 8379 └Output field names ["i"] 8380 ┌Evaluate count() as "", 8381 └Output field names [""] 8382 8383 ---- 1343 8384 SELECT * FROM foo WHERE when > now(); 8385 ┌Iterate all rows of table "foo" 8386 └Output field names ["bar" "when"] 8387 ┌Filter on when > now() 8388 └Output field names ["bar" "when"] 8389 8390 ---- 1346 8391 SELECT * FROM t WHERE c1 == 1; 8392 ┌Iterate all rows of table "t" 8393 └Output field names ["c1" "c2"] 8394 ┌Filter on c1 == 1 8395 │Possibly useful indices 8396 │CREATE INDEX xt_c1 ON t(c1); 8397 └Output field names ["c1" "c2"] 8398 8399 ---- 1347 8400 SELECT 42; 8401 ┌Selects values from dummy table 8402 └Output field names [""] 8403 8404 ---- 1348 8405 SELECT * FROM t WHERE EXISTS ( SELECT * FROM t WHERE i == 2 ) ORDER BY i; 8406 ┌Iterate all rows of table "t" 8407 └Output field names ["i"] 8408 ┌Order by i, 8409 └Output field names ["i"] 8410 8411 ---- 1349 8412 SELECT * FROM t WHERE EXISTS ( SELECT * FROM t WHERE i == 2 ); 8413 ┌Iterate no rows 8414 └Output field names ["i"] 8415 8416 ---- 1350 8417 SELECT * FROM t WHERE EXISTS ( SELECT * FROM t WHERE i == 4 ); 8418 ┌Iterate no rows 8419 └Output field names ["i"] 8420 8421 ---- 1351 8422 SELECT * FROM t WHERE NOT EXISTS ( SELECT * FROM t WHERE i == 2 ); 8423 ┌Iterate no rows 8424 └Output field names ["i"] 8425 8426 ---- 1352 8427 SELECT * FROM t WHERE NOT EXISTS ( SELECT * FROM t WHERE i == 4 ) ORDER BY i; 8428 ┌Iterate all rows of table "t" 8429 └Output field names ["i"] 8430 ┌Order by i, 8431 └Output field names ["i"] 8432 8433 ---- 1353 8434 SELECT * FROM t WHERE true ORDER BY i; 8435 ┌Iterate all rows of table "t" 8436 └Output field names ["i"] 8437 ┌Filter on true 8438 └Output field names ["i"] 8439 ┌Order by i, 8440 └Output field names ["i"] 8441 8442 ---- 1354 8443 SELECT * FROM t ORDER BY á; 8444 ┌Iterate all rows of table "t" 8445 └Output field names ["á"] 8446 ┌Order by á, 8447 └Output field names ["á"] 8448 8449 ---- 1355 8450 SELECT * FROM t; 8451 ┌Iterate all rows of table "t" 8452 └Output field names ["c"] 8453 8454 ---- 1356 8455 SELECT c FROM t WHERE c == "abc"; 8456 ┌Iterate all rows of table "t" using index "cx" where c == "abc" 8457 └Output field names ["c"] 8458 8459 ---- 1357 8460 SELECT DISTINCT a FROM t WHERE a NOT IN (SELECT a FROM t WHERE b == 9;); 8461 ┌Iterate all rows of table "t" 8462 └Output field names ["a" "b"] 8463 ┌Filter on a NOT IN (SELECT a FROM t WHERE b == 9;) 8464 └Output field names ["a" "b"] 8465 ┌Evaluate a as "a", 8466 └Output field names ["a"] 8467 ┌Compute distinct rows 8468 └Output field names [a] 8469 8470 ---- 1358 8471 SELECT * FROM t; 8472 ┌Iterate all rows of table "t" 8473 └Output field names ["a" "b" "c"] 8474 8475 ---- 1359 8476 SELECT coalesce(name, "default") AS result FROM people; 8477 ┌Iterate all rows of table "people" 8478 └Output field names ["name"] 8479 ┌Evaluate coalesce(name, "default") as "result", 8480 └Output field names ["result"] 8481 8482 ---- 1360 8483 SELECT coalesce(name, "default") AS result FROM people; 8484 ┌Iterate all rows of table "people" 8485 └Output field names ["name"] 8486 ┌Evaluate coalesce(name, "default") as "result", 8487 └Output field names ["result"] 8488 8489 ---- 1361 8490 SELECT coalesce(name, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "default") AS result FROM people; 8491 ┌Iterate all rows of table "people" 8492 └Output field names ["name"] 8493 ┌Evaluate coalesce(name, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "default") as "result", 8494 └Output field names ["result"] 8495 8496 ---- 1362 8497 SELECT * FROM t WHERE i < 30; 8498 ┌Iterate all rows of table "t" using index "x" where i < 30 8499 └Output field names ["i"] 8500 8501 ---- 1364 8502 SELECT * FROM t WHERE i < 30; 8503 ┌Iterate all rows of table "t" using index "x" where i < 30 8504 └Output field names ["i"] 8505 8506 ---- 1365 8507 SELECT * FROM t ORDER BY a, b, c; 8508 ┌Iterate all rows of table "t" 8509 └Output field names ["a" "b" "c"] 8510 ┌Order by a, b, c, 8511 └Output field names ["a" "b" "c"] 8512 8513 ---- 1366 8514 SELECT * FROM t ORDER BY a, b, c; 8515 ┌Iterate all rows of table "t" 8516 └Output field names ["a" "b" "c"] 8517 ┌Order by a, b, c, 8518 └Output field names ["a" "b" "c"] 8519 8520 ---- 1367 8521 SELECT * FROM t ORDER BY i; 8522 ┌Iterate all rows of table "t" 8523 └Output field names ["i"] 8524 ┌Order by i, 8525 └Output field names ["i"] 8526