我需要知道 sql 查询才能对数据库表中的数据进行降序排列
			
			2579 次
		
3 回答
            1        
        
		
你需要ORDER BY这个条款。DESC是降序而升序ASC,它可以省略,因为默认情况下它是按升序排序的。
SELECT *
FROM tableName
ORDER BY columnName DESC
    于 2012-10-12T04:29:27.547   回答
    
    
            1        
        
		
select   * 
from     tablename 
order by colname desc;
    于 2012-10-12T04:29:59.347   回答
    
    
            0        
        
		
SELECT *
FROM tableName(adc table)
ORDER BY columnName(example name) DESC 
    于 2012-10-16T09:26:16.990   回答