Let's say I have those two tables:
table1
ID value1 value2
1 NULL NULL
2 NULL NULL
3 NULL NULL
table2
ID value3 value4
5 100 400
6 200 500
7 300 600
I need a SQL-statement to get value3
and value4
of table2
ID 7
into value1
and value2
of table1
ID 1
.
How do I go about that?
Thanks