1.2

来源:互联网 发布:英文搜题软件 编辑:程序博客网 时间:2024/06/11 08:24

不符合规范:

    select column1, column2, column3

    into i_l_variable1, i_l_variable2, i_l_variable3

    from t_tablename

    where column4 = value

    order by column2;

符合规范:

    select column1, column2, column3

      into i_l_variable1, i_l_variable2, i_l_variable3

      from t_tablename

     where column4 = value

     order by column2;

说明: order by、group by等具有两个关键的子句,只需要第一个关键字(order、group)和其他关键字右对齐即可。

0 0
原创粉丝点击