Judge the inserted column and inserted value of INSERT
operation
Operation | SQL | Support |
---|---|---|
INSERT | INSERT INTO table (column,…) VALUES (value,…) | true |
INSERT | INSERT INTO table (column,…) VALUES (value,…),(value,…),… | true |
INSERT | INSERT INTO table (column,…) SELECT column1 from table1 where column1 = value1 | false |
Judge the column and values included in the WHERE
condition
Condition | SQL | Support |
---|---|---|
= | SELECT/UPDATE/DELETE … WHERE column = value | true |
LIKE/NOT LIKE | SELECT/UPDATE/DELETE … WHERE column LIKE/NOT LIKE value | true |
IN/NOT IN | SELECT/UPDATE/DELETE … WHERE column IN/NOT IN (value1,value2,…) | true |
BETWEEN | SELECT/UPDATE/DELETE … WHERE column BETWEEN value1 AND value2 | false |
GROUP BY … HAVING… | SELECT/UPDATE/DELETE … WHERE … GROUP BY column HAVING column > value; | false |
subQuery | SELECT/UPDATE/DELETE … WHERE column = (SELECT column FROM table WHERE column = value) | false |