Python code part that contains query:
conn = pymysql.connect(host='127.0.0.1', user=sql_username, passwd=sql_password, db=sql_main_database, port=tunnel.local_bind_port) query = '''select * from users;''' df_user = pd.read_sql_query(query, conn)
I need to to modify query to exclude the soft deleted records. How modified query should look like?
2.1m questions
2.1m answers
60 comments
57.0k users