【发布时间】:2020-10-03 11:20:46
【问题描述】:
我有这个 SQL RAW 查询:
select * from table_a where (select id from table_b where table_a.table_b_id = table_b.id and table_b.code = '02') = table_a.table_b_id and user = '123456' order by id desc limit 1
我需要转换为 Laravel 雄辩。我已经尝试了几个小时
【问题讨论】: