79419815

Date: 2025-02-07 02:07:54
Score: 1
Natty:
Report link

Just use NULLIF:

SELECT
    id,
    SUBSTRING_INDEX(NULLIF(SUBSTRING_INDEX(field, 'QF=', -1), field), 'RF=', 1) AS gscore
FROM tablename
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: gzzz