SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
set @selectDT = '2024-04-14'; select YEAR(@selectDT), MONTH(@selectDT), DATE_ADD(YEAR(@selectDT), INTERVAL 1 MONTH) as dt

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear