用C语言查询mysql某个表中(student)某个字段(age)相同的数据是否超过3个,如果超过3个就不插入相同的数据,如果没有超过三个就继续插入sprintf(query,"select * from student where age in (select age from student group by age having count(age) > 4)");
不知道对不对,也不知道返回值是什么 请各位高手指教一下,O(∩_∩)O谢谢!