select * from table2 where firstid in (select id from table1 where name like '刘%')
如果上边的select可以的话,再如果查到2条信息,在asp中怎么让2条信息都显示出来?
2、在asp中,多表链接查询会很慢吗?
...全文
225打赏收藏
---【关于sql的简单问题】---
1、在asp中,能用嵌套的sql查询吗?请举例说明。(我以前试过,但没成功。) select * from table2 where firstid in (select id from table1 where name like '刘%') 如果上边的select可以的话,再如果查到2条信息,在asp中怎么让2条信息都显示出来? 2、在asp中,多表链接查询会很慢吗?