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 diseases_name LIMIT 0, 100Array ( [documents_id] => 519 [documents_location] => 20111128_ufa.kp.ru_5c499e9fd289c38074c0e5d85a8c08df8c0d6891bb39682d27d98ea6 [documents_date] => 2011-11-28 [documents_cases] => N [documents_source] => ufa.kp.ru [documents_url] => http://ufa.kp.ru/online/news/1027649 [documents_title] => В Башкирии заболеваемость ВИЧ выросла на 40%Сейчас в республике почти 9,5 тысяч ВИЧ-инфицированных [documents_language] => ru [diseases_name] => AIDS [places_name] => Russia )