Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> SQL >> Snippet

UNION


use OF UNION - meets 2 queries less duplicates:
SELECT NAME   FROM customers   UNION   SELECT NAME FROM friends