📌  相关文章
📜  laravel query select from table where id != to another table id - PHP Code Example

📅  最后修改于: 2022-03-11 14:54:01.280000             🧑  作者: Mango

代码示例1
DB::table('tbl_sales')
->whereNotIn('id', DB::table('tbl_registration')->pluck('sale_id'))
->get();