Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Column 'id' in where clause is ambiguous #119

Open
kushanz opened this issue Nov 9, 2016 · 4 comments
Open

Column 'id' in where clause is ambiguous #119

kushanz opened this issue Nov 9, 2016 · 4 comments

Comments

@kushanz
Copy link

kushanz commented Nov 9, 2016

Column 'ID' in where clause is ambiguous.when join two tables. both have save named column.

@bobbysiagian
Copy link

Please use your own id, or you can custom the sql column by using 'as' first.

@kushanz
Copy link
Author

kushanz commented Nov 10, 2016

But I can't use aleas in where clause. That is the issue

@iMezied
Copy link

iMezied commented Nov 30, 2016

generate 'view' for your query this will solve many issues excepts performance for large dataset

@virtualgadjo
Copy link

hi, ran into the same "alert" simply solve it using mytable.id and this works for where/order and so on clauses
hope it helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants