我有这个 sql 查询,需要将其更改为 rails 控制器
SELECT * FROM ( SELECT vendorName,startTime,endTime,appsImported,result,logfile
FROM appmall_dev.data_imports d order by startTime desc)as t
group by t.vendorNAme;
我有这个 sql 查询,需要将其更改为 rails 控制器
SELECT * FROM ( SELECT vendorName,startTime,endTime,appsImported,result,logfile
FROM appmall_dev.data_imports d order by startTime desc)as t
group by t.vendorNAme;