SyntaxFix
Write A Post
Hire A Developer
Questions
Maybe the following is what you are looking for:
SELECT name, pathfilename FROM table1 NATURAL JOIN table2 NATURAL JOIN table3 WHERE name = 'John';