dotConnect for Salesforce can translate a subset of SQL-92 SELECT statements to SOQL for remote execution. As remote execution provides much higher performance than local one, it makes sense to use SELECT statements that are translatable to SOQL.
The following syntax diagrams demonstrate the syntax of SELECT statements that can be converted to SOQL and executed remotely:
column:
result-column:
table:
join:
To be translatable, SELECT statement must meet the following requirements:
The FROM clause must contain only one table or joined tables. JOIN can be translated only if all of the following conditions are met:
Two kinds of JOINs can be translated to SOQL: LEFT JOIN (or LEFT OUTER JOIN) and INNER JOIN. INNER JOIN can be used several times to connect more than two tables. However if you use LEFT JOIN, it should be the only JOIN in the statement.