Answers for "sql datediff db2"

SQL
0

sql datediff db2

SELECT DISTINCT
    LEAST(180, DAYS(curdate()) - DAYS(start_date)) as days
FROM table2
where expire_date > curdate()
Posted by: Guest on July-05-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language