rootKID Posted September 4, 2012 Share Posted September 4, 2012 (edited) hello again dudes... i am trying to get out my whole products and stuff like that, but im getting this as a sql error: Column 'id' in where clause is ambiguous can someone tell me what its meaning?... -thanks in advance... Edited September 4, 2012 by rootKID Link to comment Share on other sites More sharing options...
roy0702 Posted September 4, 2012 Share Posted September 4, 2012 Hello there, I experienced this so this might help you. Its an SQL error, when joining different tables with same columns, you should use "SELECT tableName.columnName, tableName2.columnName2, and so on". Link to comment Share on other sites More sharing options...
birbal Posted September 4, 2012 Share Posted September 4, 2012 you can also use alias. http://w3schools.com/sql/sql_alias.asp Link to comment Share on other sites More sharing options...
rootKID Posted September 5, 2012 Author Share Posted September 5, 2012 thanks, just needed to know to gain a little bit experience ... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now