mysql 批量查詢

sql = "SELECT area_id,area_name FROM `t_area_info` WHERE area_id IN ({mark})".format(         mark=','.join(["%s"] * 1000))sql  with conn.cursor() as cursor:     new_sql = sql % tuple(value_list)  #須要
相關文章
相關標籤/搜索