解释:此处查询id不在pid出现,以/qwe开头,userId为15的数据。子查询加上where是为了加快查询效率。
SELECT * from file where filePath like concat( "/qwe", '%') and userId =15 and id NOT IN(SELECT pid from file where filePath like concat( "/qwe", '%') and userId =15)
解释:此处查询id不在pid出现,以/qwe开头,userId为15的数据。子查询加上where是为了加快查询效率。
SELECT * from file where filePath like concat( "/qwe", '%') and userId =15 and id NOT IN(SELECT pid from file where filePath like concat( "/qwe", '%') and userId =15)
sql
1.路由Destination/Mask Proto Pre Cost 协议 优先级&nbs
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M