I have the followin sql query :
select * from system.Complain Where system.Complain.complainId = (select System.Answer.complainId from system.Answer);