RSSAmplifier

Shalom's Blog · Jul 30, 2020

Using Postgresql's Union

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

The popular way to combine datasets in SQL is join , which combines data horizontally - the result set has the columns from both datasets. However, I recently pushed an update to The Fencing Database that involved combining results from two queries vertically - I wanted to treat the results as one long result set. The way to do this is an SQL command called union .

Read on sdubinsky.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.