1、这是整个表内容:
-----------------------------------------------------------
2、select * from host where id='1' and '1'='1' 和 select * from host where id='1' and '1'='2'
---------
----------------------------------------------------------------------------------------
3、select * from host where id='1' or '1'='1' 和 select * from host where id='1' or '1'='2'
ps:因为没有id=5 且1=2为False,所以为空
----------------------------------------------------------------------------
ps:虽然没有id=5,但是1=1为True,所有全部显示了,这时id参数有没有都无所谓
----------------------------------------------------------------------------