Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这样的事情:
Select id , name from table1 (how to orderby alphabetical from the name(column))
选择的结果应该是:1.Alex 2.Bob 3.Charlie
用这个:-
Select id , name from table1 ORDER BY NAME
默认情况下,顺序是升序。如果要按降序获取名称,请使用:-
ORDER BY NAME DESC