ygrek / sqlgg

SQL Guided (code) Generator
https://ygrek.org/p/sqlgg/
GNU General Public License v2.0
62 stars 20 forks source link

add support for TIMESTAMPDIFF() #83

Closed cyberhuman closed 4 years ago

cyberhuman commented 4 years ago

https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_timestampdiff e.g.

SELECT TIMESTAMPDIFF(MONTH, '2019-11-12', CURRENT_TIMESTAMP())