美文网首页
hive语句

hive语句

作者: queenieyin | 来源:发表于2017-02-09 15:52 被阅读0次

    like语句

    1、sql:

    select * from brrps_mart_org_map

    where part_date =20170208

    and branch03_name like '%北京%‘

    2、hive:

    select * from brrps_mart_org_map

    where part_date =20170208

    and branch03_name like concat('%','北京','%')

    相关文章

      网友评论

          本文标题:hive语句

          本文链接:https://www.haomeiwen.com/subject/zgtwittx.html