I need to do the smilar vlookup (Excel function) in SQL command.
Just explain to the below example
Table 1
Store Type Region
AA12 RGS AAA
AA13 REM BBB
AA14 RBK CCC
Table 2
Store Type Turnover
AA12 2345
AA13 7825
AA14 8306
From Table1, I need to take Type column on the basis of Store column and need to paste in Table2 with respective to the Store in table2. Same as excel vlookup function, but I need to do this by using SQL command
Just explain to the below example
Table 1
Store Type Region
AA12 RGS AAA
AA13 REM BBB
AA14 RBK CCC
Table 2
Store Type Turnover
AA12 2345
AA13 7825
AA14 8306
From Table1, I need to take Type column on the basis of Store column and need to paste in Table2 with respective to the Store in table2. Same as excel vlookup function, but I need to do this by using SQL command
Comment