writting an sql query
Posted
by Praveen Prasad
on Stack Overflow
See other posts from Stack Overflow
or by Praveen Prasad
Published on 2010-05-07T23:32:38Z
Indexed on
2010/05/07
23:38 UTC
Read the original article
Hit count: 204
mysql
|mysql-query
iam having 2 tables
table Items Table (this table holds all items iam having)
itemId
---------
Item1
Item2
Item3
Item4
Item5
table 2 users_item relation
UserId || ItemId
1 || Item1
1 || Item2
userId one has stored 2 items Item1,Item2. Now i want to write a query on table1 (Items table) so that it displays all items which user1 has NOT chosen.
© Stack Overflow or respective owner