For example, create two related tables:
create table tableA(id int identity primary key not null, columna2 varchar(10), columna3 varchar(10))
create table tableB(id int identity foreign key references tableA not null, columnaB varchar(10), columnaC varchar(10))
And then perform the join:
select *from tableA a inner join tableB b on a.id=b.id
How to avoid that the column id does not appear twice since they will have the same data assuming that the tables have many more columns and specifying column by column is not what you want.