thanks
jacktby@xxxxxxxxx
From: Rob SargentDate: 2022-10-25 22:06To: jacktbyCC: pgsql-generalSubject: Re: please give me select sqls examples to distinct these!On Oct 25, 2022, at 7:55 AM, jacktby@xxxxxxxxx wrote:typedef enum SetOperation{SETOP_NONE = 0,SETOP_UNION,SETOP_INTERSECT,SETOP_EXCEPT} SetOperation;
jacktby@xxxxxxxxxPlease use just text.What ‘dialect’ are using? In Postgres0: select * from table1: select * from table union select * from table is same shape2: select * from table join table b on Id = idb3: select * from table except select * from tableb