sql中查询的字段是关键字的在字段上加`就是Esc键下面的键把字段引起来
select * from tb_inpark where inOut = 1; X
应为
select * from tb_inpark where `inOut` = 1 ; √
sql中查询的字段是关键字的在字段上加`就是Esc键下面的键把字段引起来
select * from tb_inpark where inOut = 1; X
应为
select * from tb_inpark where `inOut` = 1 ; √