在 MySQL 5.7(或更早)环境下,有两张使用以下命令创建的数据库表:
create table T(a INT, b char);
有几条查询语句如下所示:
语句1:
select a, b from T where a = 10union allselect a, b from T where c = "20"
语句2:
select a, b from T where a = 10unionselect a, b from T where c = "20"
语句3:
select a, b from T group by a, b
语句4:
select a, b from T group by a, b order by null;
以下说法正确的是?

