Creating tables using SQL
You can create new tables in a data module that are based on a custom SQL syntax. The SQL is executed against a source that is already in the data module.
If the SQL validation is successful, the table is populated with a set of projected column names and rows of data.
The supported types of SQL include Cognos SQL, native SQL, and pass-through SQL. For more information, see Supported SQL types.
Procedure
Results
The table name appears at the top of the data module tree. To edit the table SQL, from the table context menu, click Edit SQL table. You can also edit a column expression in an SQL-based table. However, subsequent updates to the original SQL statement might overwrite the updated expression.
What to do next
You can use and model SQL-based tables in the same way as other data module tables. For example, you can create relationships between this type of tables and other tables. You can also create calculations and navigation paths that include columns from these tables.