select `documents_id`, `documents_location`, `documents_date`, `documents_cases`, `documents_source`, `documents_url`, `documents_title`, `documents_language`, `diseases_name`, `places_name` from documents INNER JOIN diseases ON (diseases_id = id_diseases) INNER JOIN places ON (places_id = id_places) JOIN results ON `documents_id`=`results`.`id_documents` where `results`.`filter`='tp' ORDER BY documents_title LIMIT 0, 100Array ( [documents_id] => 354 [documents_location] => 20120106_rzeszow.gazeta.pl_b0a3e01f302f7c8dd09ef81a62c428aa62091ca80978af2bdeeb7140 [documents_date] => 2012-01-06 [documents_cases] => N [documents_source] => rzeszow.gazeta.pl [documents_url] => http://rzeszow.gazeta.pl/rzeszow/1,34975,10858761,Nie_chcemy_bezplatnych_szczepien_dzieci_.html [documents_title] => Nie chcemy bezpłatnych szczepień dzieci? [documents_language] => pl [diseases_name] => Streptococcus pneumoniae [places_name] => Poland )