一、原题 Evaluate the following SQL statement: SQL>SELECT promo_id, promo_category FROM promotions WHERE promo_category Internet ORDER BY 2 DESC UNION SELECT promo_id, promo_category FROM promotions WHERE promo_categ…
一、原题 Which statement is true regarding the INTERSECT operator?A. It ignores NULL values.B. Reversing the order of the intersected tables alters the result.C. The names of columns in all SELECT statements must be identical.D. The number of columns and…
Flink系列之:集合操作 一、集合操作二、UNION三、INTERSECT四、EXCEPT五、IN六、EXISTS 一、集合操作
适用于流、批操作
二、UNION
UNION 和 UNION ALL 返回两个表中的数据。 UNION 会去重,UNION ALL 不会去重。
Flink SQL> create view t1(s) as…