What's the problem with this? Could you clarify what this is supposed to do, what it is doing instead, and maybe an example test scenario around it?
Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Mon, Mar 13, 2017 at 10:41 AM, 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]. > 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. > -- 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.
