複数のSELECT
を使用してサブクエリを実行できると思います s UNION
と組み合わせる s。
SELECT a, b, c, d
FROM (
SELECT 1 AS a, 2 AS b, 3 AS c, 4 AS d
UNION ALL
SELECT 5 , 6, 7, 8
) AS temp;
複数のSELECT
を使用してサブクエリを実行できると思います s UNION
と組み合わせる s。
SELECT a, b, c, d
FROM (
SELECT 1 AS a, 2 AS b, 3 AS c, 4 AS d
UNION ALL
SELECT 5 , 6, 7, 8
) AS temp;