select id,title,name from forum where father=0
建立一个记录集
获得rs("id")
select father,name as "姓名" from forum where father=rs("id")
然后列出id,title,name,father,姓名
...全文
323打赏收藏
帮忙些个sql语句
用一个sql查询实现以下功能: select id,title,name from forum where father=0 建立一个记录集 获得rs("id") select father,name as "姓名" from forum where father=rs("id") 然后列出id,title,name,father,姓名