[sqlalchemy] How to set distinct query properly

2014-03-12 Thread pyArchInit ArcheoImagineers
Hi to all, I looked for around the web without success. I need to reproduce this kind of SQL distinct query: SELECT DISTINCT column1 from table where column3= 'Value' or two or more: SELECT DISTINCT column1,column2 from table where column3= 'Value' I tried something like this without success:

Re: [sqlalchemy] How to set distinct query properly

2014-03-12 Thread Michael Bayer
On Mar 12, 2014, at 10:36 AM, pyArchInit ArcheoImagineers pyarchi...@gmail.com wrote: Hi to all, I looked for around the web without success. I need to reproduce this kind of SQL distinct query: SELECT DISTINCT column1 from table where column3= 'Value' or two or more: SELECT DISTINCT