2 ms·
the last OR statement "OR 102" will evaluate true. It should be UPDATE permissions SET allow = 1 WHERE user=671156 AND permission=16 AND org=101 OR org=10
by brianwu02 7y ago
the last OR statement "OR 102" will evaluate true.
It should be
UPDATE permissions SET allow = 1 WHERE user=671156 AND permission=16 AND org=101 OR org=102;