db2 - SQL nested select statement; -


i need make new table based on datatable schema. not sure if can using nested sql select statements or else.

screenshot

select cola, colb, colc, cold, (select cole table cola=120) cole table cola = 122 

just using nested select cole , giving alias column.


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -