Y ysai Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-14 #2 select * from tab order by 字段
Q quiben Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-15 #3 select * from TableName order by FiledName Desc; 以降序来查询数据;
B Bruce Yu Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-15 #4 sql.add('.............'); sql.add('order by 字段');
王 王公子 Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-15 #5 在前台 adoquery1.sort:='field' //sql select * from TableName order by order by 1
L luojf999 Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-15 #6 select * from table order by 字段1,字段2
G goodkiller Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-16 #7 select * from tablename order by fieldname Desc//是按某个字段降序排 默认升序
L Lee.JH Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-16 #8 三层吗? 在ClientDateSet 的 indexdef 定义你要的所有排序,在 indexfieldnames 或 indexname 中就可动态指定排序次序了。