Settings | Sign in | Sign up

There is currently 1 post.

sql语句同表查询

Floor 1 巨大八爪鱼 12/4/10 15:44
select 编号,所属主题帖 from 帖子 as sout where 编号=5 and ((select 允许搜索 from 帖子 as newt where newt.编号=sout.所属主题帖)=1 or sout.所属主题帖=0)

Content converter:

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.