运算符与通配符
比较运算符和比较函数 (Comparison Functions and Operators)
https://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html
Greater than operator
Greater than or equal operator
Less than operator
Not equal operator
Less than or equal operator
NULL-safe equal to operator
Equal operator
Whether a value is within a range of values
Return the first non-NULL argument
Return the largest argument
Whether a value is within a set of values
Return the index of the argument that is less than the first argument
Test a value against a boolean
Test a value against a boolean
NOT NULL value test
NULL value test
Test whether the argument is NULL
Return the smallest argument
Simple pattern matching
Whether a value is not within a range of values
Whether a value is not within a set of values
Negation of simple pattern matching
Compare two strings
逻辑运算符 (Logical Operators)
https://dev.mysql.com/doc/refman/5.7/en/logical-operators.html
通配符
使用 LIKE 操作符
% 匹配任意字符串出现的任意次数
_ 匹配任意字符出现一次
当遇到需要转移的字符时候用 \ 进行字符的转移
Last updated