You want to use
Tables==>Join
If you run the Join interactively, you can open the "Source" entry in the data table that is created from the Join, and it will contain the JSL that was used for the Join.
I entered your two sample data tables into my version of JMP. They were named Untitled 230 and Untitled 231. Below is the JSL from the "Source" property in the Joined table
Data Table( "Untitled 231" ) << Join(
With( Data Table( "Untitled 230" ) ),
By Matching Columns( :product_ID = :product_ID, :week_ID = :week_ID ),
Drop multiples( 0, 0 ),
Include Nonmatches( 1, 1 ),
Preserve main table order( 1 )
)
Jim