You define the join by building an association into the entity definition itself.
Help documentation:
Associations:
Create an Association in CDS - SAP HANA Developer Guide for SAP HANA Studio - SAP Library
Views:
Create a View in CDS - SAP HANA Developer Guide for SAP HANA Studio - SAP Library