Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Insert and Select statements

$
0
0
I am working on a querywhere I am inserting data from another tableInsert into table1(col1,col2,col3)select col4,col5,([highlight="#98"]col6+col1)[/highlight]from table2How can I refer col1 data in the select statement?Please help me outThanks.

Viewing all articles
Browse latest Browse all 3145

Trending Articles