I wrote a sql query, and it returned me following table:
SELECT column_name FROM (returned_table) INNER JOIN (returned_table_2) ON ...
If I'm understanding correctly, just use a
select * from (returned_table) t where titlename = 'Title1'
With that said, you should be able to add
where criteria to your existing query to limit it to