Given the following join in Oracle Pl/SQL:
select a.field1, b.field1, b.field2
from table_a a, table_b b
where a.field2 = b.field3;
When executed this code in MySQL, it takes a really long time to do the task while in Pl/SQL it takes no time. The tables are the same in the two environments. No fields are indexed.
Is there a difference between the joins in the two dialects? What would be the correct translation of this in standard SQL?
JOIN, this approach is more slower asJOINyou can useselect a.field1, b.field1, b.field2 from table_a a inner join table_b b where a.field2 = b.field3