Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql get last 2 month data

SELECT * FROM d_jobs WHERE  `job_date` >= last_day(now()) + interval 1 day - interval 3 month;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #month #data
ADD COMMENT
Topic
Name
3+8 =