Can someone explain what is going on in the third select statement
below? I would have expected it to return a row because the number is
quoted.

sqlite> select 'foo' where 1 in (1, '2', 'three');
foo
sqlite> select 'foo' where 2 in (1, '2', 'three');
sqlite> select 'foo' where '2' in (1, '2', 'three');
sqlite> select 'foo' where 'three' in (1, '2', 'three');
foo
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to