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 -

excel vba - VBA Proxy auto-configuration for http requests -

sql server 2008 - split ssrs expression between 2 words -