Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql select data from last week

select id from tbname
where date between date_sub(now(),INTERVAL 1 WEEK) and now();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #select #data #week
ADD COMMENT
Topic
Name
1+4 =