SQL for BETWEEN
#1

Hi,

how can i edit things with the between command?

i try this, UPDATE t_npc SET a_attack_ = a_attack /2 BETWEEN 1 AND 2;

#2
hmm I think you want to edit values in a specific range? what are those 1 and 2 supposed to be?

#3

hmm I think you want to edit values in a specific range? what are those 1 and 2 supposed to be?

a_index

#4

It works like this :

 

SELECT * FROM t_npc WHERE a_index BETWEEN 1 AND 10;

#5


It works like this :

 

SELECT * FROM t_npc WHERE a_index BETWEEN 1 AND 10;

yes, but i want to edit the attack in the same sql.

#6
UPDATE t_npc SET a_attack_ = "something" WHERE a_index BETWEEN 1 AND 10;



Forum Jump:


Users browsing this thread: 1 Guest(s)