DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
mysql previous year
SELECT * FROM my_table WHERE YEAR(my_date) = YEAR(DATE_SUB(CURDATE(), INTERVAL 1 YEAR));
PREVIOUS
NEXT
Tagged:
#mysql
#previous
#year
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit