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