Create the type of join in SQL