select id,cat||chin_name||eng_name "id" from table where 1
你是这个意思吗

解决方案 »

  1.   

    select cat||chin_name||eng_name "id" from table where 1  不是不要骂我哈
      

  2.   

    $sql = "select cat+chin_name+eng_name as id,cat,chin_name,eng_name from table_name";
      

  3.   

    id 不能在数据库中设置自动生成!id 是唯一的
    比如在网页表单中填写如下数据
       id           cat   chin_name  eng_name
    AA红色red        AA     红色      red
      

  4.   


    $sql = "select cat+chin_name+eng_name as id,cat,chin_name,eng_name from table_name";
    这个语句行不通
    有错误
      

  5.   


    忘了
    用javascript语言