main.stack view protocol - correct test result
View protocol requires expressions include a simple alias.
This commit is contained in:
parent
32962ea253
commit
2c89fe7ea6
@ -18,8 +18,8 @@ FROM Fibonacci
|
||||
WHERE N < 100000
|
||||
)
|
||||
SELECT PrevN as N, Stack FROM Fibonacci;
|
||||
select (select stack from t1 where n=2) = (select stack from t1 where N=75025);
|
||||
(select stack from t1 where n=2) = (select stack from t1 where N=75025)
|
||||
select (select stack from t1 where n=2) = (select stack from t1 where N=75025) as c;
|
||||
c
|
||||
1
|
||||
DROP table t1;
|
||||
#
|
||||
|
@ -22,7 +22,7 @@ WITH recursive Fibonacci(PrevN, N, Stack) AS
|
||||
)
|
||||
SELECT PrevN as N, Stack FROM Fibonacci;
|
||||
|
||||
select (select stack from t1 where n=2) = (select stack from t1 where N=75025);
|
||||
select (select stack from t1 where n=2) = (select stack from t1 where N=75025) as c;
|
||||
DROP table t1;
|
||||
|
||||
--echo #
|
||||
|
Loading…
x
Reference in New Issue
Block a user