In the following sql statement (using pgAdmin 4): field_1 comes from table_1 field_2 comes from table_2 Why do I need to place field_1 in quotes, but not field_1? Is there a better way to write this query?
SELECT "field_1", field_2 FROM table_1
INNER JOIN table_2 ON "field_1" = table_2.id
ORDER BY field_2