官术网_书友最值得收藏!

  • MySQL 8 for Big Data
  • Shabbir Challawala Jaydip Lakhatariya Chintan Mehta Kandarp Patel
  • 36字
  • 2021-08-20 10:06:12

Greater than and Less than

Greater than (>) checks whether the value of the left field is greater than the value of the right field. If yes, then the condition becomes true. Less than (<) checks whether the value of the left field is less than the value of the right field. We can also use >/< and equals together.

For example, the following query is used to retrieve all records with login attempts more than the value 2:

SELECT * FROM `users` WHERE `login_attempts` > 2;
主站蜘蛛池模板: 高密市| 宁波市| 河东区| 于田县| 澄迈县| 高碑店市| 保德县| 昆山市| 务川| 娱乐| 阳西县| 阳信县| 五指山市| 石城县| 谷城县| 来安县| 那曲县| 徐闻县| 松滋市| 石泉县| 安庆市| 岳普湖县| 宜兰市| 阿城市| 莱州市| 措美县| 呼图壁县| 吉林市| 陵川县| 内丘县| 闽清县| 武陟县| 民和| 东丰县| 东明县| 酉阳| 西平县| 车险| 普安县| 肃南| 杭锦后旗|