SQL

| | No TrackBacks
EXISTS/NOT EXISTS
UNION (discards duplicates)/UNION ALL (preserves duplicates)
Normalization rules
Subquery vs. correlated query - correlated subqueries are performed once for every row in outer query

COUNT(*) includes NULLs
COUNT(DISTINCT) ignores NULLs
JOINS: INNER, LEFT OUTER, RIGHT OUTER, FULL (both LEFT and RIGHT OUTER)
SELECTing NULL columns: NULL is concatenated with any string it results in NULL
VIEW cannot have an ORDER BY clause

No TrackBacks

TrackBack URL: http://www.iwebthereforeiam.com/cgi-bin/mt/mt-tb.cgi/24

Leave a comment

Verification (needed to reduce spam):

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.32-en

About this Entry

This page contains a single entry by Hugh Brown published on March 25, 2008 4:45 AM.

Free software was the previous entry in this blog.

UniqueChars class is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.