sherlockwhite
0.01D
V2EX  ›  问与答

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

  •  
  •   sherlockwhite · Jan 7, 2020 · 1446 views
    This topic created in 2492 days ago, the information mentioned may be changed or developed.

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

    2 replies  •  2020-01-07 14:48:55 +08:00
    renmu
    renmu
    Jan 7, 2020 via Android
    1
    where id in ("901","901#")
    sherlockwhite
    sherlockwhite
    OP
    Jan 7, 2020
    2
    @renmu 实际情况不止 901 一种,我们已经找到解决方法了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2987 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 11:56 · PVG 19:56 · LAX 03:56 · JFK 06:56
    ♥ Do have faith in what you're doing.