This is related to: Why is selecting specified columns, and all, wrong in Oracle SQL?
The query:
select is_parent, animals.* from animals order by is_parent
throws the error:
[Error] ORA-00960: ambiguous column naming in select list
Which makes sense as is_parent
is duplicated.
Can anyone tell me a simple fix for this, as the original query select is_parent, animals.* from animals
is very nice and quick to return all other columns. I looked at this link but the technique to remove the ambiguity does not seem to apply.