how do you exclude the primary key column in a join operation on a MySQL database #13453
Unanswered
jasonmng
asked this question in
Help & Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
given the following query
where otherModel.id is the primary key on that table, it outputs a query that looks like
which is giving me a
SELECT list is not in GROUP BY clause and contains nonaggregated column
error. How can I make it so thatOtherModel.id AS OtherModel.id
does not get generated?Beta Was this translation helpful? Give feedback.
All reactions