I have to tables
Customer
CustomerID   Name        Surname
---------------------------------
  1          Adam        Test
  2          Robert      Test2
  3          John        Test3
CustomerAddress
CustomerAddressId  CustomerId     AddressId
-------------------------------------------
1                  1              1
2                  1              2
3                  1              3
4                  2              6
5                  2              7
6                  2              8
I want to select CustomerId from these two tables. 
I wrote this query but it multiplies my records.