I have a query which works fine in MySQL, but when I run it on Oracle I get the following error: SQL Error: ORA-00933: SQL command not properly ended...
  • May 12, 2022
  • 0 Comments
I’m trying to join 3 tables in a view; here is the situation: I have a table that contains information of students who are applying to live on this...
  • May 10, 2022
  • 0 Comments
For simplicity, assume all relevant fields are NOT NULL. You can do: SELECT table1.this, table2.that, table2.somethingelse FROM table1, table2 WHERE table1.foreignkey = table2.primarykey AND (some other conditions) Or else:...
  • April 15, 2022
  • 0 Comments
Both these joins will give me the same results: SELECT * FROM table JOIN otherTable ON table.ID = otherTable.FK vs SELECT * FROM table INNER JOIN otherTable ON table.ID...
  • April 13, 2022
  • 0 Comments