How to create query to get top 3 sticky/latest posts

If you’re familiar with ZF you might be looking for models and layouts, both which you need to manually code with WordPress.

But if you do so, you’ve got full possibilities.

So feel free to create multiple template files and load them when it’s needed (e.g by hooking into template redirect or get_template_part) and then just query what you feel you need for (with WPDB you can fire up any SQL query you need the blog’s MySQL server credentials for).