in reply to Compare items in DB
Of course, I wouldn't use that unless I could explain it.CREATE TEMPORARY TABLE foo ( bar INT NOT NULL ); INSERT INTO foo (bar) VALUES (1),(2),(4),(5); SELECT foo.bar FROM foo LEFT OUTER JOIN num_table ON (foo.bar = num_table.num) WHERE num_table.primary_key_column IS NULL ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Compare items in DB
by Anonymous Monk on Mar 06, 2008 at 20:54 UTC | |
by dragonchild (Archbishop) on Mar 06, 2008 at 23:43 UTC |