I would rather not have to list all columns in tableA The '*' works for one table, but I don't want to get back all columns in tableB from JOIN. Reason being, these records are being deleted, and I want to store data from tableA (only) as serialized xml for period of time.
select tableA.*, tableB.col1, tableB.col2, ...
It is a poor practice to ever use select * or select table1.*. It is bad for maintenance and performance both. You should never do that in production code.
Just use the column names that you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With