Guest_imported
New member
- Jan 1, 1970
- 0
Hello,<br><br> can anyone tell me how I can sort the return values from an SQL query based on columns which are not included in the group by clause?<br><br>eg. select max(sales) from customers group by country order by name; (this statement gives me an error saying that the name column is not a group by expression)<br><br><br>Kean Fui<br><A HREF="mailto:lookf@novasprint.com">lookf@novasprint.com</A>