Strangely enough, select *,colname from tbname;
works just fine, whereas select colname,* from tbname;
fails! So if you would like to see all columns, but have one or more of them displayed to the left of the set, you have only one way left to do it ‘comfortably’:
select colname,tbname.* from tbname;
well two really but this is really the same
select colname,tb.* from tbname tb;
Because Sharing is Caring
PlanetMySQL Voting: Vote UP / Vote DOWN