8
0
Inselzuschlag/2_zuweisung.sql

3 Zeilen
280 B
MySQL

2013-08-21 09:24:36 +02:00
UPDATE `oxuser`, `d3isles` SET oxuser.`OXCOUNTRYID` = d3isles.`OXISLESCOUNTRYID`
WHERE (oxuser.oxzip BETWEEN `d3isles`.`oxzipfrom` AND `d3isles`.`oxzipto`) AND oxuser.`OXCOUNTRYID` = d3isles.`OXCOUNTRYID` AND d3isles.`OXZIPFROM` IS NOT NULL AND d3isles.`OXZIPTO` IS NOT NULL;