pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: jacktby@gmail.com
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: please give me select sqls examples to distinct these!
Date: Tue, 25 Oct 2022 08:06:25 -0600
Message-ID: <8E137936-5D93-49FF-93A3-EB4E97D3416C@gmail.com> (raw)
In-Reply-To: <202210252154573516405@gmail.com>
References: <202210252154573516405@gmail.com>



> On Oct 25, 2022, at 7:55 AM, jacktby@gmail.com wrote:
> 
> 
> 
> typedef enum SetOperation
> {
>     SETOP_NONE = 0,
>     SETOP_UNION,
>     SETOP_INTERSECT,
>     SETOP_EXCEPT
> } SetOperation;
> jacktby@gmail.com

Please use just text. 
What ‘dialect’ are using? In Postgres
0: select * from table
1: select * from table union select * from table is same shape
2: select * from table join table b on Id = idb 
3: select * from table except select * from tableb

view thread (8+ messages)  latest in thread

Message-ID: <8E137936-5D93-49FF-93A3-EB4E97D3416C@gmail.com>
Permalink:  ../8E137936-5D93-49FF-93A3-EB4E97D3416C@gmail.com/
Also on:    postgresql.org/message-id/8E137936-5D93-49FF-93A3-EB4E97D3416C@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: robjsargent@gmail.com, jacktby@gmail.com
  Subject: Re: please give me select sqls examples to distinct these!
  In-Reply-To: <8E137936-5D93-49FF-93A3-EB4E97D3416C@gmail.com>
  References: <202210252154573516405@gmail.com> <8E137936-5D93-49FF-93A3-EB4E97D3416C@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox