SyntaxFix
Write A Post
Hire A Developer
Questions
SELECT DATEDIFF(max_date, min_date) as days from my table. This works even if the col max_date and min_date are in string data types.
max_date
min_date