php操作MYSQL 陳述式條件是越多越好還是越少越好呢
問一下
假如現在想update一下
sql1="update table set aa=aa where id=1";
sql2="update table set aa=aa where id=1 and classid=12 and infoid=1";
delete:
sql1="delete from table where id=1";
sql2="delete from table where id=1 and classid=12 and infoid=1";