where [id] = array(*neq*,5); where[*age*] = array(*egt*, 20);這個變成SQL就是 where id != 5 and age >= 20;但我現(xiàn)在要更復(fù)雜的SQL語句: where (id != 5 and age > 20 ) or (id > 15 and age < 18 ) ;THINKPHP 應(yīng)該怎寫?
- 1 回答
- 0 關(guān)注
- 677 瀏覽
添加回答
舉報
0/150
提交
取消