I have a table to store the dynamic attribute
The structure is like this:
id itemid value
---- ------ ------
1 1 A
2 2 B
3 3 C
4 1 B
5 2 C
So when I pass the multi-valued parameter
- Pass value
A B
result itemid1
- Pass value
B
result itemid1 2
- Pass value
B C
result2
How can I write this sql? By the way i use mysql