• Home
  • Raw
  • Download

Lines Matching refs:WHERE

43923 -      "DELETE FROM icon_mapping WHERE page_url = 'http://yahoo.com/'";
44023 - "DELETE FROM icon_mapping WHERE page_url = 'http://yahoo.com/'";
44409 - "DELETE FROM top_sites WHERE url = "
44528 - "DELETE FROM top_sites WHERE url = "
44584 + raw_db.Execute("DELETE FROM top_sites WHERE url = "
70338 - static const char kDeleteSql[] = "DELETE FROM x WHERE id = 0";
70353 - static const char kSelectSql[] = "SELECT v FROM x WHERE id = 0";
70465 - static const char kDeleteSql[] = "DELETE FROM x WHERE id = 0";
70557 - static const char kSelectSql[] = "SELECT v FROM x WHERE id = 0";
70583 - static const char kDeleteSql[] = "DELETE FROM t WHERE id = 3";
70694 - "SELECT rootpage FROM sqlite_schema WHERE name = ?";
70755 + db.GetUniqueStatement("SELECT rootpage FROM sqlite_schema WHERE name=?"));
81463 +** SELECT x+1, decimal_mul(v,'2') FROM c WHERE x+1<=971
81468 +** SELECT x-1, decimal_mul(v,'0.5') FROM c WHERE x-1>=-1075
81477 +** FROM pow2, c WHERE pow2.x=ieee754_exponent(c.n);
81488 +** FROM pow2, c WHERE pow2.x=ieee754_exponent(c.bin);
81759 - " WHERE sm.type='table'",
82200 +** SELECT * FROM generate_series WHERE start=0 AND stop=100 AND step=5;
82203 +** SELECT * FROM generate_series WHERE start=0 AND stop=100;
82206 +** SELECT * FROM generate_series WHERE start=20 LIMIT 10;
85361 -** SELECT x+1, decimal_mul(v,'2') FROM c WHERE x+1<=971
85366 -** SELECT x-1, decimal_mul(v,'0.5') FROM c WHERE x-1>=-1075
85375 -** FROM pow2, c WHERE pow2.x=ieee754_exponent(c.n);
85386 -** FROM pow2, c WHERE pow2.x=ieee754_exponent(c.bin);
85962 -** SELECT * FROM generate_series WHERE start=0 AND stop=100 AND step=5;
85968 -** SELECT * FROM generate_series WHERE start=0 AND stop=100;
85974 -** SELECT * FROM generate_series WHERE start=20 LIMIT 10;
86263 + " WHERE sm.type='table'",
88187 "SELECT sql FROM sqlite_schema WHERE name NOT LIKE 'sqlite_%%'"
88937 " WHERE origin='pk'", zTab);
89312 " WHERE %s", zWhere);
89328 " WHERE %s ORDER BY rowid DESC", zWhere);
89494 +WHERE t.name COLLATE NOCASE IN (\
89495 + SELECT o.name FROM ColNames o WHERE o.cpos<>t.cpos\
89519 + WHERE substring(t.name,1,t.nlen-t.chop)=substring(d.name,1,d.nlen-d.chop)\
89544 +" WHERE EXISTS("
89547 +" WHERE"
89587 + "FROM ColNames WHERE suff<>'' OR chop!=0"
90432 "DELETE FROM temp.sqlite_parameters WHERE key=%Q", azArg[2]);
90479 appendText(&sSelect, ") WHERE ", 0);
91216 +** an operator that is part of a constraint term in the WHERE clause of
91361 +** <li><p> If the constraint comes from a WHERE clause expression that contains
92710 - * pWhere -> The WHERE clause of the DELETE statement if one is specified.
92715 - * pWhere -> The WHERE clause of the UPDATE statement if one is specified.
92746 +** pWhere -> The WHERE clause of the DELETE statement if one is specified.
92751 +** pWhere -> The WHERE clause of the UPDATE statement if one is specified.
94286 sqlite3TreeViewItem(pView, "WHERE", (n--)>0);
94602 + sqlite3TreeViewItem(pView, "WHERE", (n--)>0);
94648 + sqlite3TreeViewLine(pView, "WHERE");
94790 + sqlite3TreeViewLine(pView, "WHERE");
100558 const char *zIn = "partial index WHERE clauses";
101058 +** operand of a RIGHT JOIN, then pExpr must be from the WHERE
101423 ** an ordinary JOIN. The p argument is the WHERE clause. If the WHERE
101441 " WHERE quick_check GLOB 'CHECK*' OR quick_check GLOB 'NULL*'",
101795 ** * "WHERE a=? AND b=?" matches 2 rows.
103339 -** WHERE clause expression of a SELECT statement. The new term, which
103340 -** is ANDed with the existing WHERE clause, is of the form:
103356 - Expr **ppWhere /* IN/OUT: The WHERE clause to add to */
103396 ** of the more general WHERE clause. These terms are moved over to the
103397 ** WHERE clause during join processing but we need to remember that they
103400 -** The Expr.iRightJoinTable tells the WHERE clause processing that the
103402 +** The Expr.w.iJoin tells the WHERE clause processing that the
103442 +** "pushed down" into the WHERE clause of a subquery.
103487 -** ON and USING clauses are converted into extra terms of the WHERE clause.
103488 -** NATURAL joins also create extra WHERE clause terms.
103495 +** WHERE clause to enforce the specified constraints. The extra
103496 +** WHERE clause terms will be tagged with EP_OuterON or
103526 - /* When the NATURAL keyword is present, add WHERE clause terms for
103568 - /* Add the ON clause to the end of the WHERE clause, connected by
103583 /* Create extra terms on the WHERE clause for each column named
103666 + /* Add the ON clause to the end of the WHERE clause, connected by
104041 ** The parent and sub-query may contain WHERE clauses. Subject to
104074 Expr *pWhere; /* The WHERE clause */
104139 + || NEVER(pSubitem->u3.pOn!=0) /* ON clause already shifted into WHERE */
104303 Select *pSubq, /* The subquery whose WHERE clause is to be augmented */
104304 Expr *pWhere, /* The WHERE clause of the outer query */
104668 SELECTTRACE(0x100,pParse,p,("Move HAVING terms into WHERE:\n"));
104806 ** of the LEFT JOIN used in the WHERE clause.
104879 ("After WHERE-clause push-down into subquery %d:\n", pSub->selId));
105110 Expr *pWhere, /* The WHERE clause */
105583 WhereTerm *a; /* Each a[] describes a term of the WHERE cluase */
105600 WhereInfo *pWInfo; /* Information about this WHERE */
105601 WhereClause *pWC; /* WHERE clause terms */
105609 Expr *pWhere; /* The complete WHERE clause */
105617 int iEndWhere; /* End of the WHERE clause itself */
105622 WhereClause sWC; /* Decomposition of the WHERE clause */
105639 + const WhereInfo *pWInfo, /* WHERE clause */
105682 +#define WHERE_SELFCULL 0x00800000 /* nOut reduced by extra WHERE terms */
105749 + const WhereInfo *pWInfo, /* WHERE clause */
105970 + WhereInfo *pWInfo, /* Complete information about the WHERE clause */
106016 ** Generate code for the start of the iLevel-th loop in the WHERE clause
106224 /* If the original WHERE clause is z of the form: (x1 OR x2 OR ...) AND y
106310 + /* Defer processing WHERE clause constraints until after outer
106408 + goto code_outer_join_constraints; /* WHERE clause constraints */
106425 + /* WHERE clause constraints must be deferred until after outer join
106426 + ** row elimination has completed, since WHERE clause constraints apply
106428 + ** appropriate WHERE clause constraint checks. tag-20220513a.
106707 + ** 3.0 through 3.38 just put the ON clause constraint into the WHERE
106802 + WhereClause *pWC, /* Add the constraint to this WHERE clause */
106845 +** 4. There are no terms in the WHERE clause that will not be passed
107178 - WhereTerm *pTerm, /* WHERE clause term to check */
107181 + const WhereTerm *pTerm, /* WHERE clause term to check */
107192 - /* Cannot use an IS term from the WHERE clause as an index driver for
107217 - WhereClause *pWC, /* The WHERE clause */
107220 + const WhereClause *pWC, /* The WHERE clause */
107238 + ** WHERE clause (or the ON clause of a LEFT join) that constrain which
107293 + WhereInfo *pWInfo, /* The WHERE clause */
107301 + const WhereTerm *pTerm; /* For looping over WHERE clause terms */
107302 + const WhereTerm *pWCEnd; /* Last WHERE clause term */
107408 + WhereInfo *pWInfo, /* The WHERE clause */
107409 WhereClause *pWC, /* The WHERE clause being analyzed */
107434 - /* Count the number of possible WHERE clause constraints referring
107436 + /* Find all WHERE clause constraints referring to this virtual table.
107455 + /* tag-20191211-002: WHERE-clause constraints are not useful to the
107565 - /* tag-20191211-002: WHERE-clause constraints are not useful to the
107732 + /* If there are extra terms in the WHERE clause not used by an index
107765 /* tag-20191211-001: Do not allow constraints from the WHERE clause to
107777 + ** for an example of a WHERE clause constraints that may not be used on
107804 WhereClause *pWC, /* The WHERE clause of the query */
107805 Expr *pWhere /* The WHERE clause from the partial index */
108468 ** Generate the beginning of the loop used for WHERE clause processing.
108471 Expr *pWhere, /* The WHERE clause */
108521 /* Split the WHERE clause into separate subexpressions where each
108547 /* Special case: WHERE terms that do not refer to any tables in the join
108550 ** FROM ... WHERE random()>0; -- eval random() once per row
108551 ** FROM ... WHERE (SELECT random())>0; -- eval random() once overall
108688 if( sqlite3WhereTrace & 0x100 ){ /* Display all terms of the WHERE clause */
108689 sqlite3DebugPrintf("---- WHERE clause at end of analysis:\n");
108818 ** Generate the end of the WHERE loop. See comments on
110514 - /* 138 */ "WHERE",
110659 + /* 139 */ "WHERE",
111502 - 231, /* (149) where_opt ::= WHERE expr */
111504 - 251, /* (151) where_opt_ret ::= WHERE expr */
111506 - 251, /* (153) where_opt_ret ::= WHERE expr RETURNING selcollist */
111674 + 232, /* (149) where_opt ::= WHERE expr */
111676 + 252, /* (151) where_opt_ret ::= WHERE expr */
111678 + 252, /* (153) where_opt_ret ::= WHERE expr RETURNING selcollist */
113077 - case 149: /* where_opt ::= WHERE expr */ yytestcase(yyruleno==149);
113078 - case 151: /* where_opt_ret ::= WHERE expr */ yytestcase(yyruleno==151);
113167 + case 149: /* where_opt ::= WHERE expr */ yytestcase(yyruleno==149);
113168 + case 151: /* where_opt_ret ::= WHERE expr */ yytestcase(yyruleno==151);
113197 case 153: /* where_opt_ret ::= WHERE expr RETURNING selcollist */
115661 - sqlite3_stmt *pIdxDeleter; /* "DELETE FROM %_idx WHERE segid=? */
115662 + sqlite3_stmt *pIdxDeleter; /* "DELETE FROM %_idx WHERE segid=?" */
116049 +** an operator that is part of a constraint term in the WHERE clause of
116194 +** <li><p> If the constraint comes from a WHERE clause expression that contains
119098 +** SELECT x+1, decimal_mul(v,'2') FROM c WHERE x+1<=971
119103 +** SELECT x-1, decimal_mul(v,'0.5') FROM c WHERE x-1>=-1075
119112 +** FROM pow2, c WHERE pow2.x=ieee754_exponent(c.n);
119123 +** FROM pow2, c WHERE pow2.x=ieee754_exponent(c.bin);
119394 - " WHERE sm.type='table'",
119835 +** SELECT * FROM generate_series WHERE start=0 AND stop=100 AND step=5;
119838 +** SELECT * FROM generate_series WHERE start=0 AND stop=100;
119841 +** SELECT * FROM generate_series WHERE start=20 LIMIT 10;
122996 -** SELECT x+1, decimal_mul(v,'2') FROM c WHERE x+1<=971
123001 -** SELECT x-1, decimal_mul(v,'0.5') FROM c WHERE x-1>=-1075
123010 -** FROM pow2, c WHERE pow2.x=ieee754_exponent(c.n);
123021 -** FROM pow2, c WHERE pow2.x=ieee754_exponent(c.bin);
123597 -** SELECT * FROM generate_series WHERE start=0 AND stop=100 AND step=5;
123603 -** SELECT * FROM generate_series WHERE start=0 AND stop=100;
123609 -** SELECT * FROM generate_series WHERE start=20 LIMIT 10;
123898 + " WHERE sm.type='table'",
125822 "SELECT sql FROM sqlite_schema WHERE name NOT LIKE 'sqlite_%%'"
126572 " WHERE origin='pk'", zTab);
126947 " WHERE %s", zWhere);
126963 " WHERE %s ORDER BY rowid DESC", zWhere);
127129 +WHERE t.name COLLATE NOCASE IN (\
127130 + SELECT o.name FROM ColNames o WHERE o.cpos<>t.cpos\
127154 + WHERE substring(t.name,1,t.nlen-t.chop)=substring(d.name,1,d.nlen-d.chop)\
127179 +" WHERE EXISTS("
127182 +" WHERE"
127222 + "FROM ColNames WHERE suff<>'' OR chop!=0"
128067 "DELETE FROM temp.sqlite_parameters WHERE key=%Q", azArg[2]);
128114 appendText(&sSelect, ") WHERE ", 0);
128851 +** an operator that is part of a constraint term in the WHERE clause of
128996 +** <li><p> If the constraint comes from a WHERE clause expression that contains
130351 - * pWhere -> The WHERE clause of the DELETE statement if one is specified.
130356 - * pWhere -> The WHERE clause of the UPDATE statement if one is specified.
130387 +** pWhere -> The WHERE clause of the DELETE statement if one is specified.
130392 +** pWhere -> The WHERE clause of the UPDATE statement if one is specified.
131927 sqlite3TreeViewItem(pView, "WHERE", (n--)>0);
132243 + sqlite3TreeViewItem(pView, "WHERE", (n--)>0);
132289 + sqlite3TreeViewLine(pView, "WHERE");
132431 + sqlite3TreeViewLine(pView, "WHERE");
138199 const char *zIn = "partial index WHERE clauses";
138699 +** operand of a RIGHT JOIN, then pExpr must be from the WHERE
139064 ** an ordinary JOIN. The p argument is the WHERE clause. If the WHERE
139082 " WHERE quick_check GLOB 'CHECK*' OR quick_check GLOB 'NULL*'",
139436 ** * "WHERE a=? AND b=?" matches 2 rows.
140980 -** WHERE clause expression of a SELECT statement. The new term, which
140981 -** is ANDed with the existing WHERE clause, is of the form:
140997 - Expr **ppWhere /* IN/OUT: The WHERE clause to add to */
141037 ** of the more general WHERE clause. These terms are moved over to the
141038 ** WHERE clause during join processing but we need to remember that they
141041 -** The Expr.iRightJoinTable tells the WHERE clause processing that the
141043 +** The Expr.w.iJoin tells the WHERE clause processing that the
141083 +** "pushed down" into the WHERE clause of a subquery.
141128 -** ON and USING clauses are converted into extra terms of the WHERE clause.
141129 -** NATURAL joins also create extra WHERE clause terms.
141136 +** WHERE clause to enforce the specified constraints. The extra
141137 +** WHERE clause terms will be tagged with EP_OuterON or
141167 - /* When the NATURAL keyword is present, add WHERE clause terms for
141209 - /* Add the ON clause to the end of the WHERE clause, connected by
141224 /* Create extra terms on the WHERE clause for each column named
141307 + /* Add the ON clause to the end of the WHERE clause, connected by
141682 ** The parent and sub-query may contain WHERE clauses. Subject to
141715 Expr *pWhere; /* The WHERE clause */
141780 + || NEVER(pSubitem->u3.pOn!=0) /* ON clause already shifted into WHERE */
141944 Select *pSubq, /* The subquery whose WHERE clause is to be augmented */
141945 Expr *pWhere, /* The WHERE clause of the outer query */
142311 SELECTTRACE(0x100,pParse,p,("Move HAVING terms into WHERE:\n"));
142449 ** of the LEFT JOIN used in the WHERE clause.
142522 ("After WHERE-clause push-down into subquery %d:\n", pSub->selId));
142753 Expr *pWhere, /* The WHERE clause */
143226 WhereTerm *a; /* Each a[] describes a term of the WHERE cluase */
143243 WhereInfo *pWInfo; /* Information about this WHERE */
143244 WhereClause *pWC; /* WHERE clause terms */
143252 Expr *pWhere; /* The complete WHERE clause */
143260 int iEndWhere; /* End of the WHERE clause itself */
143265 WhereClause sWC; /* Decomposition of the WHERE clause */
143282 + const WhereInfo *pWInfo, /* WHERE clause */
143325 +#define WHERE_SELFCULL 0x00800000 /* nOut reduced by extra WHERE terms */
143392 + const WhereInfo *pWInfo, /* WHERE clause */
143611 + WhereInfo *pWInfo, /* Complete information about the WHERE clause */
143657 ** Generate code for the start of the iLevel-th loop in the WHERE clause
143865 /* If the original WHERE clause is z of the form: (x1 OR x2 OR ...) AND y
143951 + /* Defer processing WHERE clause constraints until after outer
144049 + goto code_outer_join_constraints; /* WHERE clause constraints */
144066 + /* WHERE clause constraints must be deferred until after outer join
144067 + ** row elimination has completed, since WHERE clause constraints apply
144069 + ** appropriate WHERE clause constraint checks. tag-20220513a.
144348 + ** 3.0 through 3.38 just put the ON clause constraint into the WHERE
144443 + WhereClause *pWC, /* Add the constraint to this WHERE clause */
144486 +** 4. There are no terms in the WHERE clause that will not be passed
144819 - WhereTerm *pTerm, /* WHERE clause term to check */
144822 + const WhereTerm *pTerm, /* WHERE clause term to check */
144833 - /* Cannot use an IS term from the WHERE clause as an index driver for
144858 - WhereClause *pWC, /* The WHERE clause */
144861 + const WhereClause *pWC, /* The WHERE clause */
144879 + ** WHERE clause (or the ON clause of a LEFT join) that constrain which
144934 + WhereInfo *pWInfo, /* The WHERE clause */
144942 + const WhereTerm *pTerm; /* For looping over WHERE clause terms */
144943 + const WhereTerm *pWCEnd; /* Last WHERE clause term */
145049 + WhereInfo *pWInfo, /* The WHERE clause */
145050 WhereClause *pWC, /* The WHERE clause being analyzed */
145075 - /* Count the number of possible WHERE clause constraints referring
145077 + /* Find all WHERE clause constraints referring to this virtual table.
145096 + /* tag-20191211-002: WHERE-clause constraints are not useful to the
145206 - /* tag-20191211-002: WHERE-clause constraints are not useful to the
145373 + /* If there are extra terms in the WHERE clause not used by an index
145406 /* tag-20191211-001: Do not allow constraints from the WHERE clause to
145418 + ** for an example of a WHERE clause constraints that may not be used on
145445 WhereClause *pWC, /* The WHERE clause of the query */
145446 Expr *pWhere /* The WHERE clause from the partial index */
146109 ** Generate the beginning of the loop used for WHERE clause processing.
146112 Expr *pWhere, /* The WHERE clause */
146162 /* Split the WHERE clause into separate subexpressions where each
146188 /* Special case: WHERE terms that do not refer to any tables in the join
146191 ** FROM ... WHERE random()>0; -- eval random() once per row
146192 ** FROM ... WHERE (SELECT random())>0; -- eval random() once overall
146329 if( sqlite3WhereTrace & 0x100 ){ /* Display all terms of the WHERE clause */
146330 sqlite3DebugPrintf("---- WHERE clause at end of analysis:\n");
146459 ** Generate the end of the WHERE loop. See comments on
148320 - /* 148 */ "WHERE",
148470 + /* 149 */ "WHERE",
148883 - /* 338 */ "filter_clause ::= FILTER LP WHERE expr RP",
149078 + /* 341 */ "filter_clause ::= FILTER LP WHERE expr RP",
149460 - 245, /* (152) where_opt ::= WHERE expr */
149462 - 266, /* (154) where_opt_ret ::= WHERE expr */
149464 - 266, /* (156) where_opt_ret ::= WHERE expr RETURNING selcollist */
149635 + 246, /* (152) where_opt ::= WHERE expr */
149637 + 267, /* (154) where_opt_ret ::= WHERE expr */
149639 + 267, /* (156) where_opt_ret ::= WHERE expr RETURNING selcollist */
149821 - 310, /* (338) filter_clause ::= FILTER LP WHERE expr RP */
150048 + 311, /* (341) filter_clause ::= FILTER LP WHERE expr RP */
150301 - -5, /* (338) filter_clause ::= FILTER LP WHERE expr RP */
150496 + -5, /* (341) filter_clause ::= FILTER LP WHERE expr RP */
151202 - case 152: /* where_opt ::= WHERE expr */ yytestcase(yyruleno==152);
151203 - case 154: /* where_opt_ret ::= WHERE expr */ yytestcase(yyruleno==154);
151292 + case 152: /* where_opt ::= WHERE expr */ yytestcase(yyruleno==152);
151293 + case 154: /* where_opt_ret ::= WHERE expr */ yytestcase(yyruleno==154);
151322 case 156: /* where_opt_ret ::= WHERE expr RETURNING selcollist */
152505 - case 338: /* filter_clause ::= FILTER LP WHERE expr RP */
152507 + case 341: /* filter_clause ::= FILTER LP WHERE expr RP */
154053 - sqlite3_stmt *pIdxDeleter; /* "DELETE FROM %_idx WHERE segid=? */
154054 + sqlite3_stmt *pIdxDeleter; /* "DELETE FROM %_idx WHERE segid=?" */
154441 +** an operator that is part of a constraint term in the WHERE clause of
154586 +** <li><p> If the constraint comes from a WHERE clause expression that contains
155379 "SELECT sql FROM sqlite_schema WHERE name NOT LIKE 'sqlite_%%'"
157042 + xaxis(x) AS (VALUES(-2.0) UNION ALL SELECT x+0.05 FROM xaxis WHERE x<1.2),
157043 + yaxis(y) AS (VALUES(-1.0) UNION ALL SELECT y+0.1 FROM yaxis WHERE y<1.0),
157048 + WHERE (x*x + y*y) < 4.0 AND iter<28
159981 - sqlite3_stmt *pIdxDeleter; /* "DELETE FROM %_idx WHERE segid=? */
159982 + sqlite3_stmt *pIdxDeleter; /* "DELETE FROM %_idx WHERE segid=?" */
160166 …light(t1, 29, 1 , '') FROM t1('g+ h') WHERE rank MATCH 'bm25(1.0, 10)' ORDER BY NOT (SELECT 1 FROM…
160185 SELECT rowid, bm25(e1) FROM e1 WHERE e1 MATCH '"just"' ORDER BY rank;
160224 WITH s(i) AS (SELECT 0 UNION ALL SELECT i+1 FROM s WHERE i<999)
160229 WITH s(i) AS (SELECT 0 UNION ALL SELECT i+1 FROM s WHERE i<999)
160388 +** WHERE a=19
161282 SELECT v0.x FROM v0, rt0 WHERE v0.x = rt0.b;
161295 + SELECT * FROM t1 JOIN t0 ON x0>a RIGHT JOIN rt0 ON true WHERE +x0 = 0;
161298 + SELECT * FROM t1 JOIN t0 ON x0>a RIGHT JOIN rt0 ON true WHERE x0 = 0;
161302 + SELECT * FROM t1 JOIN t0 ON true RIGHT JOIN rt0 ON x0>a WHERE +x0 = 0;
161305 + SELECT * FROM t1 JOIN t0 ON true RIGHT JOIN rt0 ON x0>a WHERE x0 = 0;
161434 do_then_undo 1.3 { DELETE FROM t1 WHERE b=2; }
162867 " WHERE quick_check GLOB 'CHECK*' OR quick_check GLOB 'NULL*'",
163225 ** * "WHERE a=? AND b=?" matches 2 rows.
165652 +** operand of a RIGHT JOIN, then pExpr must be from the WHERE
166017 ** an ordinary JOIN. The p argument is the WHERE clause. If the WHERE
168393 // INSERT INTO tab SELECT * FROM aaa JOIN bbb WHERE true ON CONFLICT ...
168431 @@ -925,7 +924,18 @@ where_opt_ret(A) ::= WHERE expr(X) RETURNING selcollist(Y).
169324 const char *zIn = "partial index WHERE clauses";
169788 -** WHERE clause expression of a SELECT statement. The new term, which
169789 -** is ANDed with the existing WHERE clause, is of the form:
169805 - Expr **ppWhere /* IN/OUT: The WHERE clause to add to */
169845 ** of the more general WHERE clause. These terms are moved over to the
169846 ** WHERE clause during join processing but we need to remember that they
169849 -** The Expr.iRightJoinTable tells the WHERE clause processing that the
169851 +** The Expr.w.iJoin tells the WHERE clause processing that the
169891 +** "pushed down" into the WHERE clause of a subquery.
169936 -** ON and USING clauses are converted into extra terms of the WHERE clause.
169937 -** NATURAL joins also create extra WHERE clause terms.
169944 +** WHERE clause to enforce the specified constraints. The extra
169945 +** WHERE clause terms will be tagged with EP_OuterON or
169975 - /* When the NATURAL keyword is present, add WHERE clause terms for
170017 - /* Add the ON clause to the end of the WHERE clause, connected by
170032 /* Create extra terms on the WHERE clause for each column named
170115 + /* Add the ON clause to the end of the WHERE clause, connected by
170490 ** The parent and sub-query may contain WHERE clauses. Subject to
170523 Expr *pWhere; /* The WHERE clause */
170588 + || NEVER(pSubitem->u3.pOn!=0) /* ON clause already shifted into WHERE */
170752 Select *pSubq, /* The subquery whose WHERE clause is to be augmented */
170753 Expr *pWhere, /* The WHERE clause of the outer query */
171117 SELECTTRACE(0x100,pParse,p,("Move HAVING terms into WHERE:\n"));
171255 ** of the LEFT JOIN used in the WHERE clause.
171328 ("After WHERE-clause push-down into subquery %d:\n", pSub->selId));
172469 " WHERE origin='pk'", zTab);
172844 " WHERE %s", zWhere);
172860 " WHERE %s ORDER BY rowid DESC", zWhere);
173026 +WHERE t.name COLLATE NOCASE IN (\
173027 + SELECT o.name FROM ColNames o WHERE o.cpos<>t.cpos\
173051 + WHERE substring(t.name,1,t.nlen-t.chop)=substring(d.name,1,d.nlen-d.chop)\
173076 +" WHERE EXISTS("
173079 +" WHERE"
173119 + "FROM ColNames WHERE suff<>'' OR chop!=0"
173964 "DELETE FROM temp.sqlite_parameters WHERE key=%Q", azArg[2]);
174011 appendText(&sSelect, ") WHERE ", 0);
174727 +** an operator that is part of a constraint term in the WHERE clause of
174872 +** <li><p> If the constraint comes from a WHERE clause expression that contains
175656 - * pWhere -> The WHERE clause of the DELETE statement if one is specified.
175661 - * pWhere -> The WHERE clause of the UPDATE statement if one is specified.
175692 +** pWhere -> The WHERE clause of the DELETE statement if one is specified.
175697 +** pWhere -> The WHERE clause of the UPDATE statement if one is specified.
177054 sqlite3TreeViewItem(pView, "WHERE", (n--)>0);
177370 + sqlite3TreeViewItem(pView, "WHERE", (n--)>0);
177416 + sqlite3TreeViewLine(pView, "WHERE");
177558 + sqlite3TreeViewLine(pView, "WHERE");
177713 Expr *pWhere, /* The WHERE clause */
181980 - WhereTerm *pTerm, /* WHERE clause term to check */
181983 + const WhereTerm *pTerm, /* WHERE clause term to check */
181994 - /* Cannot use an IS term from the WHERE clause as an index driver for
182019 - WhereClause *pWC, /* The WHERE clause */
182022 + const WhereClause *pWC, /* The WHERE clause */
182040 + ** WHERE clause (or the ON clause of a LEFT join) that constrain which
182095 + WhereInfo *pWInfo, /* The WHERE clause */
182103 + const WhereTerm *pTerm; /* For looping over WHERE clause terms */
182104 + const WhereTerm *pWCEnd; /* Last WHERE clause term */
182210 + WhereInfo *pWInfo, /* The WHERE clause */
182211 WhereClause *pWC, /* The WHERE clause being analyzed */
182236 - /* Count the number of possible WHERE clause constraints referring
182238 + /* Find all WHERE clause constraints referring to this virtual table.
182257 + /* tag-20191211-002: WHERE-clause constraints are not useful to the
182367 - /* tag-20191211-002: WHERE-clause constraints are not useful to the
182534 + /* If there are extra terms in the WHERE clause not used by an index
182567 /* tag-20191211-001: Do not allow constraints from the WHERE clause to
182579 + ** for an example of a WHERE clause constraints that may not be used on
182606 WhereClause *pWC, /* The WHERE clause of the query */
182607 Expr *pWhere /* The WHERE clause from the partial index */
183270 ** Generate the beginning of the loop used for WHERE clause processing.
183273 Expr *pWhere, /* The WHERE clause */
183323 /* Split the WHERE clause into separate subexpressions where each
183349 /* Special case: WHERE terms that do not refer to any tables in the join
183352 ** FROM ... WHERE random()>0; -- eval random() once per row
183353 ** FROM ... WHERE (SELECT random())>0; -- eval random() once overall
183490 if( sqlite3WhereTrace & 0x100 ){ /* Display all terms of the WHERE clause */
183491 sqlite3DebugPrintf("---- WHERE clause at end of analysis:\n");
183620 ** Generate the end of the WHERE loop. See comments on
183884 WhereTerm *a; /* Each a[] describes a term of the WHERE cluase */
183901 WhereInfo *pWInfo; /* Information about this WHERE */
183902 WhereClause *pWC; /* WHERE clause terms */
183910 Expr *pWhere; /* The complete WHERE clause */
183918 int iEndWhere; /* End of the WHERE clause itself */
183923 WhereClause sWC; /* Decomposition of the WHERE clause */
183940 + const WhereInfo *pWInfo, /* WHERE clause */
183983 +#define WHERE_SELFCULL 0x00800000 /* nOut reduced by extra WHERE terms */
184053 + const WhereInfo *pWInfo, /* WHERE clause */
184274 + WhereInfo *pWInfo, /* Complete information about the WHERE clause */
184320 ** Generate code for the start of the iLevel-th loop in the WHERE clause
184528 /* If the original WHERE clause is z of the form: (x1 OR x2 OR ...) AND y
184614 + /* Defer processing WHERE clause constraints until after outer
184712 + goto code_outer_join_constraints; /* WHERE clause constraints */
184729 + /* WHERE clause constraints must be deferred until after outer join
184730 + ** row elimination has completed, since WHERE clause constraints apply
184732 + ** appropriate WHERE clause constraint checks. tag-20220513a.
185012 + ** 3.0 through 3.38 just put the ON clause constraint into the WHERE
185107 + WhereClause *pWC, /* Add the constraint to this WHERE clause */
185150 +** 4. There are no terms in the WHERE clause that will not be passed
185634 UPDATE sqlite_master SET sql = 'CREATE INDEX x1i ON x1(j)' WHERE name='x1i';
185644 UPDATE sqlite_master SET sql = '' WHERE name='x1i';
185654 DELETE FROM sqlite_master WHERE name = 'x1i';
185679 + CREATE INDEX t1abx ON t1(a, b, a+b) WHERE c IS NOT NULL;
185682 + INSERT INTO schema_copy(name,sql) SELECT name, sql FROM sqlite_schema WHERE sql IS NOT NULL;
185697 + WHERE (name, sql) NOT IN (SELECT name, sql FROM schema_copy);
185707 + INSERT INTO schema_copy(name,sql) SELECT name, sql FROM sqlite_schema WHERE sql IS NOT NULL;
185722 + WHERE (name, sql) NOT IN (SELECT name, sql FROM schema_copy);
185733 + SELECT name FROM sqlite_schema WHERE (name,sql) NOT IN (SELECT * FROM schema_copy);
185834 + WHERE one.k=two.v;
185869 WHERE group_concat("b", ",") OVER (ORDER BY c||"str");
185872 SELECT 1 FROM t1 AS o WHERE o."a" = "o.a" AND t1.b IN("t1.b")
185879 WHERE group_concat("b", ',') OVER (ORDER BY c||'str');
185901 SELECT sql FROM sqlite_master WHERE name='i0';
185957 + SELECT sql FROM sqlite_schema WHERE type='trigger'
186026 + SELECT sql FROM sqlite_schema WHERE type='trigger';
186042 + SELECT sql FROM sqlite_schema WHERE type='trigger';
186077 + UPDATE t1 SET a='xyz' FROM t3, (SELECT 1 FROM t2 WHERE c)
186079 + UPDATE t1 SET a='xyz' FROM t3, (SELECT 1 FROM t2 WHERE abc)
186101 + UPDATE t1 SET a=1 FROM t3 NATURAL JOIN t4 WHERE t4.e=a
186103 + UPDATE t1 SET a=1 FROM t3 NATURAL JOIN t4 WHERE t4.abc=a
186109 + UPDATE t1 SET a=1 FROM t3 NATURAL JOIN t4 WHERE t4.e=a
186111 + UPDATE t1 SET a=1 FROM t3 NATURAL JOIN "abc" WHERE "abc".e=a
186130 + SELECT sqL FROM sqlite_schema WHERE type='trigger'
186195 + SELECT 1 FROM sqlite_schema WHERE name='t5' AND sql LIKE '%new_col_1%';
186205 set x [execsql {SELECT sql FROM temp.sqlite_master WHERE type='t5'}]
186218 + SELECT 1 FROM sqlite_schema WHERE name='t5' AND sql LIKE '%new_col_1%';
186282 SELECT count(*) FROM t11 LEFT JOIN t12 WHERE t12.y IS t11.w;
186300 + SELECT * FROM t1, t2 LEFT JOIN t3 ON (t2.d=1) WHERE t2.c = +t1.a;
186319 SELECT *, '|' FROM t1 LEFT JOIN t2 ON x=555 WHERE a=234;
186322 + SELECT t1.*, t2.*, '|' FROM t2 RIGHT JOIN t1 ON x=555 WHERE a=234;
186325 SELECT *, '|' FROM t1 LEFT JOIN t2 WHERE a=234 AND x=555;
186328 + SELECT t1.*, t2.*, '|' FROM t2 RIGHT JOIN t1 WHERE a=234 AND x=555;
186341 + WHERE Items.Name = 'Parent'
186345 CREATE INDEX Items_x1 ON Items(ItemName,Name) WHERE ItemName = 'dummy';
186349 WHERE Items.Name = 'Parent'
186357 + WHERE Items.Name = 'Parent'
186440 + set sql "SELECT * FROM t1 $jointype t2 ON $onclause WHERE $whereclause"
186498 set SQL_FILTER {SELECT * FROM t1x WHERE a='%1%'}
186754 + 10 "SELECT DISTINCT a, b FROM vt1 WHERE b='b'" 2 1 1 {a b}
186755 + 11 "SELECT DISTINCT a, b FROM vt1 WHERE +b='b'" 2 1 1 {a b}
186880 + 1 "SELECT * FROM vt1 WHERE b IN (10, 20, 30)" {{10 20 30}}
186881 + 2 "SELECT * FROM vt1 WHERE b IN ('abc', 'def')" {{abc def}}
186882 + 3 "SELECT * FROM vt1 WHERE a IS NULL AND b IN ('abc', 'def')" {{} {abc def}}
186883 + 4 "SELECT * FROM vt1 WHERE a IN (1,2,3) AND b IN ('abc', 'def')"
186887 + WHERE a IN (SELECT 1 UNION SELECT 2) AND b IN ('abc', 'def')"
186891 + WHERE b IN ('abc', 'def') AND a IN (SELECT 1 UNION SELECT 2)"
186901 +#explain_i { SELECT * FROM vt1 WHERE b IN (10, 20, 30) }
186939 + 1 "SELECT * FROM vt1 WHERE b = 10" {10}
186940 + 2 "SELECT * FROM vt1 WHERE a = 'abc' AND b < 30" {abc 30}
186941 + 3 "SELECT * FROM vt1 WHERE a = 'abc' AND b < 30+2" {abc -}
186942 + 4 "SELECT * FROM vt1 WHERE a IN (1,2,3) AND b < 30+2" {- -}
186943 + 5 "SELECT * FROM vt1 WHERE a IS 111 AND b < 30+2" {111 -}
187021 + if {[llength $W]} { set where " WHERE [join $W { AND }]" }
187041 + WITH c(i) AS ( SELECT 1 UNION ALL SELECT i+1 FROM c WHERE i<$off )
187091 + SELECT DISTINCT a FROM vt1 WHERE c IN (4,5,6,7,8)
187093 + {SELECT DISTINCT 0, a, 0, 0 FROM t1 WHERE c IN (4,5,6,7,8)}
187098 + SELECT DISTINCT a FROM vt1 WHERE c IN (4,5,6,7,8)
187100 + {SELECT DISTINCT 0, a, 0, 0 FROM t1 WHERE c = 4}
187101 + {SELECT DISTINCT 0, a, 0, 0 FROM t1 WHERE c = 5}
187102 + {SELECT DISTINCT 0, a, 0, 0 FROM t1 WHERE c = 6}
187103 + {SELECT DISTINCT 0, a, 0, 0 FROM t1 WHERE c = 7}
187104 + {SELECT DISTINCT 0, a, 0, 0 FROM t1 WHERE c = 8}
187109 + SELECT a, b, c FROM vt1 WHERE c IN (4,5,6,7,8) LIMIT 2 OFFSET 2
187111 + {SELECT rowid, a, b, c FROM t1 WHERE c IN (4,5,6,7,8) LIMIT 2 OFFSET 2}
187116 + SELECT a, b, c FROM vt1 WHERE c IN (4,5,6,7,8) LIMIT 2 OFFSET 2
187118 + {SELECT rowid, a, b, c FROM t1 WHERE c = 4}
187119 + {SELECT rowid, a, b, c FROM t1 WHERE c = 5}
187120 + {SELECT rowid, a, b, c FROM t1 WHERE c = 6}
187121 + {SELECT rowid, a, b, c FROM t1 WHERE c = 7}
187329 + WITH RECURSIVE c(x) AS (VALUES(1) UNION ALL SELECT x+1 FROM c WHERE x<100)
187331 + UPDATE t1 SET b=zeroblob(1000) WHERE a=198;
187390 +# a WHERE clause that makes it a no-op, but the sqlite3_stmt_readonly()
187401 +test_is_readonly capi3d-2.11 {UPDATE t2 SET a=a+1 WHERE false} 0
187478 + UPDATE some_table SET value='v2' WHERE id=1 RETURNING id
187699 uses_op_count {SELECT count(*) FROM t2 WHERE a IS NOT NULL}
188083 + WITH inc(x) AS (VALUES(-10) UNION ALL SELECT x+1 FROM inc WHERE x<100)
188085 + WHERE datetime('1970-01-01',format('%+d days',x))
188417 + UPDATE sqlite_schema SET name='sqlite_autoindex_sqlite_stat1_1' WHERE name='sqlite_autoindex_sql…
188451 + DELETE FROM aux.p1 WHERE a=123;
188498 SELECT rowid FROM t2 WHERE t2 MATCH 'hello';
188509 SELECT rowid FROM two.t3 WHERE t3 MATCH 'hello';
188537 SELECT rowid FROM t1 WHERE t1 MATCH 'world';
188547 SELECT rowid FROM t1 WHERE t1 MATCH 'world';
188558 SELECT rowid FROM t1 WHERE t1 MATCH 'world';
188570 SELECT rowid FROM t1 WHERE t1 MATCH 'world';
188579 SELECT rowid FROM t1 WHERE t1 MATCH 'third';
188589 SELECT rowid FROM t1 WHERE t1 MATCH 'dimension';
188604 SELECT matchinfo( f , 'pcx') FROM f WHERE b MATCH x'c533';
188636 + SELECT block FROM f_segments WHERE blockid=1
188637 + ) WHERE blockid=2
188877 + SELECT*FROM t1 WHERE t1 MATCH'ATE"0"OR"2D:P"""ATE"0"OR"2:P"""';
189094 + SELECT rowid, quote(matchinfo(t1,'pcxybspcxybs')) FROM t1 WHERE t1 MATCH'ATE"0"OR"2:P"""';
189197 execsql { SELECT mit(matchinfo(t8, 's')) FROM t8 WHERE t8 MATCH 'a b c' }
189346 + SELECT * FROM t1 WHERE a IN (SELECT sqlite_offset(b) FROM t2);
194366 + "SELECT 1 FROM bytecode(?1) WHERE opcode='VOpen'", -1, &pCk, 0);
194392 + const char *zAnd = "WHERE";
194435 + ** WHERE clause. */
194582 SELECT b FROM t1 WHERE a IN ('hello','there')
194589 SELECT b FROM t1 WHERE a IN ("hello",'there')
194667 - SELECT name FROM sqlite_master WHERE type="index" AND tbl_name="t5";
194668 + SELECT name FROM sqlite_master WHERE type='index' AND tbl_name='t5';
194686 SELECT * FROM t1 WHERE a IS NOT NULL;
194701 + CREATE INDEX i0 ON t2(c) WHERE c=3;
194706 + SELECT * FROM t2 RIGHT JOIN t3 ON d<>0 LEFT JOIN t1 ON c=3 WHERE t1.a<>0;
194716 CREATE INDEX t1x ON t1(x) WHERE y=45;
194720 do_sqluses_test 1.1 { SELECT * FROM t1 WHERE x=? AND y=$y } {t1 t1x}
194742 + WHERE x IS +y COLLATE NOCASE IN (SELECT z FROM t1)
195050 + SELECT * FROM t3 CROSS JOIN t4 ON (t4.x = t3.x) WHERE (+t4.y = ? OR t4.z = ?);
195073 + SELECT a FROM (SELECT a FROM t1 NATURAL LEFT JOIN t1) NATURAL LEFT JOIN t1 WHERE (rowid,1)<=(5,0…
195082 + WITH RECURSIVE c(x) AS (VALUES(1) UNION ALL SELECT x+1 FROM c WHERE x<20)
195088 + CREATE VIEW v1 AS SELECT * FROM t1 NATURAL JOIN t1 WHERE (x BETWEEN 0 AND 10) OR true;
195095 +# Bloom-filter on a LEFT JOIN with NULL-based WHERE constraints.
195101 + WITH RECURSIVE c(x) AS (VALUES(1) UNION ALL SELECT x+1 FROM c WHERE x<8)
195111 + SELECT count(*) FROM t1 LEFT JOIN t2 ON c=b WHERE d IS NULL;
195114 + SELECT count(*) FROM t1 LEFT JOIN t2 ON c=b WHERE d=100;
195117 + SELECT count(*) FROM t1 LEFT JOIN t2 ON c=b WHERE d>=300;
195126 + WITH RECURSIVE c(x) AS (VALUES(1) UNION ALL SELECT x+1 FROM c WHERE x<100)
195129 + INSERT INTO t2(b,x) SELECT b, a FROM t1 WHERE a%3==0;
195132 + INSERT INTO t3(c,y) SELECT c, a FROM t1 WHERE a%4==0;
195138 + SELECT * FROM t1 NATURAL JOIN t2 NATURAL JOIN t3 WHERE x>0 AND y>0
195304 + WHERE b=c
195312 + WHERE b>0
195321 + WHERE b>0 OR b IS NULL
195341 + SELECT t1.*, t2.* FROM t2 FULL OUTER JOIN t1 ON b=c AND b>3 WHERE c>4
195347 + SELECT t1.*, t2.* FROM t2 FULL OUTER JOIN t1 ON b=c WHERE b>3 AND c>4
195352 + SELECT t1.*, t2.* FROM t2 FULL OUTER JOIN t1 ON b=c WHERE b>3 OR c>4
195438 + SELECT * FROM t1 FULL OUTER JOIN t2 ON b=c WHERE a=1 ORDER BY +b;
195446 + SELECT t1.*, t2.* FROM t2 FULL OUTER JOIN t1 ON b=c WHERE a=1 ORDER BY +b;
195456 + WHERE a=1 OR a IS NULL ORDER BY +b;
195466 + WHERE a=1 OR a IS NULL ORDER BY +b;
195476 + SELECT * FROM t1 FULL OUTER JOIN t2 ON b=c WHERE a IS NULL ORDER BY +d;
195573 + WHERE (b, 2 ) IS ( SELECT 2 IN(2,2),2)
195576 + WHERE ( rowid , 1 )<=(CASE 5 WHEN 619 THEN 841 ELSE 3374391096 END,0)
195580 + WHERE (b, 2 ) IS ( SELECT 3 IN(3,3),3)
195583 + WHERE ( rowid , 1 )<=(CASE 5 WHEN 619 THEN 841 ELSE 3374391096 END,0)
195617 + INSERT INTO t1 SELECT value, 1 FROM generate_series(1,256) WHERE value & 1;
195618 + INSERT INTO t2 SELECT value, 1 FROM generate_series(1,256) WHERE value & 2;
195619 + INSERT INTO t3 SELECT value, 1 FROM generate_series(1,256) WHERE value & 4;
195620 + INSERT INTO t4 SELECT value, 1 FROM generate_series(1,256) WHERE value & 8;
195621 + INSERT INTO t5 SELECT value, 1 FROM generate_series(1,256) WHERE value & 16;
195622 + INSERT INTO t6 SELECT value, 1 FROM generate_series(1,256) WHERE value & 32;
195623 + INSERT INTO t7 SELECT value, 1 FROM generate_series(1,256) WHERE value & 64;
195624 + INSERT INTO t8 SELECT value, 1 FROM generate_series(1,256) WHERE value & 128;
195643 + UPDATE t9 SET a=0 WHERE a IS NULL;
195644 + UPDATE t9 SET b=0 WHERE b IS NULL;
195645 + UPDATE t9 SET c=0 WHERE c IS NULL;
195646 + UPDATE t9 SET d=0 WHERE d IS NULL;
195647 + UPDATE t9 SET e=0 WHERE e IS NULL;
195648 + UPDATE t9 SET f=0 WHERE f IS NULL;
195649 + UPDATE t9 SET g=0 WHERE g IS NULL;
195650 + UPDATE t9 SET h=0 WHERE h IS NULL;
195651 + SELECT count(*) FROM t9 WHERE id=128*h+64*g+32*f+16*e+8*d+4*c+2*b+a;
195654 + SELECT * FROM t9 WHERE id<>128*h+64*g+32*f+16*e+8*d+4*c+2*b+a;
195665 + SELECT a FROM t1 NATURAL RIGHT JOIN t1 WHERE a=5555 OR (1,b)==(SELECT 2 IN (2,2),4);
195689 + WHERE (a,b) IN (SELECT rowid, b FROM t1);
195696 + WHERE (a,b) IN (SELECT a, b FROM t1);
195703 + WHERE (a,b) IN (SELECT rowid, b FROM t1);
195711 + WITH RECURSIVE c(x) AS (VALUES(0) UNION ALL SELECT x+1 FROM c WHERE x<10)
195714 + INSERT INTO t2(b,x) SELECT b, a FROM t1 WHERE a%2=0;
195717 + INSERT INTO t3(c,y) SELECT c, a FROM t1 WHERE a%3=0;
195720 + INSERT INTO t4(d,z) SELECT d, a FROM t1 WHERE a%5=0;
195815 + SELECT * FROM t1 NATURAL RIGHT JOIN t1 AS t2 WHERE (a,b) IN (SELECT a+0, b FROM t1);
195875 + SELECT * FROM t1 RIGHT JOIN t2 ON (a=b) WHERE 99+(b+1)!=99;
195878 + CREATE INDEX t2b ON t2(b+1) WHERE b IS NOT NULL;
195879 + SELECT * FROM t1 RIGHT JOIN t2 ON (a=b) WHERE 99+(b+1)!=99;
195887 + SELECT b, d FROM t1 RIGHT JOIN t2 WHERE (b+0)=1 AND d!=4;
195891 + SELECT b, d FROM t1 RIGHT JOIN t2 WHERE (b+0)=1 AND d!=4;
195895 + CREATE INDEX i2 ON t2((b+0), d) WHERE d IS NOT NULL;
195896 + SELECT b, d FROM t1 RIGHT JOIN t2 WHERE (b+0)=1 AND d!=4;
195939 + WHERE t2.y ISNULL;
195952 + SELECT * FROM v0 RIGHT JOIN t1 ON t1.a<>'' INNER JOIN t0 ON t0.c<>'' WHERE b ISNULL;
195961 + SELECT * FROM y0 RIGHT JOIN y1 ON true INNER JOIN y2 ON true WHERE y2.c!=99 AND y2.c!=98;
195985 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600);
196002 + WHERE t5.y!='x' AND t4.x!='x';
196020 + SELECT * FROM t1 RIGHT JOIN t2 ON true LEFT JOIN t3 ON a<>'' WHERE c IS NULL;
196023 + SELECT * FROM t1 RIGHT JOIN t2 ON true JOIN t3 ON a<>'' WHERE c IS NULL;
196029 + SELECT * FROM t1 RIGHT JOIN t2 ON true LEFT JOIN t3 ON a<>'' WHERE c<>'';
196032 + SELECT * FROM t1 RIGHT JOIN t2 ON true LEFT JOIN t3 ON a<>'' WHERE c IS NOT NULL;
196035 + SELECT * FROM t1 RIGHT JOIN t2 ON true JOIN t3 ON a<>'' WHERE c<>'';
196038 + SELECT * FROM t1 RIGHT JOIN t2 ON true JOIN t3 ON a<>'' WHERE c IS NOT NULL;
196061 + SELECT * FROM t2 RIGHT JOIN t1 WHERE 99=id AND 0=y;
196064 + SELECT * FROM t2 RIGHT JOIN t1 WHERE 99=+id AND 0=y;
196067 + SELECT * FROM t2 RIGHT JOIN t1 WHERE (99, 0)==(id,y);
196070 + SELECT * FROM t2 RIGHT JOIN t1 WHERE (99, 0)==(+id,y);
196073 + SELECT * FROM t2 RIGHT JOIN t1 WHERE 1=id AND 0=y;
196076 + SELECT * FROM t2 RIGHT JOIN t1 WHERE 1=+id AND 0=y;
196079 + SELECT * FROM t2 RIGHT JOIN t1 WHERE (1, 0)==(id,y);
196082 + SELECT * FROM t2 RIGHT JOIN t1 WHERE (1, 0)==(+id,y);
196090 + SELECT t3.a FROM t4 RIGHT JOIN t3 ON (x=a) WHERE (b, 4)=(SELECT 3, 4);
196093 + SELECT t3.a FROM t4 RIGHT JOIN t3 ON (x=a) WHERE (b, 4) IS (SELECT 3, 4);
196104 + SELECT *, x NOTNULL, (x NOTNULL)=a FROM t2 RIGHT JOIN t1 ON true WHERE (x NOTNULL)=a;
196108 + SELECT *, x NOTNULL, (x NOTNULL)=a FROM t2 RIGHT JOIN t1 ON true WHERE (x NOTNULL)=a;
196184 +# Do not allow constant propagation between ON and WHERE clause terms.
196197 + SELECT * FROM t1 JOIN t3 ON (b=TRUE) RIGHT JOIN t2 ON TRUE WHERE (b IS TRUE);
196210 + SELECT * FROM t1 JOIN t2 ON d>b RIGHT JOIN t3 ON true WHERE +d = 0;
196213 + SELECT * FROM t1 JOIN t2 ON d>b RIGHT JOIN t3 ON true WHERE d = 0;
196220 +# Restrictions on the usage of WHERE clause constraints by joins that are
196234 + WHERE a=b;
196268 + WHERE d ISNULL
196299 + CREATE INDEX i0 ON t3(c3) WHERE d3 ISNULL;
196321 + SELECT DISTINCT b, c, d FROM t2, t3 WHERE b<>0
196322 + UNION SELECT DISTINCT b, c, d FROM t2, t3 WHERE b ISNULL;
196685 + WHERE x<>'bob' OR x IS NULL
196701 + WITH t7(id,a) AS MATERIALIZED (SELECT * FROM t4 WHERE false)
197170 + INSERT INTO t5 SELECT * FROM t3 WHERE a>=15;
197190 + WHERE a<>13
197211 + WHERE a<=18
197237 + WHERE d<>33 OR d IS NULL
197266 + WHERE b BETWEEN 12 AND 17
197288 + WHERE a<>13
197310 + WHERE a<=18
197337 + WHERE d<>33 OR d IS NULL
197367 + WHERE b BETWEEN 12 AND 17
197390 + WHERE a<>13
197415 + WHERE a<=18
197443 + WHERE d<>33 OR d IS NULL
197474 + WHERE b BETWEEN 12 AND 17
197497 + WHERE a<>13
197523 + WHERE a<=18
197552 + WHERE d<>33 OR d IS NULL
197584 + WHERE b BETWEEN 12 AND 17
197606 + WHERE a<>13
197627 + WHERE a<=18
197653 + WHERE d<>33 OR d IS NULL
197682 + WHERE b BETWEEN 12 AND 17
197704 + WHERE a<>13
197726 + WHERE a<=18
197753 + WHERE d<>33 OR d IS NULL
197783 + WHERE b BETWEEN 12 AND 17
197806 + WHERE a<>13
197831 + WHERE a<=18
197859 + WHERE d<>33 OR d IS NULL
197890 + WHERE b BETWEEN 12 AND 17
197913 + WHERE a<>13
197939 + WHERE a<=18
197968 + WHERE d<>33 OR d IS NULL
198000 + WHERE b BETWEEN 12 AND 17
198023 + WHERE a<>13
198048 + WHERE a<=18
198075 + WHERE d<>33 OR d IS NULL
198106 + WHERE b BETWEEN 12 AND 17
198131 + WHERE a<>13
198162 + WHERE a<=18
198191 + WHERE d<>33 OR d IS NULL
198224 + WHERE b BETWEEN 12 AND 17
198247 + WHERE a<>13
198272 + WHERE a<=18
198300 + WHERE d<>33 OR d IS NULL
198331 + WHERE b BETWEEN 12 AND 17
198356 + WHERE a<>13
198387 + WHERE a<=18
198417 + WHERE d<>33 OR d IS NULL
198450 + WHERE b BETWEEN 12 AND 17
198473 + WHERE a<>13
198498 + WHERE a<=18
198525 + WHERE d<>33 OR d IS NULL
198556 + WHERE b BETWEEN 12 AND 17
198581 + WHERE a<>13
198612 + WHERE a<=18
198641 + WHERE d<>33 OR d IS NULL
198674 + WHERE b BETWEEN 12 AND 17
198697 + WHERE a<>13
198722 + WHERE a<=18
198750 + WHERE d<>33 OR d IS NULL
198781 + WHERE b BETWEEN 12 AND 17
198806 + WHERE a<>13
198837 + WHERE a<=18
198867 + WHERE d<>33 OR d IS NULL
198900 + WHERE b BETWEEN 12 AND 17
198922 + WHERE a<>13
198944 + WHERE a<=18
198971 + WHERE d<>33 OR d IS NULL
199001 + WHERE b BETWEEN 12 AND 17
199024 + WHERE a<>13
199049 + WHERE a<=18
199078 + WHERE d<>33 OR d IS NULL
199109 + WHERE b BETWEEN 12 AND 17
199132 + WHERE a<>13
199157 + WHERE a<=18
199185 + WHERE d<>33 OR d IS NULL
199216 + WHERE b BETWEEN 12 AND 17
199240 + WHERE a<>13
199268 + WHERE a<=18
199298 + WHERE d<>33 OR d IS NULL
199330 + WHERE b BETWEEN 12 AND 17
199352 + WHERE a<>13
199374 + WHERE a<=18
199401 + WHERE d<>33 OR d IS NULL
199431 + WHERE b BETWEEN 12 AND 17
199454 + WHERE a<>13
199479 + WHERE a<=18
199508 + WHERE d<>33 OR d IS NULL
199539 + WHERE b BETWEEN 12 AND 17
199562 + WHERE a<>13
199587 + WHERE a<=18
199615 + WHERE d<>33 OR d IS NULL
199646 + WHERE b BETWEEN 12 AND 17
199670 + WHERE a<>13
199698 + WHERE a<=18
199728 + WHERE d<>33 OR d IS NULL
199760 + WHERE b BETWEEN 12 AND 17
199783 + WHERE a<>13
199808 + WHERE a<=18
199835 + WHERE d<>33 OR d IS NULL
199866 + WHERE b BETWEEN 12 AND 17
199891 + WHERE a<>13
199922 + WHERE a<=18
199951 + WHERE d<>33 OR d IS NULL
199984 + WHERE b BETWEEN 12 AND 17
200007 + WHERE a<>13
200032 + WHERE a<=18
200060 + WHERE d<>33 OR d IS NULL
200091 + WHERE b BETWEEN 12 AND 17
200116 + WHERE a<>13
200147 + WHERE a<=18
200177 + WHERE d<>33 OR d IS NULL
200210 + WHERE b BETWEEN 12 AND 17
200233 + WHERE a<>13
200258 + WHERE a<=18
200285 + WHERE d<>33 OR d IS NULL
200316 + WHERE b BETWEEN 12 AND 17
200341 + WHERE a<>13
200372 + WHERE a<=18
200401 + WHERE d<>33 OR d IS NULL
200434 + WHERE b BETWEEN 12 AND 17
200457 + WHERE a<>13
200482 + WHERE a<=18
200510 + WHERE d<>33 OR d IS NULL
200541 + WHERE b BETWEEN 12 AND 17
200566 + WHERE a<>13
200597 + WHERE a<=18
200627 + WHERE d<>33 OR d IS NULL
200660 + WHERE b BETWEEN 12 AND 17
200682 + WHERE a<>13
200704 + WHERE a<=18
200731 + WHERE d<>33 OR d IS NULL
200761 + WHERE b BETWEEN 12 AND 17
200784 + WHERE a<>13
200809 + WHERE a<=18
200838 + WHERE d<>33 OR d IS NULL
200869 + WHERE b BETWEEN 12 AND 17
200892 + WHERE a<>13
200917 + WHERE a<=18
200945 + WHERE d<>33 OR d IS NULL
200976 + WHERE b BETWEEN 12 AND 17
201000 + WHERE a<>13
201028 + WHERE a<=18
201058 + WHERE d<>33 OR d IS NULL
201090 + WHERE b BETWEEN 12 AND 17
201112 + WHERE a<>13
201134 + WHERE a<=18
201161 + WHERE d<>33 OR d IS NULL
201191 + WHERE b BETWEEN 12 AND 17
201214 + WHERE a<>13
201240 + WHERE a<=18
201269 + WHERE d<>33 OR d IS NULL
201301 + WHERE b BETWEEN 12 AND 17
201324 + WHERE a<>13
201349 + WHERE a<=18
201377 + WHERE d<>33 OR d IS NULL
201408 + WHERE b BETWEEN 12 AND 17
201432 + WHERE a<>13
201461 + WHERE a<=18
201491 + WHERE d<>33 OR d IS NULL
201524 + WHERE b BETWEEN 12 AND 17
201547 + WHERE a<>13
201572 + WHERE a<=18
201600 + WHERE d<>33 OR d IS NULL
201631 + WHERE b BETWEEN 12 AND 17
201656 + WHERE a<>13
201687 + WHERE a<=18
201718 + WHERE d<>33 OR d IS NULL
201751 + WHERE b BETWEEN 12 AND 17
201774 + WHERE a<>13
201799 + WHERE a<=18
201827 + WHERE d<>33 OR d IS NULL
201858 + WHERE b BETWEEN 12 AND 17
201883 + WHERE a<>13
201914 + WHERE a<=18
201945 + WHERE d<>33 OR d IS NULL
201978 + WHERE b BETWEEN 12 AND 17
202001 + WHERE a<>13
202026 + WHERE a<=18
202054 + WHERE d<>33 OR d IS NULL
202085 + WHERE b BETWEEN 12 AND 17
202110 + WHERE a<>13
202142 + WHERE a<=18
202173 + WHERE d<>33 OR d IS NULL
202207 + WHERE b BETWEEN 12 AND 17
202230 + WHERE a<>13
202255 + WHERE a<=18
202283 + WHERE d<>33 OR d IS NULL
202314 + WHERE b BETWEEN 12 AND 17
202339 + WHERE a<>13
202371 + WHERE a<=18
202402 + WHERE d<>33 OR d IS NULL
202436 + WHERE b BETWEEN 12 AND 17
202458 + WHERE a<>13
202481 + WHERE a<=18
202509 + WHERE d<>33 OR d IS NULL
202540 + WHERE b BETWEEN 12 AND 17
202564 + WHERE a<>13
202592 + WHERE a<=18
202623 + WHERE d<>33 OR d IS NULL
202655 + WHERE b BETWEEN 12 AND 17
202678 + WHERE a<>13
202703 + WHERE a<=18
202731 + WHERE d<>33 OR d IS NULL
202762 + WHERE b BETWEEN 12 AND 17
202787 + WHERE a<>13
202817 + WHERE a<=18
202848 + WHERE d<>33 OR d IS NULL
202880 + WHERE b BETWEEN 12 AND 17
202902 + WHERE a<>13
202925 + WHERE a<=18
202953 + WHERE d<>33 OR d IS NULL
202984 + WHERE b BETWEEN 12 AND 17
203008 + WHERE a<>13
203037 + WHERE a<=18
203068 + WHERE d<>33 OR d IS NULL
203101 + WHERE b BETWEEN 12 AND 17
203124 + WHERE a<>13
203149 + WHERE a<=18
203177 + WHERE d<>33 OR d IS NULL
203208 + WHERE b BETWEEN 12 AND 17
203233 + WHERE a<>13
203264 + WHERE a<=18
203295 + WHERE d<>33 OR d IS NULL
203328 + WHERE b BETWEEN 12 AND 17
203351 + WHERE a<>13
203376 + WHERE a<=18
203404 + WHERE d<>33 OR d IS NULL
203435 + WHERE b BETWEEN 12 AND 17
203460 + WHERE a<>13
203491 + WHERE a<=18
203522 + WHERE d<>33 OR d IS NULL
203555 + WHERE b BETWEEN 12 AND 17
203578 + WHERE a<>13
203603 + WHERE a<=18
203631 + WHERE d<>33 OR d IS NULL
203662 + WHERE b BETWEEN 12 AND 17
203687 + WHERE a<>13
203718 + WHERE a<=18
203749 + WHERE d<>33 OR d IS NULL
203782 + WHERE b BETWEEN 12 AND 17
203805 + WHERE a<>13
203830 + WHERE a<=18
203858 + WHERE d<>33 OR d IS NULL
203889 + WHERE b BETWEEN 12 AND 17
203914 + WHERE a<>13
203946 + WHERE a<=18
203977 + WHERE d<>33 OR d IS NULL
204011 + WHERE b BETWEEN 12 AND 17
204034 + WHERE a<>13
204059 + WHERE a<=18
204087 + WHERE d<>33 OR d IS NULL
204118 + WHERE b BETWEEN 12 AND 17
204143 + WHERE a<>13
204175 + WHERE a<=18
204206 + WHERE d<>33 OR d IS NULL
204240 + WHERE b BETWEEN 12 AND 17
204269 +# INSERT INTO t5 SELECT * FROM t3 WHERE a>=15;
204310 +# append q2 " WHERE b BETWEEN 12 AND 17\n"
204327 +# append q2 " WHERE a<>13\n"
204342 +# append q2 " WHERE a<=18\n"
204359 +# append q2 " WHERE d<>33 OR d IS NULL\n"
204428 + INSERT INTO t5 SELECT * FROM t3 WHERE a>=15;
209018 + WITH RECURSIVE c(x) AS (VALUES(0) UNION ALL SELECT x+1 FROM c WHERE x<95)
209021 + INSERT INTO t2(b,x) SELECT b, a FROM t1 WHERE a%2=0;
209024 + INSERT INTO t3(c,y) SELECT c, a FROM t1 WHERE a%3=0;
209027 + INSERT INTO t4(d,z) SELECT d, a FROM t1 WHERE a%5=0;
209063 + WHERE t2.x>0
209075 + WHERE (t2.x>0 OR t2.x IS NULL)
209087 + WHERE t1.b=t2.b AND t2.x>0
209099 + WHERE t3.y>0
209111 + WHERE t3.y>0 OR t3.y IS NULL
209123 + WHERE t4.z>0
209135 + WHERE t4.z IS NULL OR t4.z>0
209147 + WHERE t2.x>0 AND t4.z>0
209159 + WHERE t4.z>0 AND t3.y>0
209171 + WHERE t2.x>0 AND t3.y>0
209183 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
209206 + WHERE t1.b IS NOT DISTINCT FROM t2.b
209218 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
209230 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
209310 + WHERE t2.x>0
209334 + WHERE (t2.x>0 OR t2.x IS NULL)
209358 + WHERE t1.b=t2.b AND t2.x>0
209382 + WHERE t3.y>0
209406 + WHERE t3.y>0 OR t3.y IS NULL
209430 + WHERE t4.z>0
209442 + WHERE t4.z IS NULL OR t4.z>0
209466 + WHERE t2.x>0 AND t4.z>0
209478 + WHERE t4.z>0 AND t3.y>0
209490 + WHERE t2.x>0 AND t3.y>0
209514 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
209549 + WHERE t1.b IS NOT DISTINCT FROM t2.b
209573 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
209597 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
209711 + WHERE t2.x>0
209723 + WHERE (t2.x>0 OR t2.x IS NULL)
209752 + WHERE t1.b=t2.b AND t2.x>0
209764 + WHERE t3.y>0
209776 + WHERE t3.y>0 OR t3.y IS NULL
209805 + WHERE t4.z>0
209833 + WHERE t4.z IS NULL OR t4.z>0
209861 + WHERE t2.x>0 AND t4.z>0
209873 + WHERE t4.z>0 AND t3.y>0
209885 + WHERE t2.x>0 AND t3.y>0
209897 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
209937 + WHERE t1.b IS NOT DISTINCT FROM t2.b
209963 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
209976 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
210124 + WHERE t2.x>0
210148 + WHERE (t2.x>0 OR t2.x IS NULL)
210189 + WHERE t1.b=t2.b AND t2.x>0
210213 + WHERE t3.y>0
210237 + WHERE t3.y>0 OR t3.y IS NULL
210278 + WHERE t4.z>0
210306 + WHERE t4.z IS NULL OR t4.z>0
210346 + WHERE t2.x>0 AND t4.z>0
210358 + WHERE t4.z>0 AND t3.y>0
210370 + WHERE t2.x>0 AND t3.y>0
210394 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
210446 + WHERE t1.b IS NOT DISTINCT FROM t2.b
210484 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
210509 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d = t4.d
210635 + WHERE t2.x>0
210653 + WHERE (t2.x>0 OR t2.x IS NULL)
210671 + WHERE t1.b=t2.b AND t2.x>0
210689 + WHERE t3.y>0
210701 + WHERE t3.y>0 OR t3.y IS NULL
210719 + WHERE t4.z>0
210737 + WHERE t4.z IS NULL OR t4.z>0
210755 + WHERE t2.x>0 AND t4.z>0
210773 + WHERE t4.z>0 AND t3.y>0
210785 + WHERE t2.x>0 AND t3.y>0
210797 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
210826 + WHERE t1.b IS NOT DISTINCT FROM t2.b
210844 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
210856 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
211018 + WHERE t2.x>0
211074 + WHERE (t2.x>0 OR t2.x IS NULL)
211130 + WHERE t1.b=t2.b AND t2.x>0
211186 + WHERE t3.y>0
211210 + WHERE t3.y>0 OR t3.y IS NULL
211266 + WHERE t4.z>0
211284 + WHERE t4.z IS NULL OR t4.z>0
211340 + WHERE t2.x>0 AND t4.z>0
211358 + WHERE t4.z>0 AND t3.y>0
211370 + WHERE t2.x>0 AND t3.y>0
211394 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
211461 + WHERE t1.b IS NOT DISTINCT FROM t2.b
211517 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
211541 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
211725 + WHERE t2.x>0
211743 + WHERE (t2.x>0 OR t2.x IS NULL)
211772 + WHERE t1.b=t2.b AND t2.x>0
211790 + WHERE t3.y>0
211802 + WHERE t3.y>0 OR t3.y IS NULL
211831 + WHERE t4.z>0
211859 + WHERE t4.z IS NULL OR t4.z>0
211887 + WHERE t2.x>0 AND t4.z>0
211905 + WHERE t4.z>0 AND t3.y>0
211917 + WHERE t2.x>0 AND t3.y>0
211929 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
211969 + WHERE t1.b IS NOT DISTINCT FROM t2.b
211988 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
212001 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
212207 + WHERE t2.x>0
212263 + WHERE (t2.x>0 OR t2.x IS NULL)
212330 + WHERE t1.b=t2.b AND t2.x>0
212386 + WHERE t3.y>0
212410 + WHERE t3.y>0 OR t3.y IS NULL
212477 + WHERE t4.z>0
212505 + WHERE t4.z IS NULL OR t4.z>0
212571 + WHERE t2.x>0 AND t4.z>0
212589 + WHERE t4.z>0 AND t3.y>0
212601 + WHERE t2.x>0 AND t3.y>0
212625 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
212703 + WHERE t1.b IS NOT DISTINCT FROM t2.b
212760 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
212785 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d = t4.d
212957 + WHERE t2.x>0
212969 + WHERE (t2.x>0 OR t2.x IS NULL)
212981 + WHERE t1.b=t2.b AND t2.x>0
212993 + WHERE t3.y>0
213005 + WHERE t3.y>0 OR t3.y IS NULL
213017 + WHERE t4.z>0
213029 + WHERE t4.z IS NULL OR t4.z>0
213041 + WHERE t2.x>0 AND t4.z>0
213053 + WHERE t4.z>0 AND t3.y>0
213065 + WHERE t2.x>0 AND t3.y>0
213077 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
213100 + WHERE t1.b IS NOT DISTINCT FROM t2.b
213112 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
213124 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
213238 + WHERE t2.x>0
213262 + WHERE (t2.x>0 OR t2.x IS NULL)
213303 + WHERE t1.b=t2.b AND t2.x>0
213327 + WHERE t3.y>0
213367 + WHERE t3.y>0 OR t3.y IS NULL
213407 + WHERE t4.z>0
213419 + WHERE t4.z IS NULL OR t4.z>0
213460 + WHERE t2.x>0 AND t4.z>0
213472 + WHERE t4.z>0 AND t3.y>0
213484 + WHERE t2.x>0 AND t3.y>0
213508 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
213560 + WHERE t1.b IS NOT DISTINCT FROM t2.b
213585 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
213609 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
213757 + WHERE t2.x>0
213769 + WHERE (t2.x>0 OR t2.x IS NULL)
213798 + WHERE t1.b=t2.b AND t2.x>0
213810 + WHERE t3.y>0
213822 + WHERE t3.y>0 OR t3.y IS NULL
213851 + WHERE t4.z>0
213879 + WHERE t4.z IS NULL OR t4.z>0
213907 + WHERE t2.x>0 AND t4.z>0
213919 + WHERE t4.z>0 AND t3.y>0
213931 + WHERE t2.x>0 AND t3.y>0
213943 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
213983 + WHERE t1.b IS NOT DISTINCT FROM t2.b
214009 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
214022 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
214204 + WHERE t2.x>0
214228 + WHERE (t2.x>0 OR t2.x IS NULL)
214286 + WHERE t1.b=t2.b AND t2.x>0
214310 + WHERE t3.y>0
214350 + WHERE t3.y>0 OR t3.y IS NULL
214407 + WHERE t4.z>0
214435 + WHERE t4.z IS NULL OR t4.z>0
214492 + WHERE t2.x>0 AND t4.z>0
214504 + WHERE t4.z>0 AND t3.y>0
214516 + WHERE t2.x>0 AND t3.y>0
214540 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
214609 + WHERE t1.b IS NOT DISTINCT FROM t2.b
214648 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
214673 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d = t4.d
214833 + WHERE t2.x>0
214851 + WHERE (t2.x>0 OR t2.x IS NULL)
214869 + WHERE t1.b=t2.b AND t2.x>0
214887 + WHERE t3.y>0
214899 + WHERE t3.y>0 OR t3.y IS NULL
214917 + WHERE t4.z>0
214935 + WHERE t4.z IS NULL OR t4.z>0
214953 + WHERE t2.x>0 AND t4.z>0
214971 + WHERE t4.z>0 AND t3.y>0
214983 + WHERE t2.x>0 AND t3.y>0
214995 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
215024 + WHERE t1.b IS NOT DISTINCT FROM t2.b
215042 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c = t3.c
215054 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
215233 + WHERE t2.x>0
215289 + WHERE (t2.x>0 OR t2.x IS NULL)
215362 + WHERE t1.b=t2.b AND t2.x>0
215418 + WHERE t3.y>0
215458 + WHERE t3.y>0 OR t3.y IS NULL
215530 + WHERE t4.z>0
215548 + WHERE t4.z IS NULL OR t4.z>0
215621 + WHERE t2.x>0 AND t4.z>0
215639 + WHERE t4.z>0 AND t3.y>0
215651 + WHERE t2.x>0 AND t3.y>0
215675 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
215759 + WHERE t1.b IS NOT DISTINCT FROM t2.b
215816 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c = t3.c
215840 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
215986 + WHERE t2.x>0
216004 + WHERE (t2.x>0 OR t2.x IS NULL)
216033 + WHERE t1.b=t2.b AND t2.x>0
216051 + WHERE t3.y>0
216063 + WHERE t3.y>0 OR t3.y IS NULL
216092 + WHERE t4.z>0
216120 + WHERE t4.z IS NULL OR t4.z>0
216148 + WHERE t2.x>0 AND t4.z>0
216166 + WHERE t4.z>0 AND t3.y>0
216178 + WHERE t2.x>0 AND t3.y>0
216190 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
216230 + WHERE t1.b IS NOT DISTINCT FROM t2.b
216249 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c = t3.c
216261 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
216473 + WHERE t2.x>0
216529 + WHERE (t2.x>0 OR t2.x IS NULL)
216613 + WHERE t1.b=t2.b AND t2.x>0
216669 + WHERE t3.y>0
216709 + WHERE t3.y>0 OR t3.y IS NULL
216792 + WHERE t4.z>0
216820 + WHERE t4.z IS NULL OR t4.z>0
216903 + WHERE t2.x>0 AND t4.z>0
216921 + WHERE t4.z>0 AND t3.y>0
216933 + WHERE t2.x>0 AND t3.y>0
216957 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
217052 + WHERE t1.b IS NOT DISTINCT FROM t2.b
217110 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c = t3.c
217134 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d = t4.d
217263 + WHERE t2.x>0
217275 + WHERE (t2.x>0 OR t2.x IS NULL)
217290 + WHERE t1.b=t2.b AND t2.x>0
217302 + WHERE t3.y>0
217317 + WHERE t3.y>0 OR t3.y IS NULL
217332 + WHERE t4.z>0
217347 + WHERE t4.z IS NULL OR t4.z>0
217362 + WHERE t2.x>0 AND t4.z>0
217374 + WHERE t4.z>0 AND t3.y>0
217389 + WHERE t2.x>0 AND t3.y>0
217401 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
217427 + WHERE t1.b IS NOT DISTINCT FROM t2.b
217439 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
217451 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
217569 + WHERE t2.x>0
217593 + WHERE (t2.x>0 OR t2.x IS NULL)
217633 + WHERE t1.b=t2.b AND t2.x>0
217657 + WHERE t3.y>0
217697 + WHERE t3.y>0 OR t3.y IS NULL
217737 + WHERE t4.z>0
217752 + WHERE t4.z IS NULL OR t4.z>0
217792 + WHERE t2.x>0 AND t4.z>0
217804 + WHERE t4.z>0 AND t3.y>0
217819 + WHERE t2.x>0 AND t3.y>0
217843 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
217894 + WHERE t1.b IS NOT DISTINCT FROM t2.b
217918 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
217942 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
218088 + WHERE t2.x>0
218100 + WHERE (t2.x>0 OR t2.x IS NULL)
218129 + WHERE t1.b=t2.b AND t2.x>0
218141 + WHERE t3.y>0
218156 + WHERE t3.y>0 OR t3.y IS NULL
218185 + WHERE t4.z>0
218213 + WHERE t4.z IS NULL OR t4.z>0
218241 + WHERE t2.x>0 AND t4.z>0
218253 + WHERE t4.z>0 AND t3.y>0
218268 + WHERE t2.x>0 AND t3.y>0
218280 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
218320 + WHERE t1.b IS NOT DISTINCT FROM t2.b
218346 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
218359 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
218533 + WHERE t2.x>0
218557 + WHERE (t2.x>0 OR t2.x IS NULL)
218611 + WHERE t1.b=t2.b AND t2.x>0
218635 + WHERE t3.y>0
218675 + WHERE t3.y>0 OR t3.y IS NULL
218729 + WHERE t4.z>0
218757 + WHERE t4.z IS NULL OR t4.z>0
218810 + WHERE t2.x>0 AND t4.z>0
218822 + WHERE t4.z>0 AND t3.y>0
218837 + WHERE t2.x>0 AND t3.y>0
218861 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
218926 + WHERE t1.b IS NOT DISTINCT FROM t2.b
218964 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
218989 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d = t4.d
219161 + WHERE t2.x>0
219179 + WHERE (t2.x>0 OR t2.x IS NULL)
219207 + WHERE t1.b=t2.b AND t2.x>0
219225 + WHERE t3.y>0
219240 + WHERE t3.y>0 OR t3.y IS NULL
219268 + WHERE t4.z>0
219296 + WHERE t4.z IS NULL OR t4.z>0
219324 + WHERE t2.x>0 AND t4.z>0
219342 + WHERE t4.z>0 AND t3.y>0
219357 + WHERE t2.x>0 AND t3.y>0
219369 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
219408 + WHERE t1.b IS NOT DISTINCT FROM t2.b
219426 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
219438 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
219726 + WHERE t2.x>0
219782 + WHERE (t2.x>0 OR t2.x IS NULL)
219890 + WHERE t1.b=t2.b AND t2.x>0
219946 + WHERE t3.y>0
219986 + WHERE t3.y>0 OR t3.y IS NULL
220094 + WHERE t4.z>0
220122 + WHERE t4.z IS NULL OR t4.z>0
220230 + WHERE t2.x>0 AND t4.z>0
220248 + WHERE t4.z>0 AND t3.y>0
220263 + WHERE t2.x>0 AND t3.y>0
220287 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
220407 + WHERE t1.b IS NOT DISTINCT FROM t2.b
220463 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
220487 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
220777 + WHERE t2.x>0
220795 + WHERE (t2.x>0 OR t2.x IS NULL)
220824 + WHERE t1.b=t2.b AND t2.x>0
220842 + WHERE t3.y>0
220857 + WHERE t3.y>0 OR t3.y IS NULL
220886 + WHERE t4.z>0
220914 + WHERE t4.z IS NULL OR t4.z>0
220942 + WHERE t2.x>0 AND t4.z>0
220960 + WHERE t4.z>0 AND t3.y>0
220975 + WHERE t2.x>0 AND t3.y>0
220987 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
221027 + WHERE t1.b IS NOT DISTINCT FROM t2.b
221046 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
221059 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
221351 + WHERE t2.x>0
221407 + WHERE (t2.x>0 OR t2.x IS NULL)
221516 + WHERE t1.b=t2.b AND t2.x>0
221572 + WHERE t3.y>0
221612 + WHERE t3.y>0 OR t3.y IS NULL
221721 + WHERE t4.z>0
221749 + WHERE t4.z IS NULL OR t4.z>0
221857 + WHERE t2.x>0 AND t4.z>0
221875 + WHERE t4.z>0 AND t3.y>0
221890 + WHERE t2.x>0 AND t3.y>0
221914 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
222035 + WHERE t1.b IS NOT DISTINCT FROM t2.b
222092 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
222117 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d = t4.d
222381 + WHERE t2.x>0
222393 + WHERE (t2.x>0 OR t2.x IS NULL)
222408 + WHERE t1.b=t2.b AND t2.x>0
222420 + WHERE t3.y>0
222435 + WHERE t3.y>0 OR t3.y IS NULL
222450 + WHERE t4.z>0
222465 + WHERE t4.z IS NULL OR t4.z>0
222480 + WHERE t2.x>0 AND t4.z>0
222492 + WHERE t4.z>0 AND t3.y>0
222507 + WHERE t2.x>0 AND t3.y>0
222519 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
222545 + WHERE t1.b IS NOT DISTINCT FROM t2.b
222557 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
222569 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
222689 + WHERE t2.x>0
222713 + WHERE (t2.x>0 OR t2.x IS NULL)
222754 + WHERE t1.b=t2.b AND t2.x>0
222778 + WHERE t3.y>0
222818 + WHERE t3.y>0 OR t3.y IS NULL
222858 + WHERE t4.z>0
222873 + WHERE t4.z IS NULL OR t4.z>0
222914 + WHERE t2.x>0 AND t4.z>0
222926 + WHERE t4.z>0 AND t3.y>0
222941 + WHERE t2.x>0 AND t3.y>0
222965 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
223017 + WHERE t1.b IS NOT DISTINCT FROM t2.b
223042 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
223066 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
223214 + WHERE t2.x>0
223226 + WHERE (t2.x>0 OR t2.x IS NULL)
223255 + WHERE t1.b=t2.b AND t2.x>0
223267 + WHERE t3.y>0
223282 + WHERE t3.y>0 OR t3.y IS NULL
223311 + WHERE t4.z>0
223339 + WHERE t4.z IS NULL OR t4.z>0
223367 + WHERE t2.x>0 AND t4.z>0
223379 + WHERE t4.z>0 AND t3.y>0
223394 + WHERE t2.x>0 AND t3.y>0
223406 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
223446 + WHERE t1.b IS NOT DISTINCT FROM t2.b
223472 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
223485 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
223661 + WHERE t2.x>0
223685 + WHERE (t2.x>0 OR t2.x IS NULL)
223740 + WHERE t1.b=t2.b AND t2.x>0
223764 + WHERE t3.y>0
223804 + WHERE t3.y>0 OR t3.y IS NULL
223858 + WHERE t4.z>0
223886 + WHERE t4.z IS NULL OR t4.z>0
223940 + WHERE t2.x>0 AND t4.z>0
223952 + WHERE t4.z>0 AND t3.y>0
223967 + WHERE t2.x>0 AND t3.y>0
223991 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
224057 + WHERE t1.b IS NOT DISTINCT FROM t2.b
224096 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
224121 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d = t4.d
224295 + WHERE t2.x>0
224313 + WHERE (t2.x>0 OR t2.x IS NULL)
224341 + WHERE t1.b=t2.b AND t2.x>0
224359 + WHERE t3.y>0
224374 + WHERE t3.y>0 OR t3.y IS NULL
224402 + WHERE t4.z>0
224430 + WHERE t4.z IS NULL OR t4.z>0
224458 + WHERE t2.x>0 AND t4.z>0
224476 + WHERE t4.z>0 AND t3.y>0
224491 + WHERE t2.x>0 AND t3.y>0
224503 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
224542 + WHERE t1.b IS NOT DISTINCT FROM t2.b
224560 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c = t3.c
224572 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
224835 + WHERE t2.x>0
224891 + WHERE (t2.x>0 OR t2.x IS NULL)
225000 + WHERE t1.b=t2.b AND t2.x>0
225056 + WHERE t3.y>0
225096 + WHERE t3.y>0 OR t3.y IS NULL
225204 + WHERE t4.z>0
225232 + WHERE t4.z IS NULL OR t4.z>0
225341 + WHERE t2.x>0 AND t4.z>0
225359 + WHERE t4.z>0 AND t3.y>0
225374 + WHERE t2.x>0 AND t3.y>0
225398 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
225519 + WHERE t1.b IS NOT DISTINCT FROM t2.b
225576 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c = t3.c
225600 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
225783 + WHERE t2.x>0
225801 + WHERE (t2.x>0 OR t2.x IS NULL)
225830 + WHERE t1.b=t2.b AND t2.x>0
225848 + WHERE t3.y>0
225863 + WHERE t3.y>0 OR t3.y IS NULL
225892 + WHERE t4.z>0
225920 + WHERE t4.z IS NULL OR t4.z>0
225948 + WHERE t2.x>0 AND t4.z>0
225966 + WHERE t4.z>0 AND t3.y>0
225981 + WHERE t2.x>0 AND t3.y>0
225993 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
226033 + WHERE t1.b IS NOT DISTINCT FROM t2.b
226052 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c = t3.c
226064 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
226330 + WHERE t2.x>0
226386 + WHERE (t2.x>0 OR t2.x IS NULL)
226496 + WHERE t1.b=t2.b AND t2.x>0
226552 + WHERE t3.y>0
226592 + WHERE t3.y>0 OR t3.y IS NULL
226701 + WHERE t4.z>0
226729 + WHERE t4.z IS NULL OR t4.z>0
226838 + WHERE t2.x>0 AND t4.z>0
226856 + WHERE t4.z>0 AND t3.y>0
226871 + WHERE t2.x>0 AND t3.y>0
226895 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
227017 + WHERE t1.b IS NOT DISTINCT FROM t2.b
227075 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c = t3.c
227099 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d = t4.d
227249 + WHERE t2.x>0
227261 + WHERE (t2.x>0 OR t2.x IS NULL)
227273 + WHERE t1.b=t2.b AND t2.x>0
227285 + WHERE t3.y>0
227297 + WHERE t3.y>0 OR t3.y IS NULL
227309 + WHERE t4.z>0
227321 + WHERE t4.z IS NULL OR t4.z>0
227333 + WHERE t2.x>0 AND t4.z>0
227345 + WHERE t4.z>0 AND t3.y>0
227357 + WHERE t2.x>0 AND t3.y>0
227369 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
227392 + WHERE t1.b IS NOT DISTINCT FROM t2.b
227404 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
227416 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
227496 + WHERE t2.x>0
227520 + WHERE (t2.x>0 OR t2.x IS NULL)
227544 + WHERE t1.b=t2.b AND t2.x>0
227568 + WHERE t3.y>0
227592 + WHERE t3.y>0 OR t3.y IS NULL
227616 + WHERE t4.z>0
227628 + WHERE t4.z IS NULL OR t4.z>0
227652 + WHERE t2.x>0 AND t4.z>0
227664 + WHERE t4.z>0 AND t3.y>0
227676 + WHERE t2.x>0 AND t3.y>0
227700 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
227735 + WHERE t1.b IS NOT DISTINCT FROM t2.b
227759 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
227783 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
227897 + WHERE t2.x>0
227909 + WHERE (t2.x>0 OR t2.x IS NULL)
227938 + WHERE t1.b=t2.b AND t2.x>0
227950 + WHERE t3.y>0
227962 + WHERE t3.y>0 OR t3.y IS NULL
227991 + WHERE t4.z>0
228019 + WHERE t4.z IS NULL OR t4.z>0
228047 + WHERE t2.x>0 AND t4.z>0
228059 + WHERE t4.z>0 AND t3.y>0
228071 + WHERE t2.x>0 AND t3.y>0
228083 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
228123 + WHERE t1.b IS NOT DISTINCT FROM t2.b
228149 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
228162 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
228310 + WHERE t2.x>0
228334 + WHERE (t2.x>0 OR t2.x IS NULL)
228375 + WHERE t1.b=t2.b AND t2.x>0
228399 + WHERE t3.y>0
228423 + WHERE t3.y>0 OR t3.y IS NULL
228464 + WHERE t4.z>0
228492 + WHERE t4.z IS NULL OR t4.z>0
228532 + WHERE t2.x>0 AND t4.z>0
228544 + WHERE t4.z>0 AND t3.y>0
228556 + WHERE t2.x>0 AND t3.y>0
228580 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
228632 + WHERE t1.b IS NOT DISTINCT FROM t2.b
228670 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
228695 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d = t4.d
228821 + WHERE t2.x>0
228839 + WHERE (t2.x>0 OR t2.x IS NULL)
228857 + WHERE t1.b=t2.b AND t2.x>0
228875 + WHERE t3.y>0
228887 + WHERE t3.y>0 OR t3.y IS NULL
228905 + WHERE t4.z>0
228923 + WHERE t4.z IS NULL OR t4.z>0
228941 + WHERE t2.x>0 AND t4.z>0
228959 + WHERE t4.z>0 AND t3.y>0
228971 + WHERE t2.x>0 AND t3.y>0
228983 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
229012 + WHERE t1.b IS NOT DISTINCT FROM t2.b
229030 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
229042 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
229206 + WHERE t2.x>0
229262 + WHERE (t2.x>0 OR t2.x IS NULL)
229318 + WHERE t1.b=t2.b AND t2.x>0
229374 + WHERE t3.y>0
229398 + WHERE t3.y>0 OR t3.y IS NULL
229455 + WHERE t4.z>0
229473 + WHERE t4.z IS NULL OR t4.z>0
229530 + WHERE t2.x>0 AND t4.z>0
229548 + WHERE t4.z>0 AND t3.y>0
229560 + WHERE t2.x>0 AND t3.y>0
229584 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
229652 + WHERE t1.b IS NOT DISTINCT FROM t2.b
229708 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
229732 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
229918 + WHERE t2.x>0
229936 + WHERE (t2.x>0 OR t2.x IS NULL)
229965 + WHERE t1.b=t2.b AND t2.x>0
229983 + WHERE t3.y>0
229995 + WHERE t3.y>0 OR t3.y IS NULL
230024 + WHERE t4.z>0
230052 + WHERE t4.z IS NULL OR t4.z>0
230080 + WHERE t2.x>0 AND t4.z>0
230098 + WHERE t4.z>0 AND t3.y>0
230110 + WHERE t2.x>0 AND t3.y>0
230122 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
230162 + WHERE t1.b IS NOT DISTINCT FROM t2.b
230181 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
230194 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
230402 + WHERE t2.x>0
230458 + WHERE (t2.x>0 OR t2.x IS NULL)
230525 + WHERE t1.b=t2.b AND t2.x>0
230581 + WHERE t3.y>0
230605 + WHERE t3.y>0 OR t3.y IS NULL
230673 + WHERE t4.z>0
230701 + WHERE t4.z IS NULL OR t4.z>0
230768 + WHERE t2.x>0 AND t4.z>0
230786 + WHERE t4.z>0 AND t3.y>0
230798 + WHERE t2.x>0 AND t3.y>0
230822 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
230901 + WHERE t1.b IS NOT DISTINCT FROM t2.b
230958 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
230983 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d = t4.d
231157 + WHERE t2.x>0
231169 + WHERE (t2.x>0 OR t2.x IS NULL)
231181 + WHERE t1.b=t2.b AND t2.x>0
231193 + WHERE t3.y>0
231205 + WHERE t3.y>0 OR t3.y IS NULL
231217 + WHERE t4.z>0
231229 + WHERE t4.z IS NULL OR t4.z>0
231241 + WHERE t2.x>0 AND t4.z>0
231253 + WHERE t4.z>0 AND t3.y>0
231265 + WHERE t2.x>0 AND t3.y>0
231277 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
231300 + WHERE t1.b IS NOT DISTINCT FROM t2.b
231312 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
231324 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
231438 + WHERE t2.x>0
231462 + WHERE (t2.x>0 OR t2.x IS NULL)
231503 + WHERE t1.b=t2.b AND t2.x>0
231527 + WHERE t3.y>0
231567 + WHERE t3.y>0 OR t3.y IS NULL
231607 + WHERE t4.z>0
231619 + WHERE t4.z IS NULL OR t4.z>0
231660 + WHERE t2.x>0 AND t4.z>0
231672 + WHERE t4.z>0 AND t3.y>0
231684 + WHERE t2.x>0 AND t3.y>0
231708 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
231760 + WHERE t1.b IS NOT DISTINCT FROM t2.b
231785 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
231809 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
231957 + WHERE t2.x>0
231969 + WHERE (t2.x>0 OR t2.x IS NULL)
231998 + WHERE t1.b=t2.b AND t2.x>0
232010 + WHERE t3.y>0
232022 + WHERE t3.y>0 OR t3.y IS NULL
232051 + WHERE t4.z>0
232079 + WHERE t4.z IS NULL OR t4.z>0
232107 + WHERE t2.x>0 AND t4.z>0
232119 + WHERE t4.z>0 AND t3.y>0
232131 + WHERE t2.x>0 AND t3.y>0
232143 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
232183 + WHERE t1.b IS NOT DISTINCT FROM t2.b
232209 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
232222 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
232404 + WHERE t2.x>0
232428 + WHERE (t2.x>0 OR t2.x IS NULL)
232486 + WHERE t1.b=t2.b AND t2.x>0
232510 + WHERE t3.y>0
232550 + WHERE t3.y>0 OR t3.y IS NULL
232607 + WHERE t4.z>0
232635 + WHERE t4.z IS NULL OR t4.z>0
232692 + WHERE t2.x>0 AND t4.z>0
232704 + WHERE t4.z>0 AND t3.y>0
232716 + WHERE t2.x>0 AND t3.y>0
232740 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
232809 + WHERE t1.b IS NOT DISTINCT FROM t2.b
232848 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c IS NOT DISTINCT FROM t3.c
232873 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d = t4.d
233033 + WHERE t2.x>0
233051 + WHERE (t2.x>0 OR t2.x IS NULL)
233069 + WHERE t1.b=t2.b AND t2.x>0
233087 + WHERE t3.y>0
233099 + WHERE t3.y>0 OR t3.y IS NULL
233117 + WHERE t4.z>0
233135 + WHERE t4.z IS NULL OR t4.z>0
233153 + WHERE t2.x>0 AND t4.z>0
233171 + WHERE t4.z>0 AND t3.y>0
233183 + WHERE t2.x>0 AND t3.y>0
233195 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
233224 + WHERE t1.b IS NOT DISTINCT FROM t2.b
233242 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c = t3.c
233254 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
233435 + WHERE t2.x>0
233491 + WHERE (t2.x>0 OR t2.x IS NULL)
233564 + WHERE t1.b=t2.b AND t2.x>0
233620 + WHERE t3.y>0
233660 + WHERE t3.y>0 OR t3.y IS NULL
233733 + WHERE t4.z>0
233751 + WHERE t4.z IS NULL OR t4.z>0
233825 + WHERE t2.x>0 AND t4.z>0
233843 + WHERE t4.z>0 AND t3.y>0
233855 + WHERE t2.x>0 AND t3.y>0
233879 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
233964 + WHERE t1.b IS NOT DISTINCT FROM t2.b
234021 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c = t3.c
234045 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
234192 + WHERE t2.x>0
234210 + WHERE (t2.x>0 OR t2.x IS NULL)
234239 + WHERE t1.b=t2.b AND t2.x>0
234257 + WHERE t3.y>0
234269 + WHERE t3.y>0 OR t3.y IS NULL
234298 + WHERE t4.z>0
234326 + WHERE t4.z IS NULL OR t4.z>0
234354 + WHERE t2.x>0 AND t4.z>0
234372 + WHERE t4.z>0 AND t3.y>0
234384 + WHERE t2.x>0 AND t3.y>0
234396 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
234436 + WHERE t1.b IS NOT DISTINCT FROM t2.b
234455 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c = t3.c
234467 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d IS NOT DISTINCT FROM t4.d
234681 + WHERE t2.x>0
234737 + WHERE (t2.x>0 OR t2.x IS NULL)
234821 + WHERE t1.b=t2.b AND t2.x>0
234877 + WHERE t3.y>0
234917 + WHERE t3.y>0 OR t3.y IS NULL
235001 + WHERE t4.z>0
235029 + WHERE t4.z IS NULL OR t4.z>0
235113 + WHERE t2.x>0 AND t4.z>0
235131 + WHERE t4.z>0 AND t3.y>0
235143 + WHERE t2.x>0 AND t3.y>0
235167 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
235263 + WHERE t1.b IS NOT DISTINCT FROM t2.b
235321 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.c = t3.c
235345 + WHERE t1.b IS NOT DISTINCT FROM t2.b AND t1.d = t4.d
235461 + WHERE t2.x>0
235473 + WHERE (t2.x>0 OR t2.x IS NULL)
235488 + WHERE t1.b=t2.b AND t2.x>0
235500 + WHERE t3.y>0
235515 + WHERE t3.y>0 OR t3.y IS NULL
235530 + WHERE t4.z>0
235545 + WHERE t4.z IS NULL OR t4.z>0
235560 + WHERE t2.x>0 AND t4.z>0
235572 + WHERE t4.z>0 AND t3.y>0
235587 + WHERE t2.x>0 AND t3.y>0
235599 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
235625 + WHERE t1.b = t2.b
235637 + WHERE t1.b = t2.b AND t1.c IS NOT DISTINCT FROM t3.c
235649 + WHERE t1.b = t2.b AND t1.d IS NOT DISTINCT FROM t4.d
235714 + WHERE t2.x>0
235738 + WHERE (t2.x>0 OR t2.x IS NULL)
235778 + WHERE t1.b=t2.b AND t2.x>0
235802 + WHERE t3.y>0
235842 + WHERE t3.y>0 OR t3.y IS NULL
235882 + WHERE t4.z>0
235897 + WHERE t4.z IS NULL OR t4.z>0
235937 + WHERE t2.x>0 AND t4.z>0
235949 + WHERE t4.z>0 AND t3.y>0
235964 + WHERE t2.x>0 AND t3.y>0
235988 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
236039 + WHERE t1.b = t2.b
236063 + WHERE t1.b = t2.b AND t1.c IS NOT DISTINCT FROM t3.c
236087 + WHERE t1.b = t2.b AND t1.d IS NOT DISTINCT FROM t4.d
236166 + WHERE t2.x>0
236178 + WHERE (t2.x>0 OR t2.x IS NULL)
236207 + WHERE t1.b=t2.b AND t2.x>0
236219 + WHERE t3.y>0
236234 + WHERE t3.y>0 OR t3.y IS NULL
236263 + WHERE t4.z>0
236291 + WHERE t4.z IS NULL OR t4.z>0
236319 + WHERE t2.x>0 AND t4.z>0
236331 + WHERE t4.z>0 AND t3.y>0
236346 + WHERE t2.x>0 AND t3.y>0
236358 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
236398 + WHERE t1.b = t2.b
236410 + WHERE t1.b = t2.b AND t1.c IS NOT DISTINCT FROM t3.c
236422 + WHERE t1.b = t2.b AND t1.d IS NOT DISTINCT FROM t4.d
236515 + WHERE t2.x>0
236539 + WHERE (t2.x>0 OR t2.x IS NULL)
236593 + WHERE t1.b=t2.b AND t2.x>0
236617 + WHERE t3.y>0
236657 + WHERE t3.y>0 OR t3.y IS NULL
236711 + WHERE t4.z>0
236739 + WHERE t4.z IS NULL OR t4.z>0
236792 + WHERE t2.x>0 AND t4.z>0
236804 + WHERE t4.z>0 AND t3.y>0
236819 + WHERE t2.x>0 AND t3.y>0
236843 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
236908 + WHERE t1.b = t2.b
236932 + WHERE t1.b = t2.b AND t1.c IS NOT DISTINCT FROM t3.c
236956 + WHERE t1.b = t2.b AND t1.d = t4.d
237048 + WHERE t2.x>0
237066 + WHERE (t2.x>0 OR t2.x IS NULL)
237094 + WHERE t1.b=t2.b AND t2.x>0
237112 + WHERE t3.y>0
237127 + WHERE t3.y>0 OR t3.y IS NULL
237155 + WHERE t4.z>0
237183 + WHERE t4.z IS NULL OR t4.z>0
237211 + WHERE t2.x>0 AND t4.z>0
237229 + WHERE t4.z>0 AND t3.y>0
237244 + WHERE t2.x>0 AND t3.y>0
237256 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
237295 + WHERE t1.b = t2.b
237313 + WHERE t1.b = t2.b AND t1.c IS NOT DISTINCT FROM t3.c
237325 + WHERE t1.b = t2.b AND t1.d IS NOT DISTINCT FROM t4.d
237479 + WHERE t2.x>0
237535 + WHERE (t2.x>0 OR t2.x IS NULL)
237643 + WHERE t1.b=t2.b AND t2.x>0
237699 + WHERE t3.y>0
237739 + WHERE t3.y>0 OR t3.y IS NULL
237848 + WHERE t4.z>0
237876 + WHERE t4.z IS NULL OR t4.z>0
237985 + WHERE t2.x>0 AND t4.z>0
238003 + WHERE t4.z>0 AND t3.y>0
238018 + WHERE t2.x>0 AND t3.y>0
238042 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
238163 + WHERE t1.b = t2.b
238219 + WHERE t1.b = t2.b AND t1.c IS NOT DISTINCT FROM t3.c
238243 + WHERE t1.b = t2.b AND t1.d IS NOT DISTINCT FROM t4.d
238398 + WHERE t2.x>0
238416 + WHERE (t2.x>0 OR t2.x IS NULL)
238445 + WHERE t1.b=t2.b AND t2.x>0
238463 + WHERE t3.y>0
238478 + WHERE t3.y>0 OR t3.y IS NULL
238507 + WHERE t4.z>0
238535 + WHERE t4.z IS NULL OR t4.z>0
238563 + WHERE t2.x>0 AND t4.z>0
238581 + WHERE t4.z>0 AND t3.y>0
238596 + WHERE t2.x>0 AND t3.y>0
238608 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
238648 + WHERE t1.b = t2.b
238666 + WHERE t1.b = t2.b AND t1.c IS NOT DISTINCT FROM t3.c
238678 + WHERE t1.b = t2.b AND t1.d IS NOT DISTINCT FROM t4.d
238834 + WHERE t2.x>0
238890 + WHERE (t2.x>0 OR t2.x IS NULL)
238999 + WHERE t1.b=t2.b AND t2.x>0
239055 + WHERE t3.y>0
239095 + WHERE t3.y>0 OR t3.y IS NULL
239205 + WHERE t4.z>0
239233 + WHERE t4.z IS NULL OR t4.z>0
239342 + WHERE t2.x>0 AND t4.z>0
239360 + WHERE t4.z>0 AND t3.y>0
239375 + WHERE t2.x>0 AND t3.y>0
239399 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
239521 + WHERE t1.b = t2.b
239577 + WHERE t1.b = t2.b AND t1.c IS NOT DISTINCT FROM t3.c
239601 + WHERE t1.b = t2.b AND t1.d = t4.d
239743 + WHERE t2.x>0
239755 + WHERE (t2.x>0 OR t2.x IS NULL)
239770 + WHERE t1.b=t2.b AND t2.x>0
239782 + WHERE t3.y>0
239797 + WHERE t3.y>0 OR t3.y IS NULL
239812 + WHERE t4.z>0
239827 + WHERE t4.z IS NULL OR t4.z>0
239842 + WHERE t2.x>0 AND t4.z>0
239854 + WHERE t4.z>0 AND t3.y>0
239869 + WHERE t2.x>0 AND t3.y>0
239881 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
239907 + WHERE t1.b = t2.b
239919 + WHERE t1.b = t2.b AND t1.c IS NOT DISTINCT FROM t3.c
239931 + WHERE t1.b = t2.b AND t1.d IS NOT DISTINCT FROM t4.d
239997 + WHERE t2.x>0
240021 + WHERE (t2.x>0 OR t2.x IS NULL)
240062 + WHERE t1.b=t2.b AND t2.x>0
240086 + WHERE t3.y>0
240126 + WHERE t3.y>0 OR t3.y IS NULL
240166 + WHERE t4.z>0
240181 + WHERE t4.z IS NULL OR t4.z>0
240222 + WHERE t2.x>0 AND t4.z>0
240234 + WHERE t4.z>0 AND t3.y>0
240249 + WHERE t2.x>0 AND t3.y>0
240273 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
240325 + WHERE t1.b = t2.b
240349 + WHERE t1.b = t2.b AND t1.c IS NOT DISTINCT FROM t3.c
240373 + WHERE t1.b = t2.b AND t1.d IS NOT DISTINCT FROM t4.d
240453 + WHERE t2.x>0
240465 + WHERE (t2.x>0 OR t2.x IS NULL)
240494 + WHERE t1.b=t2.b AND t2.x>0
240506 + WHERE t3.y>0
240521 + WHERE t3.y>0 OR t3.y IS NULL
240550 + WHERE t4.z>0
240578 + WHERE t4.z IS NULL OR t4.z>0
240606 + WHERE t2.x>0 AND t4.z>0
240618 + WHERE t4.z>0 AND t3.y>0
240633 + WHERE t2.x>0 AND t3.y>0
240645 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
240685 + WHERE t1.b = t2.b
240697 + WHERE t1.b = t2.b AND t1.c IS NOT DISTINCT FROM t3.c
240709 + WHERE t1.b = t2.b AND t1.d IS NOT DISTINCT FROM t4.d
240803 + WHERE t2.x>0
240827 + WHERE (t2.x>0 OR t2.x IS NULL)
240882 + WHERE t1.b=t2.b AND t2.x>0
240906 + WHERE t3.y>0
240946 + WHERE t3.y>0 OR t3.y IS NULL
241000 + WHERE t4.z>0
241028 + WHERE t4.z IS NULL OR t4.z>0
241082 + WHERE t2.x>0 AND t4.z>0
241094 + WHERE t4.z>0 AND t3.y>0
241109 + WHERE t2.x>0 AND t3.y>0
241133 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
241199 + WHERE t1.b = t2.b
241223 + WHERE t1.b = t2.b AND t1.c IS NOT DISTINCT FROM t3.c
241247 + WHERE t1.b = t2.b AND t1.d = t4.d
241340 + WHERE t2.x>0
241358 + WHERE (t2.x>0 OR t2.x IS NULL)
241386 + WHERE t1.b=t2.b AND t2.x>0
241404 + WHERE t3.y>0
241419 + WHERE t3.y>0 OR t3.y IS NULL
241447 + WHERE t4.z>0
241475 + WHERE t4.z IS NULL OR t4.z>0
241503 + WHERE t2.x>0 AND t4.z>0
241521 + WHERE t4.z>0 AND t3.y>0
241536 + WHERE t2.x>0 AND t3.y>0
241548 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
241587 + WHERE t1.b = t2.b
241605 + WHERE t1.b = t2.b AND t1.c = t3.c
241617 + WHERE t1.b = t2.b AND t1.d IS NOT DISTINCT FROM t4.d
241745 + WHERE t2.x>0
241801 + WHERE (t2.x>0 OR t2.x IS NULL)
241910 + WHERE t1.b=t2.b AND t2.x>0
241966 + WHERE t3.y>0
242006 + WHERE t3.y>0 OR t3.y IS NULL
242115 + WHERE t4.z>0
242143 + WHERE t4.z IS NULL OR t4.z>0
242253 + WHERE t2.x>0 AND t4.z>0
242271 + WHERE t4.z>0 AND t3.y>0
242286 + WHERE t2.x>0 AND t3.y>0
242310 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
242432 + WHERE t1.b = t2.b
242488 + WHERE t1.b = t2.b AND t1.c = t3.c
242512 + WHERE t1.b = t2.b AND t1.d IS NOT DISTINCT FROM t4.d
242558 + WHERE t2.x>0
242576 + WHERE (t2.x>0 OR t2.x IS NULL)
242605 + WHERE t1.b=t2.b AND t2.x>0
242623 + WHERE t3.y>0
242638 + WHERE t3.y>0 OR t3.y IS NULL
242667 + WHERE t4.z>0
242695 + WHERE t4.z IS NULL OR t4.z>0
242723 + WHERE t2.x>0 AND t4.z>0
242741 + WHERE t4.z>0 AND t3.y>0
242756 + WHERE t2.x>0 AND t3.y>0
242768 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
242808 + WHERE t1.b = t2.b
242826 + WHERE t1.b = t2.b AND t1.c = t3.c
242838 + WHERE t1.b = t2.b AND t1.d IS NOT DISTINCT FROM t4.d
242967 + WHERE t2.x>0
243023 + WHERE (t2.x>0 OR t2.x IS NULL)
243133 + WHERE t1.b=t2.b AND t2.x>0
243189 + WHERE t3.y>0
243229 + WHERE t3.y>0 OR t3.y IS NULL
243339 + WHERE t4.z>0
243367 + WHERE t4.z IS NULL OR t4.z>0
243477 + WHERE t2.x>0 AND t4.z>0
243495 + WHERE t4.z>0 AND t3.y>0
243510 + WHERE t2.x>0 AND t3.y>0
243534 + WHERE t2.x>0 AND t3.y>0 AND t4.z>0
243657 + WHERE t1.b = t2.b
243713 + WHERE t1.b = t2.b AND t1.c = t3.c
243737 + WHERE t1.b = t2.b AND t1.d = t4.d
243759 + UPDATE t1 SET c=new.c WHERE (a,b,c,d) IS (old.a,old.b,old.c,old.d);
243760 + UPDATE t3 SET c=new.c WHERE (c,y) IS (old.c,old.y);
243762 + SELECT * FROM v1 WHERE y BETWEEN 30 AND 40 ORDER BY y;
243771 + UPDATE v1 SET c=c+1000 WHERE y BETWEEN 30 and 40;
243772 + SELECT * FROM v1 WHERE y BETWEEN 30 AND 40 ORDER BY y;
243795 +# WITH RECURSIVE c(x) AS (VALUES(0) UNION ALL SELECT x+1 FROM c WHERE x<95)
243798 +# INSERT INTO t2(b,x) SELECT b, a FROM t1 WHERE a%2=0;
243801 +# INSERT INTO t3(c,y) SELECT c, a FROM t1 WHERE a%3=0;
243804 +# INSERT INTO t4(d,z) SELECT d, a FROM t1 WHERE a%5=0;
243859 +# append q1 " WHERE t2.x>0\n"
243874 +# append q1 " WHERE (t2.x>0 OR t2.x IS NULL)\n"
243889 +# append q1 " WHERE t1.b=t2.b AND t2.x>0\n"
243904 +# append q1 " WHERE t3.y>0\n"
243919 +# append q1 " WHERE t3.y>0 OR t3.y IS NULL\n"
243934 +# append q1 " WHERE t4.z>0\n"
243949 +# append q1 " WHERE t4.z IS NULL OR t4.z>0\n"
243964 +# append q1 " WHERE t2.x>0 AND t4.z>0\n"
243979 +# append q1 " WHERE t4.z>0 AND t3.y>0\n"
243994 +# append q1 " WHERE t2.x>0 AND t3.y>0\n"
244009 +# append q1 " WHERE t2.x>0 AND t3.y>0 AND t4.z>0\n"
244041 +# append q1 " WHERE t1.b $op1 t2.b\n"
244056 +# append q1 " WHERE t1.b $op1 t2.b AND t1.c $op2 t3.c\n"
244071 +# append q1 " WHERE t1.b $op1 t2.b AND t1.d $op3 t4.d\n"
244170 + FROM t1 INNER JOIN t2 ON true WHERE a IS NULL
244186 + FROM t1 INNER JOIN t2 ON true WHERE b IS NULL
244212 + FROM t1 LEFT JOIN t2 ON true WHERE a IS NULL
244229 + FROM t1 LEFT JOIN t2 ON true WHERE b IS NULL
244255 + FROM t1 RIGHT JOIN t2 ON true WHERE a IS NULL
244271 + FROM t1 RIGHT JOIN t2 ON true WHERE b IS NULL
244298 + FROM t1 FULL JOIN t2 ON true WHERE a IS NULL
244317 + FROM t1 FULL JOIN t2 ON true WHERE b IS NULL
244350 + FROM t1 INNER JOIN t2 ON true WHERE a IS NULL
244362 + FROM t1 INNER JOIN t2 ON true WHERE b IS NULL
244383 + FROM t1 LEFT JOIN t2 ON true WHERE a IS NULL
244396 + FROM t1 LEFT JOIN t2 ON true WHERE b IS NULL
244418 + FROM t1 RIGHT JOIN t2 ON true WHERE a IS NULL
244432 + FROM t1 RIGHT JOIN t2 ON true WHERE b IS NULL
244453 + FROM t1 FULL JOIN t2 ON true WHERE a IS NULL
244469 + FROM t1 FULL JOIN t2 ON true WHERE b IS NULL
244511 +# {true WHERE a IS NULL}
244513 +# {true WHERE b IS NULL}
244543 +# {true WHERE a IS NULL}
244545 +# {true WHERE b IS NULL}
244626 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244643 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244661 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244678 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244695 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244713 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244732 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244753 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244774 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244793 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244810 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244828 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244846 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244864 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244882 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244901 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244922 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244943 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244962 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244979 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
244997 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
245014 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
245031 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
245049 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
245068 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
245089 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
245110 + WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)
245170 +# append q1 " WHERE (t3.z!=400 AND t3.z!=500 AND t3.z!=600)\n"
245215 + SELECT DISTINCT a FROM t1 FULL JOIN t2 ON true WHERE (b ISNULL);
245221 + SELECT a FROM t1 FULL JOIN t2 ON true WHERE (b ISNULL);
245241 + SELECT 'value!' FROM r3 FULL JOIN r4 ON (y=x) WHERE +y=55;
245400 WITH RECURSIVE c(x) AS (VALUES(1) UNION SELECT x+1 FROM c WHERE x<100)
245479 + SELECT 1 UNION ALL SELECT i+1 FROM s WHERE i<$nRow
245487 + UPDATE t1 SET b=randomblob(700) WHERE a<=$jj;
245491 + UPDATE t1 SET b=randomblob(700) WHERE a==1;
245497 + UPDATE t1 SET b=randomblob(700) WHERE a==1;
245695 + WITH RECURSIVE c(x) AS (VALUES(1) UNION ALL SELECT x+1 FROM c WHERE x<50)
245835 + SELECT * FROM t1 WHERE a='日本語';
245838 + SELECT * FROM t1 WHERE a LIKE '日本語';
246053 SELECT * FROM t1 WHERE (3,32)>=(a,b) ORDER BY a DESC;
246060 SELECT 1 WHERE (2,(2,0)) IS (2,(2,0));
246069 SELECT 3 FROM t1 LEFT JOIN t0 WHERE (c0, x'') != (NULL, 0);
246072 + SELECT 31 FROM t0 RIGHT JOIN t1 WHERE (c0, x'') != (NULL, 0);
246078 …SELECT 1 FROM t1 UNION SELECT x ORDER BY 1) ORDER BY 1) ORDERa)|9 AS blob, 2, 3) FROM t1 WHERE x<a;
246087 + SELECT * FROM a LEFT JOIN b ON b2=NULL AND b2=5 WHERE (b1,substr(b.b1,1,1))==(SELECT 1024,'b');
246090 + SELECT * FROM b RIGHT JOIN a ON b2=NULL AND b2=5 WHERE (b1,substr(b.b1,1,1))==(SELECT 1024,'b');
246097 + SELECT * FROM t1 LEFT JOIN t2 ON b=NULL WHERE (c,d)==(SELECT 123, 456+a);
246100 + SELECT * FROM t2 RIGHT JOIN t1 ON b=NULL WHERE (c,d)==(SELECT 123, 456+a);
246117 + WHERE (987, t1.b) = ( SELECT 987, 654 ) AND t2.d=t1.c
246119 + WHERE a=1234 OR a<=567;
246132 + SELECT * FROM t1 WHERE (b,a) BETWEEN (0,5) AND (99,-2);
246135 + SELECT * FROM t1 WHERE (b,a) BETWEEN (-8,5) AND (0,-2);
246138 + SELECT * FROM t1 WHERE (b,a) BETWEEN (3,5) AND (100,4);
246141 + SELECT * FROM t1 WHERE (b,a) BETWEEN (3,5) AND (100,2);
246144 + SELECT * FROM t1 WHERE (a,b) BETWEEN (-2,99) AND (1,0);
246147 + SELECT * FROM t1 WHERE (a,b) BETWEEN (14,99) AND (16,0);
246150 + SELECT * FROM t1 WHERE (a,b) BETWEEN (2,99) AND (4,0);
246162 - WHERE (a,n) IN (SELECT T1.a, V.n FROM T1, (SELECT * FROM (SELECT 0 n)) V);
246163 + WHERE (a,n) IN (SELECT T1.a, V.n
246230 WHERE a.q=b.s ORDER BY a.q)
246368 UPDATE OR REPLACE t5 SET a = 4 WHERE a = 1;
246737 SELECT b FROM t5 WHERE a IN
246738 - (SELECT callcnt(y)+0 FROM t4 WHERE x="two")
246739 + (SELECT callcnt(y)+0 FROM t4 WHERE x='two')
246744 SELECT (SELECT 0 FROM (SELECT * FROM (SELECT 0))) AS x WHERE x;
246779 +# or to which the outer WHERE clause has been pushed down.
246788 + SELECT * FROM t3, t1 WHERE NOT json_quote(b);
246791 + SELECT * FROM t2, t1 WHERE NOT json_quote(b);
247019 FROM InventoryControl WHERE SKU=31;
247032 SELECT node FROM listhash WHERE id='5000' LIMIT 1;
247103 - UPDATE t15 SET c=printf("y%d",a) WHERE c IS NULL;
247104 + UPDATE t15 SET c=printf('y%d',a) WHERE c IS NULL;
247131 + UPDATE t2 SET c=t1.a FROM t1 WHERE t2.b=t1.a;
247184 + UPDATE t5 SET b=y, c=v FROM m1 LEFT JOIN m2 ON (x=u) WHERE x=a;
247191 + UPDATE t5 SET b=y, c=v FROM m2 RIGHT JOIN m1 ON (x=u) WHERE x=a;
247214 + WHERE x=a;
247232 + WHERE x=a;
247417 + SELECT ix FROM qpvtab WHERE vn='sqlite3_vtab_distinct';
247420 + SELECT DISTINCT ix FROM qpvtab WHERE vn='sqlite3_vtab_distinct';
247424 + WHERE +vn IN ('sqlite3_vtab_distinct','nOrderBy');
247473 + WHERE cn='a'
247478 + WHERE cn='a'
247483 + WHERE cn='a'
247488 + WHERE cn='a'
247493 + WHERE cn='a'
247501 + SELECT typeof(rhs) FROM qpvtab WHERE cn='a' AND a=format('abc');
247504 + SELECT typeof(rhs) FROM qpvtab WHERE cn='a' AND a=?2
247741 - SELECT 1 UNION ALL SELECT i+1 FROM s WHERE i<500
248070 + SELECT 1 UNION ALL SELECT i+1 FROM s WHERE i<500
248230 # focus of this file is testing the use of indices in WHERE clases.
248273 + UPDATE t1 SET b=999 WHERE a IN (SELECT 15) AND b IN (1,2);
248292 +# In the multi-index OR, if there is an auxiliary WHERE clause term
248294 +# OR-clause subqueries, WHERE subquery might get coded as a subroutine.
248310 + WHERE (z=222 OR y=111)
248311 + AND (false OR EXISTS(SELECT 1 FROM t0 WHERE t1.y));
248342 + SELECT * FROM v1 WHERE true;
248356 SELECT LIKE('!', '', '!') x WHERE x;
248467 + SELECT * FROM v0 WHERE ('500' IS v0.c1) IS FALSE;
248486 + SELECT * FROM v1 WHERE 500 IS c;
248490 + SELECT * FROM v1 WHERE 500 IS d;
248502 + SELECT * FROM v2 WHERE 500 IS c;
248626 EXPLAIN QUERY PLAN SELECT * FROM dual, t1 WHERE a=10 AND b=10;