join using db in laravel 8 code example
Example 1: limit laravel
$posts = Post::all()->limit(10)->get();
Example 2: laravel not in query
DB::table(..)->select(..)->whereNotIn('book_price', [100,200])->get();
Example 3: DB::table('users')->get();
DB::select('select * from users ');