sql - Table name after parenthesis notation -


i going through old-ish sql code else had written couldn't quite understand. have simplified structure here, if can walk me through going on, appreciated! may ignore specific column operations examples.

select table.*,   column1 - column2   'col1 - col2',   ...    columnn   'coln'    (select    ...    ) table 

what don't understand final line. assuming definition of "table" in from (select ...) part, , ) table part indicates name of defined table.

thanks in advance!

an inner select needs alias name

select alias_name.* (    select * some_table ... ) alias_name 

Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -

Why does a .NET 4.0 program produce a system.unauthorizedAccess error on a Windows Server 2012 machine with .NET 4.5 installed? -