zhangshaohan
V2EX  ›  数据库

关于数据库码表查值的问题

  •  
  •   zhangshaohan · Dec 11, 2019 · 2687 views
    This topic created in 2544 days ago, the information mentioned may be changed or developed.

    有个很大的码表,已知某个码值只有'00','01','02',找到这个码值对应的类别呢?

    表结构大致如下

    kind(类别) code(码值) detail(码值对应的描述)

    1 replies  •  2019-12-20 11:08:44 +08:00
    065535
    065535
    Dec 20, 2019
    1
    查阅 distinct 函数
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1213 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:40 · PVG 01:40 · LAX 09:40 · JFK 12:40
    ♥ Do have faith in what you're doing.