SQL Queries – Cheat Sheat

Published on Author gryzliLeave a comment

Here I will write down some frequently used SQL examples , which I happen to search for again and again.   SELECT records from date column before or after a given DAYS Select all records from a table “some_table” from MORE THANĀ 30 DAYS select some_field from some_table where some_date <= ( CURDATE() – INTERVAL 30… Continue reading SQL Queries – Cheat Sheat