mysql條件查詢語句between and和in的效率比較

工作需要,寫按sensor_uuid在某範圍查詢的語句: 1.select * from xz_sensor_data where sensor_time>='2019-03-28 00:00:00.000' and sensor_time<='2019-03-28 08:00:00.000' and sensor_uuid in('20','21','22','23','24','25','26
相關文章
相關標籤/搜索