Some of my demo SOQL, Apex and Visualforce code which I use at various Force.com Workshops.