Skip to content

Instantly share code, notes, and snippets.

@sjainit
Created January 21, 2020 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjainit/edf0af417f459570152ef17a0115275c to your computer and use it in GitHub Desktop.
Save sjainit/edf0af417f459570152ef17a0115275c to your computer and use it in GitHub Desktop.
def delete_user(table, user_name):
updated_table = run_query("""DELETE FROM %s
WHERE user_name= user_name
""" %(table)
)
return updated_table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment