0

I am not able to select distinct store_id from the table in postgres..

1 Answer 1

2

Your syntax is wrong - try using DISTINCT ON (more info here)

If you want to maintain the column order you can do a nested select

Sign up to request clarification or add additional context in comments.

2 Comments

There, try that
Any luck with that?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.