Guest User

Untitled

a guest
Jan 22nd, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. DELETE FROM [table] WHERE [column] < DATE_SUB(NOW(), INTERVAL 7 DAY);
  2.  
  3. mysql -u <username> -p<password> -h <name-of-mysql-server> <databasename> -e "<YOUR-QUERY-HERE>"
Add Comment
Please, Sign In to add comment