I tried for a long time to create a query for postgresql, I set the Database.php file in the framework, but I don\'t know what happened what the query does not work.