I need to make a MySQL query where I don't want to select a column named description. Is there an easy way to specifically say to NOT select the column.
Example: I want to SELECT all but the description column. Can this be done or I have to write each one I need to pick instead?
id| Serverid | date_added | description ...
1 yes 12.03.09 bad engine
3 yes 12.04.09 ok engine
2 no 12.05.09 ok engine
4 yes 12.06.09 bad engine
$cars = lib::$db->GetAll("SELECT SQL_CALC_FOUND_ROWS
c.*,
FROM cars AS c
ORDER c.date_added DESC
LIMIT 10);