私信  •  关注

SerG

SerG 最近回复了
2 年前
回复了 SerG 创建的主题 » 在MySql中将SELECT列转换为Date

你可以用表达式而不是语句。

select email, cast((select tag from user_tags where userid=users.id limit 1) as date) as date
from users