Yes, this query would produce the result in your example (have you tried?)
The query is an inner join. If there is a row in
Table1 without matching row in
Table2, such a row won't appear in the output. If you would want to include such rows from
Table1 in the query, you'd need to use an outer join.
I'd also suggest using ANSI syntax for joins. It works the same as Oracle's syntax, but is perhaps easier to read (especially in case of outer joins) and is portable to other databases, so it makes more sense to learn using it. If you're unsure about joins in SQL, I'd suggest trying to find an
SQL tutorial.