我想将列名更改为current_date,例如:
current_date
select date from table_name as current_date
但current_date应该是今天的日期我试过用双引号,但不管用。
x33g5p2x1#
这是在SQL中选择当前日期的方法,
SELECT DATE(NOW()) AS current_date FROM table_name;
1条答案
按热度按时间x33g5p2x1#
这是在SQL中选择当前日期的方法,