一个好看的sql写法 format写 字符串

select_this_hour_clickhouse_sql = "select * from default.zjk_forest_fire_risk_forecast_grid_data " \
                                          "where data_time='{}' and grid_id='{}'".format(now_datatime, name)

猜你喜欢

转载自blog.csdn.net/x1131230123/article/details/114111266