SELECT * FROM ((SELECT SId,score FROM sc WHERE sc.CId='01') sc1);
SELECT * FROM (SELECT SId,score FROM sc WHERE sc.CId='01') sc1;
这两条语句运行结果一样,sc1是SELECT * FROM 的别名,还是SELECT SId,score FROM sc WHERE sc.CId='01'的别名。两种写法是否会在特殊情况产生歧义
SELECT * FROM ((SELECT SId,score FROM sc WHERE sc.CId='01') sc1);
SELECT * FROM (SELECT SId,score FROM sc WHERE sc.CId='01') sc1;
这两条语句运行结果一样,sc1是SELECT * FROM 的别名,还是SELECT SId,score FROM sc WHERE sc.CId='01'的别名。两种写法是否会在特殊情况产生歧义