From b05844b3ad1fb7cecbbc097aa8a88c970527d194 Mon Sep 17 00:00:00 2001 From: Eccenux Date: Thu, 19 Mar 2020 12:39:14 +0100 Subject: [PATCH] anon age --- .sql/_anon.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.sql/_anon.sql b/.sql/_anon.sql index f01e8b6..7a9680e 100644 --- a/.sql/_anon.sql +++ b/.sql/_anon.sql @@ -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;