V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
WayToGo
V2EX  ›  问与答

[求解] XAMPP 环境,同样一句 SQL 语句,命令行下可执行,在 phpMyAdmin 里为什么就报错呢?

  •  1
     
  •   WayToGo · Dec 20, 2015 · 2806 views
    This topic created in 3781 days ago, the information mentioned may be changed or developed.

    SQL 语句:
    SELECT DISTINCT * FROM fsl AS f WHERE NOT EXISTS(SELECT * FROM usr WHERE usr.usrid = f.fsluid);

    phpMyAdmin(v5.6.14)错误信息如下:
    Unrecognized keyword. (near "NOT" at position 39)
    Unrecognized keyword. (near "EXISTS" at position 43)
    Unexpected token. (near "(" at position 49)

    1 replies    2015-12-24 10:51:21 +08:00
    WayToGo
        1
    WayToGo  
    OP
       Dec 24, 2015
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5666 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 08:32 · PVG 16:32 · LAX 01:32 · JFK 04:32
    ♥ Do have faith in what you're doing.