mysql 游标查询到的结果数为0

版权声明:此文章为许诗宇所写,如需转载,请写下转载文章的地址 https://blog.csdn.net/xushiyu1996818/article/details/83269702

主要是因为表没有加别名
如果要加条件的话,在表名后面加个别名
FROM his b
where b.date=1;

猜你喜欢

转载自blog.csdn.net/xushiyu1996818/article/details/83269702