You are using INNER JOIN , so the answer is NO .
This will result in exactly the same amount of data due to the type of connection, and you join the same relationships in both queries, so they are basically identical.
It would be different if you used LEFT JOIN , because all data from the main (left) table and all the corresponding data from the details of the table (right) are stored in the left join.
So, if you used a left join and placed a large table on the left side, then the query will produce more data and will probably be slower than putting the large table in the right direction.
source share