You are welcome.
The INNER JOIN keyword selects all rows from both tables as long as there is a match between the columns in both tables.
FROM OPOR T0 INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry inner JOIN OSHP T2 ON T0.TrnspCode = T2.TrnspCode
The LEFT JOIN keyword returns all rows from the left table (table1), with the matching rows in the right table (table2). The result is NULL in the right side when there is no match.
FROM OPOR T0 INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry inner JOIN OSHP T2 ON T0.TrnspCode = T2.TrnspCode
here table 1 - OPOR table 2- OSHP
To get more knowledge in SQL queries, please refer and buy Mr.Gordon Du book a
http://www.amazon.com/Mastering-SQL-Queries-SAP-Business/dp/1849682364.