Advertisement
krot

SQL дата -7 day

Mar 22nd, 2016
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.13 KB | None | 0 0
  1. CREATE TABLE(`DATEL` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP)
  2.  
  3. `DATEL`>ADDDATE(now(), INTERVAL -7 DAY)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement