Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- From: David Kerber <ns_dkerber@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 10 Nov 2006 20:42:12 -0500
In article <qd4al2la6oabgm2dsh092pt0aapgnj367k@xxxxxxx>,
kylix_is@xxxxxxxxxxx says...
....
But when I try a query with TWO inner joins, it barfs:
SELECT Customers.CompanyName, Orders.OrderDate, Shippers.CompanyName
FROM Shippers INNER JOIN (Customers INNER JOIN Orders ON
Customers.CustomerID = Orders.CustomerID) ON Shippers.ShipperID =
Orders.ShipVia;
Sqlite/SQLiteSimpleQuery now says:
no such column: Customers.CompanyName
Unless there is a weird undocumented syntax specific to Sqlite that I
don't know about, it apparently cannot parse the two inner joins.
Actually, what you have there is Access-specific join syntax, not ANSI
standard, which is probably what sqlLite uses. Drop the parens, so it
looks like something like (untested!!!):
SELECT Customers.CompanyName, Orders.OrderDate, Shippers.CompanyName
FROM Customers INNER JOIN Orders ON Customers.CustomerID =
Orders.CustomerID INNER JOIN shippers ON Shippers.ShipperID =
Orders.ShipVia;
.....
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
.
- Follow-Ups:
- References:
- Simple, free RDBMS for VB3/6 with minimal installation footprint
- From: MM
- Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- From: RB Smissaert
- Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- From: MM
- Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- From: RB Smissaert
- Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- From: MM
- Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- From: MM
- Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- From: MM
- Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- From: bart.smissaert@xxxxxxxxx
- Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- From: MM
- Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- From: RB Smissaert
- Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- From: MM
- Simple, free RDBMS for VB3/6 with minimal installation footprint
- Prev by Date: Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- Next by Date: Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- Previous by thread: Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- Next by thread: Re: Simple, free RDBMS for VB3/6 with minimal installation footprint
- Index(es):
Relevant Pages
|