Hey, i have a query such as:
SELECT * FROM cars WHERE carmake="FORD"
Now, one of the columns i'm selecting, i need to run a DATE_FORMAT on it. Now i could write the query such as:
SELECT carmake, carmodel, DATE_FORMAT(carcreation, '%d/%m/%Y'), carcolour ......... FROM cars WHERE carmake="FORD"
The trouble is i've got like 30 columns i'm selecting so writing out every column name like in the second query would be very tedious. Is there a way to select all data using '*' but then format certain columns??
Would i be able to do it the same query or would i require a second query to format the required columns?
Thanks, BIOSTALL