mysql存储过程,急!! 我想对赋值,但是赋值为1,而不是实际的值。
语句如下SELECTCOUNT(0)INTOcntFROM(SELECTDISTINCTid,property_idFROMcollect)a;谢谢各位!...
语句如下
SELECT COUNT(0) INTO cnt FROM (SELECT DISTINCT id,property_id FROM collect) a;
谢谢各位! 展开
SELECT COUNT(0) INTO cnt FROM (SELECT DISTINCT id,property_id FROM collect) a;
谢谢各位! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询