Re: Help on Query with DATE BETWEEN not performant
It seems peculiar, we're missing something, did you try reversing the join eg ...
select ca.fk_earticle
from ecust_user_contract u
join econtracts_articles ca on u.fk_contract=ca.fk_econtract
join earticles a on ca.fk_earticle=a.id
and a.dateOfArticle between '2019/01/02' AND '2020/02/02'
where u.fk_cust_user='mihaluka';
Subject
Views
Written By
Posted
1595
February 02, 2020 06:51PM
649
February 02, 2020 07:13PM
636
February 02, 2020 10:30PM
609
February 03, 2020 04:16AM
618
February 03, 2020 08:12AM
633
February 03, 2020 10:45AM
619
February 03, 2020 11:20AM
Re: Help on Query with DATE BETWEEN not performant
597
February 03, 2020 12:02PM
629
February 03, 2020 12:26PM
629
February 03, 2020 04:19PM
873
February 03, 2020 06:21PM
632
February 03, 2020 08:38PM
595
February 04, 2020 01:03PM
630
February 04, 2020 01:42PM
970
February 04, 2020 02:48PM
599
February 04, 2020 05:26PM
618
February 04, 2020 05:27PM
561
February 06, 2020 04:21PM
666
February 06, 2020 04:31PM
621
February 06, 2020 10:57PM
606
February 09, 2020 08:46AM
614
February 09, 2020 11:48AM
568
February 09, 2020 05:04PM
567
February 04, 2020 04:12PM