set linesize 120
set pagesize 0
set heading off
set term off
spool D:\demo20111123.txt
select a.item2, b.item3, a.item6 from table1 a
inner join table2 b on a.item1 = b.item1
where e.npnf in ('2009','2010') and a.clzt <> 0
;
spool off
上面为导多表多数据的SQL语句脚本
本文提供了一个SQL语句脚本,用于导出多表中的多数据,包括内联连接和条件筛选,适用于数据库操作的学习与实践。
1091

被折叠的 条评论
为什么被折叠?



