⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 10g_union.sql

📁 OReilly Oracle PL SQL Programming第4版源代码
💻 SQL
字号:
DECLARE 
   our_authors strings_nt := strings_nt();
BEGIN
    our_authors := authors_pkg.steven_authors 
                   MULTISET UNION authors_pkg.veva_authors;

    authors_pkg.show_authors ('MINE then VEVA', our_authors);
    
    our_authors := authors_pkg.veva_authors 
                   MULTISET UNION authors_pkg.steven_authors;

    authors_pkg.show_authors ('VEVA then MINE', our_authors);
    
    our_authors := authors_pkg.steven_authors 
                   MULTISET UNION DISTINCT authors_pkg.veva_authors;

    authors_pkg.show_authors ('MINE then VEVA with DISTINCT', our_authors);
    
    our_authors := authors_pkg.steven_authors
                   MULTISET INTERSECT authors_pkg.veva_authors;

    authors_pkg.show_authors ('IN COMMON', our_authors);    
    
    our_authors := authors_pkg.veva_authors 
                   MULTISET EXCEPT authors_pkg.steven_authors;

    authors_pkg.show_authors (q'[ONLY VEVA'S]', our_authors);       
END;
/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -