Possible Duplicate:
Hidden Features of SQL Server
What are those pro/subtle techniques that SQL provides and not many know about which also cut code and improve performance?
eg: I have just learned how to use CASE statements inside aggregate functions and it totally changed my approach on things.
Are there others?
UPDATE: Basically any vendor. But PostgreSQL if you want to focus only on one :D