查询7月1号到7月10号每天10:00:00-12:00:00的数据如何查询
可以试试 select * from test.tb_0 where CAST(TO_CHAR(ts, ‘HH24’) as int) >= 15; 这样,使用 cast 和 to_char 函数
此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。
查询7月1号到7月10号每天10:00:00-12:00:00的数据如何查询
可以试试 select * from test.tb_0 where CAST(TO_CHAR(ts, ‘HH24’) as int) >= 15; 这样,使用 cast 和 to_char 函数
此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。