|
Архив - только для чтения |
Модератор форума: andycrowz |
Форум Корзина форума Корзина Ошибка в запросе .sql |
Ошибка в запросе .sql |
Подскажите пожалуйста, какая тут ошибка в запросе?
UPDATE item_template SET stat_value1=stat_value1*9 WHERE stat_type1 in (3,4,7,5,6) and itemlevel in (85-164); UPDATE item_template SET stat_value2=stat_value2*3 WHERE stat_type2 in (32) and itemlevel in (85-164); UPDATE item_template SET stat_value3=stat_value3*5 WHERE stat_type3 in (38,45) and itemlevel in (85-164); UPDATE item_template SET stat_value4=stat_value4*4 WHERE stat_type4 in (36) and itemlevel in (85-164); UPDATE item_template SET stat_value5=stat_value5*5 WHERE stat_type5 in (12,13,14,15,16,17) and itemlevel in (85-164); UPDATE item_template SET stat_value6=stat_value6*5 WHERE stat_type6 in (18,19,20,21,22,23) and itemlevel in (85-164); UPDATE item_template SET stat_value7=stat_value7*5 WHERE stat_type7 in (24,25,26,27,28,29) and itemlevel in (85-164); UPDATE item_template SET stat_value8=stat_value8*5 WHERE stat_type8 in (30,31,33,34,35) and itemlevel in (85-164); UPDATE item_template SET stat_value9=stat_value9*5 WHERE stat_type9 in (37,39,40,41) and itemlevel in (85-164); UPDATE item_template SET stat_value10=stat_value10*5 WHERE stat_type10 in (42,43,44,46,47,48) and itemlevel in (85-164); Добавлено (21.03.2015, 20:05)
Сообщение # 1 написано 21.03.2015 в 20:05
|
Код UPDATE `item_template` SET `stat_value1` = `stat_value1`*9 WHERE `stat_type1` IN (3,4,7,5,6) AND `ItemLevel` BETWEEN 85 AND 164; UPDATE `item_template` SET `stat_value2` = `stat_value2`*3 WHERE `stat_type2` IN (32) AND `ItemLevel` BETWEEN 85 AND 164; UPDATE `item_template` SET `stat_value3` = `stat_value3`*5 WHERE `stat_type3` IN (38,45) AND `ItemLevel` BETWEEN 85 AND 164; UPDATE `item_template` SET `stat_value4` = `stat_value4`*4 WHERE `stat_type4` IN (36) AND `ItemLevel` BETWEEN 85 AND 164; UPDATE `item_template` SET `stat_value5` = `stat_value5`*5 WHERE `stat_type5` IN (12,13,14,15,16,17) AND `ItemLevel` BETWEEN 85 AND 164; UPDATE `item_template` SET `stat_value6` = `stat_value6`*5 WHERE `stat_type6` IN (18,19,20,21,22,23) AND `ItemLevel` BETWEEN 85 AND 164; UPDATE `item_template` SET `stat_value7` = `stat_value7`*5 WHERE `stat_type7` IN (24,25,26,27,28,29) AND `ItemLevel` BETWEEN 85 AND 164; UPDATE `item_template` SET `stat_value8` = `stat_value8`*5 WHERE `stat_type8` IN (30,31,33,34,35) AND `ItemLevel` BETWEEN 85 AND 164; UPDATE `item_template` SET `stat_value9` = `stat_value9`*5 WHERE `stat_type9` IN (37,39,40,41) AND `ItemLevel` BETWEEN 85 AND 164; UPDATE `item_template` SET `stat_value10` = `stat_value10`*5 WHERE `stat_type10` IN (42,43,44,46,47,48) AND `ItemLevel` BETWEEN 85 AND 164;
Сообщение # 2 написано 21.03.2015 в 23:01
|
| |||
| |||