`articles.gmt_delete+tags.type` is an select expression, both the original 
column name and table name should be empty.
42 is a literal, both the original column name and table name should be empty 
too.
`id` is ambiguous here. Proper SQL might require it be prefixed with qualifier 
(either `articles` or `tags`). Then both table name and table alias name are 
known.

> On 15 Jan 2018, at 9:14 PM, Clemens Ladisch <clem...@ladisch.de> wrote:
> 
> J Decker wrote:
>> What is the expected output?
> 
> And just out of curiosity: what should the table name be for these columns?
> 
>  SELECT articles.gmt_deleted+tags.type, 42, id FROM articles JOIN tags USING 
> (id);
> 
> 
> Regards,
> Clemens
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to