It's not possible to write external quieres as strings and execute them using LLBLGen. You can use either the LLBLGen predicate system, or LINQ (if you are using .NET 3.5)
Both of these query systems are covered in depth in the LLBLGen manual - please makes sure that you have read and understand this fully.