mysql alphabetical order

前端 未结 8 1429
臣服心动
臣服心动 2021-02-04 05:34

i am trying to sort mysql data with alphabeticaly like

A | B | C | D

when i click on B this query runs

select name from user order by \

8条回答
  •  隐瞒了意图╮
    2021-02-04 06:07

    i want to show records only starting with b

    select name from user where name LIKE 'b%';
    

    i am trying to sort MySQL data alphabeticaly

    select name from user ORDER BY name;
    

    i am trying to sort MySQL data in reverse alphabetic order

    select name from user ORDER BY name desc;
    

提交回复
热议问题