-- Fail when ISOK_RESULTS.First_Seen is after Last_Seen

UPDATE isok_results
  SET first_seen = last_seen + '1 day'::interval
  WHERE iqname = 'query1';
