如何写一个返回回来的id集合来查找另一个表的数据?_百度知道
最佳答案: select * from b where bid in (select aid from a where aid=i) 是这样么? 还是 select * from a inner join b on aid=i and aid=bid更多关于如何通过id返回详细的搜索结果?的问题>>
用SQL语句搜索ID,返回姓名,写公共类_百度知道
最佳答案: public string IDtoName(string ID) { SqlConnection con=this.getcon(); string sql="select name from table where id='"+ID+"'"; ...更多关于如何通过id返回详细的搜索结果?的问题>>