You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
select datetime() as 'datetime'
> 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '() as 'datetime'' at line 6
> Time: 0.001s
而换成
select CURRENT_TIMESTAMP as 'datetime';
则可以得的到期待的
datetime
2023-09-26 16:15:15
The text was updated successfully, but these errors were encountered:
请问该练习网站的数据库是什么?
在 http://sqlmother.yupi.icu/#/learn 上面运行没有问题,
在我本地
mysql:5.7.36
上面执行报错,提示而换成
则可以得的到期待的
The text was updated successfully, but these errors were encountered: