Re: [sqlite] Why do I only get one record?

2020-02-19 Thread Jose Isaias Cabrera
Igor Korot, on Wednesday, February 19, 2020 04:30 PM, wrote... > > Hi, > > On Wed, Feb 19, 2020 at 2:12 PM Jose Isaias Cabrera > wrote: > > > > > > Thanks, Keith. Darn it! GROUP BY and ORDER BY! Got it, it's working > now. Thanks. > > > > > > > sqlite-users on b

Re: [sqlite] Why do I only get one record?

2020-02-19 Thread Igor Korot
dnesday, February 19, 2020 03:09 PM > To: SQLite mailing list > Subject: Re: [sqlite] Why do I only get one record? > > > 1) In the first two query's, why do you have a condition on the LHS table in > the LEFT JOIN conditions? > 2) In the last query, why do you have

Re: [sqlite] Why do I only get one record?

2020-02-19 Thread Jose Isaias Cabrera
Thanks, Keith. Darn it! GROUP BY and ORDER BY! Got it, it's working now. Thanks. From: sqlite-users on behalf of Keith Medcalf Sent: Wednesday, February 19, 2020 03:09 PM To: SQLite mailing list Subject: Re: [sqlite] Why do I only get one record

Re: [sqlite] Why do I only get one record?

2020-02-19 Thread Keith Medcalf
1) In the first two query's, why do you have a condition on the LHS table in the LEFT JOIN conditions? 2) In the last query, why do you have a condition on the RHS table of the LEFT JOIN in the WHERE clause? These would seem to indicate that you are using a LEFT JOIN when you really do not w