Suppose my table looks something like:
Col1 Col2 Col3.....Col20 Col21
Now I want to select all but Col21. I want to change it to unix_timestamp
In case you want to drop multiple columns on which you are joining
select tb1.*, tb2.`(col1|col2)?+.+` from tb1 left join tb2 on tb1.col1 = tb2.col1 and tb1.col2 = tb2.col2