mysql 一个字段多个别名以及字符串截取函数substring,left,right

  1. SELECT orderId id1,orderId id2 FROM `order` where orderId='888';

    输出:id1 888;id288;

  2. substring,left,right,substring_index



参考:

http://www.jb51.net/article/27458.htm

你可能感兴趣的:(mysql,substring,left,right,别名)