Skip to content

Commit

Permalink
anon age
Browse files Browse the repository at this point in the history
  • Loading branch information
Eccenux committed Mar 19, 2020
1 parent 1bd0caa commit b05844b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .sql/_anon.sql
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ UPDATE profile
`ankieta_id`=make_letter_string(7*`id`+1234)
;

-- age tweak
UPDATE profile
SET
wiek=CASE
WHEN wiek <= 24 THEN 21
WHEN wiek <= 39 THEN 36
WHEN wiek <= 64 THEN 44
ELSE 67
END
;

/*
SELECT * FROM personal;
Expand Down

0 comments on commit b05844b

Please sign in to comment.