有关nhibernate的查询问题?好心人进来解答下,谢谢!
create table sss
(
id int primary key,
name varchar(20)
)
create table bbb
(
id int,
sssId int references sss(id)
)
select name from bbb where id=(select id from ss where id=1)
这个查询语句如何写呀?
create table sss
(
id int primary key,
name varchar(20)
)
create table bbb
(
id int,
sssId int references sss(id)
)
select name from bbb where id=(select id from ss where id=1)
这个查询语句如何写呀?