I do not believe that you are then possible in standard SQL or MySQL (well, not directly on the table, but see below for a possible solution).
There is no way to perform general column processing on sr.* , You will have to do the columns individually, for example:
select sr.column1, sr.column2, coalesce (sr.column3, 0), sr.column4, cs.subjectid ...
One possibility, albeit a bit ragged, is to provide a view over the actual table, where each view column is similarly named, but defined as coalesce in the equivalent column of the table. By this, I mean something like:
create view sometableview (column1, column2, column3, column4) as select column1, column2, coalesce (column3, 0), column4 from sometable; select srv.*, cs.subjectid, ... : from sometableview srv, otherTable cs where ...
This will not do it faster, but it will simplify your request, which seems to be what you need. Iβm not quite sure why this is a requirement, since requests are usually set once and rarely change, so itβs unusual to worry about your length. But I'm going to suggest that you have a good reason for demanding until it says otherwise :-)