Distinct is not working
See original GitHub issueHi I have one sql query with distinct closer
SELECT DISTINCT customerNumber , amount,checkNumber FROM payments WHERE paymentDate > DATE('2003-01-01')
if i am using this query to parser that i am not getting distinct column same thing not coming another query i give one more example
please check this test case…
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
select distinct not working as expected - Stack Overflow
I want unique student ids as well as their respective college ids. ... select studentId,collegeID from STDNT_GROUP where studentId in(select ...
Read more >Select Distinct is returning duplicates - Experts Exchange
SELECT DISTINCT is a “row operator”, not a function, and not magic. It will evaluate ALL of the columns that you have listed...
Read more >DISTINCT is not working as expected in Marketing Cloud
Distinct works as if all fields in the select statement are primary keys. So this means in your query you are looking for...
Read more >distinct not working — oracle-tech
When i put distinct on select, statement does not work, it keeps executing and it shows no result. select distinct d.a, d.b, d.c,...
Read more >DISTINCT is not a SQL Function - Towards Data Science
Apply SELECT DISTINCT to a subset of columns in SQL. Discussing about SELECT DISTINCT keywords in SQL and why DISTINCT is not a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Aha. Now I know, what you mean. The column within distinct is only set if you write distinct (col). You wrote a global distinct which processes all columns within your select.
bro please check this query…