
these two result in two temparay tables. Month & Year table i want join these and get result given format
2022 january1
2022 august 1
2023 january 1
2023 august 1
in select query

these two result in two temparay tables. Month & Year table i want join these and get result given format
2022 january1
2022 august 1
2023 january 1
2023 august 1
in select query
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Nov 28, 2022, 3:49 AM EST
Use cross join
Jignesh KumarRank #91 · 22.9K reputationPosted Nov 28, 2022, 3:51 AM EST
Hello Lejo,
You can use Cross Join to get this recods in select query,
select Years,MonthDay from Years Cross join Months order by Years