Array
(
    [sql] =>  SELECT  count(tr.id) AS count  FROM treatment_review tr LEFT JOIN treatment_review_data trd ON tr.id = trd.review_id LEFT JOIN `treatment_review_data` trd_comment ON tr.id = trd_comment.review_id AND trd_comment.type='comment' LEFT JOIN users u ON u.id = tr.user_id WHERE 1  AND tr.is_approved = 1  AND trd.entity = 'clinics'  AND trd.entity_id = 1st-prague-private-clinic  AND tr.domain_id = "2"  ORDER BY created_at DESC 
    [info] => Array
        (
            [0] => 42S22
            [1] => 1054
            [2] => Unknown column '1st' in 'where clause'
        )

)