复制
收藏
提问
全网
SELECT date_format(NOW(), '%Y-%m-%d') as days, DATE_ADD(date_format( NOW(), '%Y-%m-%d' ), INTERVAL - 1 DAY) as days, DATE_ADD(date_format( NOW(), '%Y-%m-%d' ), INTERVAL - 2 DAY) as days 更改为列形式
2个月前
理解问题SELECT date_format(NOW(), '%Y-%m-%d') as days, DATE_ADD(date_format( NOW(), '%Y-%m-%d' ), INTERVAL - 1 DAY) as days, DATE_ADD(date_format( NOW(), '%Y-%m-%d' ), INTERVAL - 2 DAY) as days 更改为列形式
已完成理解「SELECT date_format(NOW(), '%Y-%m-%d') as days, DATE_ADD(date_format( NOW(), '%Y-%m-%d' ), INTERVAL - 1 DAY) as days, DATE_ADD(date_format( NOW(), '%Y-%m-%d' ), INTERVAL - 2 DAY) as days 更改为列形式」
展开阅读网页
更专业一些
转笔记
专业
SELECT date_format(NOW(), '%Y-%m-%d') as days, DATE_ADD(date_format( NOW(), '%Y-%m-%d' ), INTERVAL - 1 DAY) as days, DATE_ADD(date_format( NOW(), '%Y-%m-%d' ), INTERVAL - 2 DAY) as days 更改为列形式不在提醒