Commit 61826075 authored by 张彦钊's avatar 张彦钊

修改sql

parent 8eed1026
......@@ -19,7 +19,7 @@ def con_sql(db,sql):
def get_data():
db = pymysql.connect(host='10.66.157.22', port=4000, user='root', passwd='3SYz54LS9#^9sBvC', db='jerry_prod')
sql = "select * from esmm_data where stat_date >= '2018-11-20"
sql = "select * from esmm_data where stat_date >= '2018-11-20'"
df = con_sql(db,sql)
db = pymysql.connect(host='10.66.157.22', port=4000, user='root', passwd='3SYz54LS9#^9sBvC', db='eagle')
sql = "select * from home_tab_click"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment