Saya kira Anda bisa melakukan subquery dengan beberapa SELECT
s digabungkan dengan 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;
Saya kira Anda bisa melakukan subquery dengan beberapa SELECT
s digabungkan dengan 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;