What is the problem? 

> On 13 Mar 2017, at 10:41, Anoop Govindan <[email protected]> wrote:
> 
> Hey guys,
> I've been stuck with this problem, please help me...
> 
> SELECT swps FROM shift_work_payslip_summary swps 
> WHERE swps.company_id = 2 
> AND swps.staff_id = 4 
> AND(
>         (swps.work_start = '2017-03-01' AND swps.work_end = '2017-03-31')
>                OR 
>         (swps.work_start = '2017-02-01' AND swps.work_end = '2017-02-28') 
>      )
> ORDER BY swps.work_start ASC
> 
> 
> Thank you ....
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/doctrine-user 
> <https://groups.google.com/group/doctrine-user>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to