i just can see the SQL query at \"Database\"->\"Show SQL Query\". How do I edit it in Crystal Report?
Firstly I think you need to provide what version of CR you are using.
Secondly, to the best of my knowledge in Version CR13 using VS2010, you CANNOT hand edit SQL query like it we could in older version of CR.
Only way to change it is to update the links/joins on the tables in the Database Expert and Verify Database. These joins will then reflect when you click "Show SQL query".
Thirdly, there is a way you can control the query yourself, using "SQL Command". The steps to do this is mentioned in the other solution.