extract(minute from tm) = 0
SELECT * FROM `table` where id = '100c150fc1dd4021bd47cb206b77794f' and tm >= '2020-07-17 23:00:00' and tm<= '2020-07-19 23:00:00' and extract(minute from tm) = 0
extract(minute from tm) = 0
SELECT * FROM `table` where id = '100c150fc1dd4021bd47cb206b77794f' and tm >= '2020-07-17 23:00:00' and tm<= '2020-07-19 23:00:00' and extract(minute from tm) = 0