How do you get the SQL created by the Query Builder into an application?