INNER JOIN ON vs WHERE cláusula
Para simplificar, suponga que todos los campos relevantes NOT NULL . Tu puedes hacer: SELECT table1.this, table2.that, table2.somethingelse FROM table1, table2 WHERE table1.foreignkey = table2.primarykey AND (some other conditions) Si no: SELECT table1.this, table2.that, table2.somethingelse FROM table1 INNER JOIN table2 ON table1.foreignkey = table2.primarykey WHERE (some other conditions) ¿Estos dos funcionan de la misma manera […]