Subquery inside FROM table VS JOIN

Just an example for the same solution and results: