How to combine the results of multiple SQL queries using the UNION statement

Posted by linuxer on Apr 29, 2019 2:02 AM EDT
linuxconfig.org; By Egidio Docile
Mail this story
Print this story

In a previous article we talked about the various type of JOIN we can use in a MariaDB/MySQL database. This time, instead, we take a look at the UNION statement: how it works, how we can use it to combine the result of queries run on different tables, and what are its peculiarities.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux, MySQL

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.