I thought that you needed to list the tables that you would be working with in a FROM clause as in:
SELECT * FROM a, b WHERE a.id = b.id
I am learning about joins and saw the following:
SELECT a.account_id, a.cust_id, a.open_date, a.product_cd
FROM account a INNER JOIN employee e
    ON a.open_emp_id = e.emp_id
        INNER JOIN branch b
        ON e.assigned_branch_id = b.branch_id
        WHERE e.start_date < '2007-01-01'
        AND (e.title = 'Teller' OR e.title = 'Head Teller')
        AND b.name = 'Woburn Branch';
Only two tables are listed here in the FROM clause as follows:
FROM account a INNER JOIN employee e
Yet another table is listed in another join clause that is outside the FROM clause as follows:
INNER JOIN branch b
My first thought was that an invalid syntax error would be thrown because the branch table was not listed in the FROM clause, but I was wrong.
What are the rules when listing the tables you will be extracting data from. Any links to official docs would greatly help.
 
     
     
    