I need to return default value in Select statement when WHERE clause is not met. So basically, this query returns valid guid:
SELECT COALESCE(w.guid , gen_random_