This question already has an answer here:
I am creating a drow ranger. They're at 3rd level, and it's my first time playing.
Their attack score is proficiency + ability + other bonuses.
They have Drow weapon training which includes shortswords, rapiers, and hand crossbows. My ranger class gives me simple & martial weapons training.