An interviewer asked me this question,
You are given two tables with columns as L1,T1 for table1 while T,Name for table2. Write a SQL query to get the desired result.

I'm still stuck on how to write the query to get the desired output.
Used this, SELECT table1.L1, table2.Name FROM table1 INNER JOIN table2 on table1.T1 = table2.T; but this way it won't CONCAT the output for Name wrt L1.
Thanks for helping in advance.