As turk pointed out, the method depends upon your version of Crystal.
In CR 8.X, you can modify the Database->Show SQL Query, in later versions use the Add Command object to create your own query from scratch.
You'd be best served to create the query on the database side as a View (or Query in Access).
In the future, please post technical information.
-k