Simple example :
Working (correct result)
select id from tbl where id in (select id from tbl)
NOT working (incorrect result) :
select id from tbl where id in ( ( select id from tbl) )
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.o
>Von: "Richard Hipp"
>An: "General Discussion of SQLite Database"
>Betreff: Re: [sqlite] BUG with unnecessary brackets in queries with IN (
>SELECT .. )
>On Sun, Jun 8, 2014 at 7:52 PM, Martin Hristov wrote:
>
>> Simple example :
>>
>> Wo
On Sun, Jun 8, 2014 at 7:52 PM, Martin Hristov wrote:
> Simple example :
>
> Working (correct result)
> select id from tbl where id in (select id from tbl)
>
> NOT working (incorrect result) :
> select id from tbl where id in ( ( select id from tbl) )
>
In the first query, SQLite looks for value
On 2014/06/11 07:48, be...@web.de wrote:
Simple example :
Working (correct result)
select id from tbl where id in (select id from tbl)
NOT working (incorrect result) :
select id from tbl where id in ( ( select id from tbl) )
In the first query, SQLite looks for values of "id" that are in the
Gesendet: Mittwoch, 11. Juni 2014 um 10:29 Uhr
Von: RSmith
An: sqlite-users@sqlite.org
Betreff: Re: [sqlite] BUG with unnecessary brackets in queries with IN ( SELECT
.. )
>On 2014/06/11 07:48, be...@web.de wrote:
>>>> Simple example :
>>>>
>>>> Working (
5 matches
Mail list logo