My table contains Birthdate field which has datatype as datetime. I want to get all records having birthday today. How can I get it?
Try this query:
SELECT * FROM mytable WHERE strftime('%m-%d', 'now') = strftime('%m-%d', birthday)