updated more consistant sql code... allow CTE and sub-select versions (at least for postgresql).
updated more consistant sql code...
allow CTE and sub-select versions (at least for postgresql).

antoinecarme/pyaf,antoinecarme/pyaf,antoinecarme/pyaf