How to write sql for zend 3?
  
 
     
     
             
                 
 
 
         
         0 
         
 
         
             
         
 
 
 
 
             
 
             
 
     
     
 
 How to write sql for zend 3?   I can not do it.   select email as publihser_email, phone_number as publisher_phone_number, CONCAT(first_name,' ',last_name) as publisher_name  from users  where id in(        select distinct publisher_id from apartments where publisher_type=0      )  UNION  select email as publihser_email, phone_number as publisher_phone_number, name as publisher_name  from organizations  where id in(        select distinct publisher_id from apartments where publisher_type=1      );       
 
         
             
                 sql zend-framework 
             
         
 
     
         
             
  share | improve this question  
             
 
                 
 
     
         edited Nov 19 '18 at 8:50 
     
     
         
     
     
         jarlh 
         
           ...