I am currently getting up to speed with the Microsoft CRM 4.0 SDK and I came across this tool written by a guy called James Downey. I don’t James but this is a great tool which allows you to easily generate FetchSQL statements. http://www.jamesdowney.net/