create table tab1( 
id int primary key identity,
name varchar(16) not null
)
create table tab2(
s_id int primary key identity,
condent varchar(100) not null,
tab_id int foreign key references tab1(id)
)假如tab2 有N(100-1000)条数据
tab1有10条数据写个查询语句,
select name,s_id,condent from ....
上面都字段必须要查出来,
查询出10条数据,根据表1的id排序不知道问题表达清楚没,
请大家帮我看看这个查询语句如何写啊?SQLselect查询语句连接查询