Hi,
I have a table like this:
ITEMID CODE
1 1
1 2
1 3
2 1
2 3
2 4
3 1
3 2
4 3
where every item is a set of codes. For example,
ItemID 1 = (1,2,3)
ItemID 2 = (1,3,4)
ItemID 3 = (1,2)
ItemID 4 = (3)
How can I know if an item exists? For example, if (1,2,3) exists or if (1,2) exists?
I'm working with a MySQL Database, and VB.Net application.
Thanks.
I have a table like this:
ITEMID CODE
1 1
1 2
1 3
2 1
2 3
2 4
3 1
3 2
4 3
where every item is a set of codes. For example,
ItemID 1 = (1,2,3)
ItemID 2 = (1,3,4)
ItemID 3 = (1,2)
ItemID 4 = (3)
How can I know if an item exists? For example, if (1,2,3) exists or if (1,2) exists?
I'm working with a MySQL Database, and VB.Net application.
Thanks.