Created
June 18, 2020 15:56
-
-
Save zerobugs-oficial/4c8211f75d7903a5ae8a2b3c58ff701d to your computer and use it in GitHub Desktop.
MySQL: Somar número de dias, meses ou anos a uma data - 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT ADDDATE(coluna_data, INTERVAL 12 MONTH) | |
FROM tabela |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment