If you want to create SQL statements directly in SQL, you use the SQL dialog.
The following options are available in the SQL dialog:

For information on the syntax and semantics of the SQL statements of the SAP DB database system, see the
Reference Manual: SAP DB.