The SQL Editor allows to write Select statements. For this, all tables or querys, bound to the project, can be used in the statement.
Database fields can be combined with other database fields or with strings by the & character.
Example:
Select ID & ' , ' & STATE AS STATEID from ADDRESS