- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
String q = "SELECT login, accessLevel FROM accounts ";
if (m.equals("1"))
q = q.concat("WHERE accessLevel<0");
else if (m.equals("2"))
q = q.concat("WHERE accessLevel>0");
else if (m.equals("3"))
q = q.concat("WHERE accessLevel=0");
q = q.concat(" ORDER BY login ASC");
Мистер Хэнки 31.05.2010 18:10 # 0
guest 31.05.2010 18:28 # 0
This is obvious 31.05.2010 18:29 # 0
This is obvious 31.05.2010 18:42 # 0
Lure Of Chaos 31.05.2010 19:03 # 0
Stalker 31.05.2010 20:49 # 0
This is obvious 31.05.2010 22:11 # 0
Lure Of Chaos 31.05.2010 23:16 # 0
guest 31.05.2010 21:49 # 0
guest 31.05.2010 22:28 # +3
guest 31.05.2010 22:30 # 0
guest 31.05.2010 22:35 # −2
guest 31.05.2010 22:42 # +2
guest 31.05.2010 22:44 # 0
Oleg_quadro_ 01.06.2010 13:46 # 0