Time for action – exploring the sample database
Let's explore the sample database:
Open the transformation you just created.
Right-click on the connection in the Database connections list and select Explore in the contextual menu. The database explorer shows up.
Expand the Tables node of the tree. This is how the explorer looks:
Right-click on the
CUSTOMERS
table and select View SQL. The following SQL editor window appears:Modify the text in there so you have this:
SELECT CUSTOMERNUMBER , CUSTOMERNAME , CITY , COUNTRY FROM CUSTOMERS
Click on Execute. You will see this result:
Close the Preview window—the one that tells the result of the execution - as well as the Results of the SQL statements window—the window that tells us the SQL statements are executed. Finally, close the SQL editor window.
Click on OK to close the database explorer window.
What just happened?
You explored the Pentaho Sample database with the PDI Database Explorer.
A brief word about SQL
Before explaining the details of the...