V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
sherlockwhite
V2EX  ›  问与答

求助, MySQL 如何合并查询数据

  •  
  •   sherlockwhite · 2020-01-07 13:47:07 +08:00 · 762 次点击
    这是一个创建于 1543 天前的主题,其中的信息可能已经有所发展或是发生改变。

    有编号为 901 和 901#的商品(varchar),这两个为同一种,如何把这两种合并起来查出数据。

    2 条回复    2020-01-07 14:48:55 +08:00
    renmu
        1
    renmu  
       2020-01-07 13:56:31 +08:00 via Android
    where id in ("901","901#")
    sherlockwhite
        2
    sherlockwhite  
    OP
       2020-01-07 14:48:55 +08:00
    @renmu 实际情况不止 901 一种,我们已经找到解决方法了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2942 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 14:01 · PVG 22:01 · LAX 07:01 · JFK 10:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.