你好,我有3个选择查询 我想组合这些查询并将结果放入不在行中的列中。 如果我使用union,它将以行显示输出 我不希望这些结果列在行中。 queries
答案 0 :(得分:1)
您可以使用此骨架:
SELECT
Count(*) AS FirstCount,
(Select Count(*) As SecondCount From SecondTable) AS SecondCount,
(Select Count(*) As ThirdCount From ThirdTable) AS ThirdCount,
FROM
FirstTable;