Query: | SELECT `T2`.*, `T1`.`Message`, `T1`.`Date` AS `Date_message`, `T3`.`Path` AS `Path`, `T3`.`Key` AS `Key`, `T3`.`Type` AS `Listing_type`, `T3`.`Parent_keys` FROM `fl_listing_statuses` AS `T1` LEFT JOIN `fl_listings` AS `T2` ON `T2`.`ID` = `T1`.`Listing_ID` LEFT JOIN `fl_categories` AS `T3` ON `T2`.`Category_ID` = `T3`.`ID` WHERE `T2`.`Status` = 'active' AND `T2`.`country` = 'countries_moskva' GROUP BY `T2`.`ID` ORDER BY RAND() LIMIT 10 |