DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
laravel query select from table where id != to another table id
DB::table('tbl_sales') ->whereNotIn('id', DB::table('tbl_registration')->pluck('sale_id')) ->get();
PREVIOUS
NEXT
Tagged:
#laravel
#query
#select
#table
#id
#table
#id
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit