Home > Backend Development > PHP Tutorial > 这个MYSQL语句什么意思啊 大神们,该怎么解决

这个MYSQL语句什么意思啊 大神们,该怎么解决

WBOY
Release: 2016-06-13 10:15:41
Original
729 people have browsed it

这个MYSQL语句什么意思啊 大神们
select user,classid,(select `path` from userclass where userclass.id=users.classid) `path` from users where url like '%" . $a['host'] . "%'"


------解决方案--------------------
综合使用该SQL语句的页面才能知道。
取 users表的 user, classid列,并且该行的url列中必须包含了$a['host']。
以及userclass表的path列值,该行的id必须等于上面被选取行的classid。

这么解释真的我都不明白是什么意思,花点时间看看上下文代码和页面功能你才会明白

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template