Ultimate SQL Template, Class, and Example