In this example, the Account and Password classes have been included in the view. The Account class has a password property.
The SQL statements in the following example access account number 12345.
SELECT * FROM Account, Password WHERE Account.password = Password.oid AND Account.code = '12345'