MySQL – UNION Operator Table of content MySQL UNION Operator The UNION operator in MySQL combines the data (without duplicate records) from multiple tables. We can use UNION if we want to select rows one after the other from several tables or several sets of rows from a single table all as a single result […]
Category Archives: mysql
MySQL – UNION vs UNION ALL Table of content UNION and UNION ALL operators in MySQL are used to retrieve the rows from multiple tables and return them as one single table. However, for these operators to work on these tables, they need to follow the conditions given below − The tables to be combined […]
MySQL – LIKE Operator Table of content MySQL LIKE Operator The LIKE Operator in MySQL database is a logical operator that is used to retrieve the data from a table, based on a specified pattern. To filter and search for some records in a table, in a very basic way is using a WHERE clause. […]