Today in interview, I was asked, if I can write a single query to copy data from 3 tables to an empty table.
I started saying, I will use temp table or table variables but he said no, he wants to see in a single statement or query…. I was blank 🙁
Do any of you can share the right answer please 🙂
provided all the table have the same structure