zhangshaohan
V2EX  ›  数据库

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

  •  
  •   zhangshaohan · Dec 11, 2019 · 2266 views
    This topic created in 2365 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
        1
    065535  
       Dec 20, 2019
    查阅 distinct 函数
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5521 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 07:57 · PVG 15:57 · LAX 00:57 · JFK 03:57
    ♥ Do have faith in what you're doing.