On 3/22/2015 10:15 AM, Bart Smissaert wrote: > Sorry, that table did indeed not have a column named emis_number, my > mistake. > Still, the error message ambiguous column name doesn't seem quite right. > Should that not also be no such column: emis_number?
What do you mean, no such column? There are in fact two such columns, mentioned elsewhere in the same query: d.emis_number and p.emis_number. -- Igor Tandetnik