表如下(name:relation)
======================
uid pid
1 test1
1 test2
1 test3
2 test1
...现在想查询出 pid有test1和test2的所有的uid
大家有什么好的解决方案么?