Please help me in resolving this query.
-
Table t1 having “t1c1” and “t1c2” columns.
-
Table t2 having “t2c2” and “t2c2” columns.
I have to insert values into t3 table having “t3c1″,”t3c2″,t3c3” columns.
The condition is that “t3c2” column values should be populated from “t1c2” column and “t3c3” column should be populated from “t2c2” column and “t3c1” should be populated from cursor values.
Can someone help in this? Is this possible?
This should work:
If you need to match only certain rows in
t1andt2, you can add: