央视足球记者刘思远:asp 查询问题

来源:百度文库 编辑:高考问答 时间:2024/05/08 15:42:49
统计数据表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~!!!