I have three tables namely test1, test2, test3
test1 data
===========
id test_id q_id
1 25 2
2 27 2
test2 data
===========
id test_id q_id
1 25 2
2 34 2
test3 data
===========
id test_id q_id
1 34 2
how get test_id
value with q_id = 2
from these three tables without repeating data ?
that is 25, 27, 34