Consider the following two queries in Hive:
SELECT * FROM A INNER JOIN B INNER JOIN C ON A.COL = B.COL AND A.COL = C.COL