Understand the difference between sql statements

UNION ALL and UNION LIKE and ILIKE NOT and ! and <> DATE_PART() and DATE_TRUNC() UNION ALL and UNION UNIONThe UNION command is used to select related information from two tables, much like the JOIN command. However, when using the UNION command all selected columns need to be of the same data type. With UNION, only distinct values are selected. UNION ALLThe UNION ALL command is equal to the UNION command, except that UNION ALL selects all values. The difference… Continue reading Understand the difference between sql statements