私は1つの長いテーブルと1つの短いテーブルを持っています:
長いテーブルは次のようになります。
LongTable:
+--------------+----------+----------+----------+
| Kabelnummer | GL |more data |even more |
+--------------+----------+----------+----------+
| 1 | 850 | x | x |
+--------------+----------+----------+----------+
| 2 | 850 | x | x |
+--------------+----------+----------+----------+
| 3 | 1300 | x | x |
+--------------+----------+----------+----------+
| 4 | 1300 | x | x |
+--------------+----------+----------+----------+
と
ShortTable:
+--------------+----------+----------+----------+
| data | GL |more data |numericVal|
+--------------+----------+----------+----------+
| x | 850 | x | 0.2345 |
+--------------+----------+----------+----------+
| x | 1300 | x | 0.2849 |
+--------------+----------+----------+----------+
列「numericVal」を、GL.Longtable が GL.shorttable と同じテーブル「LongTable」にコピーするクエリが必要です。
LongTable:
+--------------+----------+----------+----------+----------+
| Kabelnummer | GL |more data |even more |numericVal|
+--------------+----------+----------+----------+----------+
| 1 | 850 | x | x | 0.2345 |
+--------------+----------+----------+----------+----------+
| 2 | 850 | x | x | 0.2345 |
+--------------+----------+----------+----------+----------+
| 3 | 1300 | x | x | 0.2849 |
+--------------+----------+----------+----------+----------+
| 4 | 1300 | x | x | 0.2849 |
+--------------+----------+----------+----------+----------+
どうすればいいですか?