27,579
社区成员
发帖
与我相关
我的任务
分享
select a.columns, b.columns,c.columns --columns表示多列数据,不代表列名称
from TA a
left join TB b on a.xx=b.xx
left join TC c on b.yy=c.yy
where conditions --查询条件
select * , col1*col2
from (
select a.columns, b.columns,c.columns --columns表示多列数据,不代表列名称
from TA a
left join TB b on a.xx=b.xx
left join TC c on b.yy=c.yy
where conditions --查询条件
) a order by id asc
select a.columns, b.columns,c.columns --columns表示多列数据,不代表列名称
from TA a
left join TB b on a.xx=b.xx
left join TC c on b.yy=c.yy
where conditions --查询条件
order by b.id asc