Update sql.php

postgresql sql mapper not working. missing "AND " (with a space) on line 264