Forum

Posted by Ivy, July 27, 2022, 9:25 a.m.

Q176 Answer has typo

I believe we should use datediff functions to calculate the day differences. 

Thanks!

Answers

Hi Ivy,

Thanks for your question.

Yes and no, you can use the DATEDIFF function if you are using MySQL, not Postgres since it doesn't have the DATEDIFF function.

 

Thanks,

Leon

 

SQLPad user avatar

Leon (949)

July 27, 2022, 10:40 a.m.