大家好,我希望就如何最好地从我的表中选择数据提供一些帮助/见解/想法(我可以进行内部连接,但这与我的 SQL 知识一样“复杂”)。好吧,我正在使用此查询,但需要 4 小时
SELECT FROM
(
SELECT FROM
(
SELECT FROM )AS
)
AS ....
(SELECT ...FROM ... )AS...,
(SELECT .....FROM ... )
AS ...
(SELECT ........FROM ....) AS ....
(SELECT....FROM .... )AS ...
(SELECT ...FROM .... )AS ...,
(SELECT .....FROM ..... )AS [.....
( SELECT .....FROM ..... )AS [.....
(SELECT .....FROM ..... ) AS [.....
(SELECT .....FROM ..... ) AS [.....
(SELECT .....FROM ..... ) AS [.....
WHERE
(
And (
And ....