bug fix
Merge branch 'subset' into sql_unique