Skip to content

Instantly share code, notes, and snippets.

@MostafaNorzade
Created June 28, 2020 12:34
Show Gist options
  • Save MostafaNorzade/fe09ef05cf0c6adb606bb59cfebc7065 to your computer and use it in GitHub Desktop.
Save MostafaNorzade/fe09ef05cf0c6adb606bb59cfebc7065 to your computer and use it in GitHub Desktop.
UPDATE subscriptions
SET status = 1
WHERE DATE(start)<'2020-06-28' and DATE(end)<'2020-06-28' and status=2
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment