I'm a newbie in sql i just wanna know if this is possible? If yes, can someone help me please.
Here is the scenario:
I have two tables named Table A and Table B as shown in image link below.
Table A has myId and desc columns. Table B has myId and other columns.

Here is the catch, I wanted to insert (not update assuming the scenario in image link that table B is empty though) the highlighted myId in table A to table B.
Ahas to do with the question. Are you choosing "2" through some special logic?insert B(myid) select myid from A. But you will need some more details on what you want the result to look like, and where your other columns are coming from. Also, include the tables in your question not as an image. Ideally a create table followed by inserts will make it super easy for people to answer.