宾得da18135wr:asp 查询问题

来源:百度文库 编辑:中科新闻网 时间:2024/04/27 01:57:03
统计数据表title中id等于数据表ry_content的rycontent_id的个数的查询语句怎么写呀????????
查询出来后,要在显示的地方把这个统计的id个数显示出来,怎么写呀???

select count(*) from title where id in (select rycontent_id from ry_content)

select count(*) from title where id in (select rycontent_id from ry_content)

OK~!!!