我正在尝试使用 CGridView 显示车辆模型。
为了显示 Fld7465RRef 引用列的值,需要以下 sql 选择:
select VUF._Fld7468_S as Loading_Time_To_DLR
FROM Vehicles as Vehicles
left join (_InfoReg7464 as VUF
inner join _Chrc7246 as CFU
on VUF._Fld7467RRef = CFU._IDRRef
and CFU._Description ='Vehicle uploading for DLRTime')
on Vehicles._IDRRef = VUF._Fld7465RRef
我找不到为此查询建立关系的解决方案。