I want to join three tables (with many columns each). From the first table I need all columns. From the second and third table I only need a few columns each.
How can I join the three tables without having to type out all needed column names in my select statement?
I understand that I will type out the needed column names for the 2nd and 3rd table. However, for the first table I would like to use select *.
select *often leads to future issues.select t1.*, t2.col1, t2.col2 etc