Dear all.

How i can doing the following query for web2py:

 select
        a.destino,a.answeredtime,a.inicio,a.fin,a.valor from llamados as a 
 join 
        accountcode as b on a.id_accountcode=b.id 
 join 
        clientes as c on b.id_clientes=c.id 

 where id_clientes = clte and a.dialstatus='ANSWER' and (a.inicio >= 

desde    and a.inicio <= hasta) order by a.inicio DESC

I want not use executesql.


Fernando


      

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to