hi this might not be an sql question but here goes
the folowing sql groups all makes in the table and counts the total of each make
is there a way to get certain makes at the top of the recordset - these are vw and hyundai?
i dont want to put a special orderby column in the table
because this will be a regular update from another company who produces the table and would mean adding the order column every time the table is updated.
the folowing sql groups all makes in the table and counts the total of each make
Code:
SELECT count(stock.make) AS makecount, stock.make AS makeid, stock.make AS makequick
FROM stock
GROUP BY makeid
is there a way to get certain makes at the top of the recordset - these are vw and hyundai?
i dont want to put a special orderby column in the table
because this will be a regular update from another company who produces the table and would mean adding the order column every time the table is updated.