MySQL Forums
Forum List  »  PHP

Re: Select COUNT + CURDATE excluding values negatives
Posted by: Fagner fmalmeida
Date: February 12, 2019 03:23PM

Hello Peter. Thanks for your help.

In this case it would?

SELECT contrato, data_venc, DATEDIFF(data_venc, CURDATE()) < 90, 1, 0) AS data_venc FROM infraestrutura

Options: ReplyQuote


Subject
Written By
Posted
Re: Select COUNT + CURDATE excluding values negatives
February 12, 2019 03:23PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.