i have these two tables ,
s(id,firstname,lastname,mydate,mount,sh)
users(uid,email,password,nameoffice)
and this query
$sql="SELECT s.id,s.firstname,s.lastname,s.mydate,s.mount,users.nameOffice FROM sayer LEFT JOIN users ON s.sh=users.sh order by date(s.mydate) DESC,s.mount DESC";
how could I write this query on zend framework?