联接查询比子查询简单
一个查询语句,一个条件
比如:select * from table,table1 where table1.id=table.id and table.name='表中要查的姓名'
子查询是嵌套查询吧
例如:select * from table1,table where table1.id=table.id and table.name=(select name from table1 where id=1)
这是我的理解,(select name from table1 where id=1)是一个子查询,可以查询出一个值来...
希望对你有所帮助,描述的不是很清楚,不知道你看的懂不..xiexie