From http://codex.wordpress.org/Function_Reference/query_posts