SQL Fiddle
Настройка схемы MS SQL Server 2017 :
create table Table1(num int,name varchar(max))
create table Table2(dates date)
insert into Table1(num,name)values(1,'aaa')
insert into Table1(num,name)values(2,'bbb')
insert into Table1(num,name)values(3,'ccc')
insert into Table2(dates)values('2019-01-01')
insert into Table2(dates)values('2019-02-02')
Запрос 1 :
SELECT num,name,dates
FROM Table1
CROSS APPLY Table2
Результаты :
| num | name | dates |
|-----|------|------------|
| 1 | aaa | 2019-01-01 |
| 2 | bbb | 2019-01-01 |
| 3 | ccc | 2019-01-01 |
| 1 | aaa | 2019-02-02 |
| 2 | bbb | 2019-02-02 |
| 3 | ccc | 2019-02-02 |