select 2010-1954 AS 年龄,'Father' AS 名
union all
select 2010-1953 ,'Mother' AS 名
union all
select 2010-1979,'Sister' AS 名
union all
select 2010-1983,'Me' AS 名
-----------------------------------
结果
56 Father
57 Mother
31 Sister
27 Me
----------------------
执行时间 2010-10-20
执行后状态:想哭
本文展示了一个简单的SQL查询示例,该查询用于计算不同家庭成员的年龄,并以结构化的形式返回结果。

4493

被折叠的 条评论
为什么被折叠?



