Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在运行查询
SELECT ART_REF FROM tablename WHERE SEMESTER_NUM=28
此查询以 8、-2、0 的形式返回正负和 0 结果。
我怎样才能返回负值(-8)?
我已经厌倦了使用 LIKE 运算符但没有成功。
干杯
试试这个方法:
SELECT ART_REF FROM tablename WHERE SEMESTER_NUM=28 AND ART_REF <0