Hi,
I am using the 'binary flag' principle for defining (multiple) modes for an
element..
Elements table:
id name flags
1 a 9
2 b 3
3 c 11
Flags table:
id value name
1 1 mode 1
2 2 mode 2
3 4 mode 3
4 8 mode 4
Now..
Is it possible with one query to get all the modes listed??
to get a result like:
1 a mode1, mode 4
2 b mode 1, mode 2
3 c mode3, mode 4
Thanx in advance!!!
Regards,
Marco Snoek
I am using the 'binary flag' principle for defining (multiple) modes for an
element..
Elements table:
id name flags
1 a 9
2 b 3
3 c 11
Flags table:
id value name
1 1 mode 1
2 2 mode 2
3 4 mode 3
4 8 mode 4
Now..
Is it possible with one query to get all the modes listed??
to get a result like:
1 a mode1, mode 4
2 b mode 1, mode 2
3 c mode3, mode 4
Thanx in advance!!!
Regards,
Marco Snoek