<%
__header("Content-Type","text/html; charset=gb2312");
db_Open("/NandFlash/tmp/dbDat0.db3");
var sql="select d.*,s.Name,s.Tag1,s.KName,s.TName,s.SerType,s.SerDef,s.SerAddr,b.Brief from tbSubSysDetail d left join tbSM s on s.SID=d.SID left join tbSMBrief b on b.SID=d.SID where SubSys="+subsys;
db_QryAdv(sql);
db_Close();
%>