BubikolRamios
10-02-2011, 11:09 AM
master
id
1
2
3
..
detail
id data
1 A
1 B
2 A
...
1. get all that has A, easy.
2 get all that has A or B, easy.
3. get all that has A and B ?
I can think of group_concat & some string functions but that is not standard SQL.
id
1
2
3
..
detail
id data
1 A
1 B
2 A
...
1. get all that has A, easy.
2 get all that has A or B, easy.
3. get all that has A and B ?
I can think of group_concat & some string functions but that is not standard SQL.