输入banner图图片脚本导航/分类

medoo怎么在column参数中使用sql函数?

SELECT COUNT(distinct(uid)) FROM nazou.items_want 

有时候需要像上面那条那样,查一下某个表里有哪些uid,使用medoocount方法,怎么做到上面那条语句那样的功能?

回复内容:

SELECT COUNT(distinct(uid)) FROM nazou.items_want 

有时候需要像上面那条那样,查一下某个表里有哪些uid,使用medoocount方法,怎么做到上面那条语句那样的功能?