I have some python code that I use for reporting. I want to get the dates value which is a small set of unique dates from thousands of results. My SQL is not that great but I thought that I could use the Distinct keyword ("DISTINCT": True) to get the uniue values from the database. Currently it makes no difference in or out and I have to parse through all of the results using python which seems very inefficient.
Anbody advise on this?
Anbody advise on this?