mysql not_MySQL not between and关键字简介说明

摘要:

下文讲述MySQL not between and 关键字的用法及功能说明,如下所示:

not between and关键字功能说明

用于显示不在范围内的数据。

其功能类似于 小于前边界 或大于后边界的数据信息

not between and关键字举例应用

mysql > select * from `maomao365.com`;

+-------+------------+

| keyId | infoB |

+-------+------------+

| 1 | mysql test |

| 129 | sql |

| 12913 | sql |

| 12913 | sql |

| 12913 | sql |

+-------+------------+

5 rows in set (0.00 sec)

mysql > select * from `maomao365.com` where keyId not between 10000 and 20000;

+-------+------------+

| keyId | infoB |

+-------+------------+

| 1 | mysql test |

| 129 | sql |

+-------+------------+

2 rows in set (0.00 sec)

以下是 MySQL 的所有关键字列表: - ADD - ALL - ALTER - ANALYZE - AND - AS - ASC - ASENSITIVE - BEFORE - BETWEEN - BIGINT - BINARY - BLOB - BOTH - BY - CALL - CASCADE - CASE - CHANGE - CHAR - CHARACTER - CHECK - COLLATE - COLUMN - CONDITION - CONSTRAINT - CONTINUE - CONVERT - CREATE - CROSS - CURRENT_DATE - CURRENT_TIME - CURRENT_TIMESTAMP - CURRENT_USER - CURSOR - DATABASE - DATABASES - DAY_HOUR - DAY_MICROSECOND - DAY_MINUTE - DAY_SECOND - DEC - DECIMAL - DECLARE - DEFAULT - DELAYED - DELETE - DESC - DESCRIBE - DETERMINISTIC - DISTINCT - DISTINCTROW - DIV - DOUBLE - DROP - DUAL - EACH - ELSE - ELSEIF - ENCLOSED - ESCAPED - EXISTS - EXIT - EXPLAIN - FALSE - FETCH - FLOAT - FLOAT4 - FLOAT8 - FOR - FORCE - FOREIGN - FROM - FULLTEXT - GENERATED - GET - GRANT - GROUP - HAVING - HIGH_PRIORITY - HOUR_MICROSECOND - HOUR_MINUTE - HOUR_SECOND - IF - IGNORE - IN - INDEX - INFILE - INNER - INOUT - INSENSITIVE - INSERT - INT - INT1 - INT2 - INT3 - INT4 - INT8 - INTEGER - INTERVAL - INTO - IO_AFTER_GTIDS - IO_BEFORE_GTIDS - IS - ITERATE - JOIN - KEY - KEYS - KILL - LEADING - LEAVE - LEFT - LIKE - LIMIT - LINEAR - LINES - LOAD - LOCALTIME - LOCALTIMESTAMP - LOCK - LONG - LONGBLOB - LONGTEXT - LOOP - LOW_PRIORITY - MASTER_BIND - MASTER_SSL_VERIFY_SERVER_CERT - MATCH - MAXVALUE - MEDIUMBLOB - MEDIUMINT - MEDIUMTEXT - MIDDLEINT - MINUTE_MICROSECOND - MINUTE_SECOND - MOD - MODIFIES - NATURAL - NOT - NO_WRITE_TO_BINLOG - NULL - NUMERIC - ON - OPTIMIZE - OPTION - OPTIONALLY - OR - ORDER - OUT - OUTER - OUTFILE - PARTITION - PERIOD_ADD - PERIOD_DIFF - PRIMARY - PROCEDURE - PURGE - RANGE - READ - READS - READ_WRITE - REAL - REFERENCES - REGEXP - RELEASE - RENAME - REPEAT - REPLACE - REQUIRE - RESIGNAL - RESTRICT - RETURN - REVOKE - RIGHT - RLIKE - ROW - ROWS - ROW_COUNT - SCHEMA - SCHEMAS - SECOND_MICROSECOND - SELECT - SENSITIVE - SEPARATOR - SET - SHOW - SIGNAL - SLOW - SMALLINT - SPATIAL - SPECIFIC - SQL - SQL_BIG_RESULT - SQL_CALC_FOUND_ROWS - SQL_SMALL_RESULT - SQLEXCEPTION - SQLSTATE - SQLWARNING - SSL - STARTING - STORED - STRAIGHT_JOIN - TABLE - TERMINATED - THEN - TINYBLOB - TINYINT - TINYTEXT - TO - TRAILING - TRIGGER - TRUE - UNDO - UNION - UNIQUE - UNLOCK - UNSIGNED - UPDATE - USAGE - USE - USING - UTC_DATE - UTC_TIME - UTC_TIMESTAMP - VALUES - VARBINARY - VARCHAR - VARCHARACTER - VARYING - WHEN - WHERE - WHILE - WITH - WRITE - XOR - YEAR_MONTH - ZEROFILL
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值