我有这样的值的表
TABLE1
ID....VALUE
-----------
1.....Hello
2.....World
3.....Other
4.....Words
还有一张带钥匙的桌子
TABLE2
ID...WORD1...WORD2...OTHER...FIELDS
-----------------------------------
1.....1.......1......NULL....NULL..
2.....1.......3......NULL....NULL..
3.....4.......1......NULL....NULL..
我想要做的是加入这两个,以便它产生这样的东西:
SELECT ... FROM `TABLE2` ...
=
Hello Hello
Hello Other
Words Hello
但我完全迷路了!