SQL多表联合查询按日期排序

2025-01-04 03:38:10
推荐回答(1个)
回答1:

select B.Order,B.DataTime
from 表1 A ,表2 B
where A.PlantFlag =1
and A.CusOrder =B.AssOrder
order by B.DataTime

看看是不是这个意思