database - SQL conceptional: how many ways to "add" column and row to a result set? -


I am currently learning SQL

The column and row from the result set to get the desired data mainly "cutting" (with its section) SQL

It seems that there are only two ways to add "column" column:

  Join the table. 2. Select the "virtual" column in the selection list.   

And we can only add "rows":

  1   

you like call 1, now () as col2 ... to

etc.

Rows can be added by adding new tables or just FOR in the table or sub-selections

  select from table 1 (select 1 union 2) line 2 Choose the second row in the table # 2 rows doubles   

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -