laravel版本的sql(选择1stCondition和(2nd)condition或3rd_condition)

时间:2019-03-20 21:43:08

标签: sql laravel

我需要从SQL到Laravel转换的帮助

select id, car 
  from car 
 where wheel_count>4 
   and (color in (select color from pearl_color) or color in (select color from metallic_color))

0 个答案:

没有答案