标签: c# asp.net ado.net
我从数据表中的sql获取数据,其中列名为userid,username和department。我想获取特定部门的另一个数据表中的行。 datatable
我附加了datatable。我只想要一个数据表,其中包含从第一个数据中获得部门“工程”的行
提前致谢
答案 0 :(得分:0)
Select userid,username,department where department ='Engineering';
你的意思是上述吗?