Forum Discussion

NetMare's avatar
NetMare
Frequent Visitor
3 years ago
Solved

New table with combining two columns from different tables and list every combination

Hi gents,

 

I have a date table (lets say 01st Jan 2023 to 31st Jan 2023) and a table with 3 names.

 

Date Table:

01.01.2023

02.01.2023

...

31.01.2023

 

Name Table:

John

Bob

Alice

 

Do you guys can give me a hint how to combine these two tables in two columns (date; name) to habe every date for every single name listed?

 

Wanted solution:

date                     name

01.01.2023           John

01.01.2023           Bob

01.01.2023           Alice

02.01.2023           John

02.01.2023           Bob

02.01.2023           Alice

....

31.01.2023           John

31.01.2023           Bob

31.01.2023           Alice

 

Hope you guys know what I mean 😉

 

Any help would be appreciated.

 

Regards

Gerd

1 Reply

  • NetMare's avatar
    NetMare
    Frequent Visitor

    Got it: crossjoin was the missing syntax 😉