Hello,
how to do a select ... from select in MSSQL similar to Oracle? eg.
select hour
from (
select substring( daily, 9,2 ) as hour
from daytab
where userid = 12
)
results in "incorrect syntax near ')'"
thank you and regards
Mark
cascaded select
|