Slide 17
Slide 17 text
Data matching
Data matching
●
Creatures like that have risen
BEGIN
FOR t IN SELECT
imie,
nazwisko,
ulica,
sign,
id
FROM match.matched
LOOP
INSERT INTO aa.matched (
id_klienta, id_kontaktu, imie, nazwisko, pesel,
id, sign, condition)
SELECT
id_klienta,
id_kontaktu,
imie,
nazwisko,
pesel,
id,
t.sign,
56
FROM match.klienci_test m
WHERE m.nazwisko = t.nazwisko AND m.imie = t.imie AND m.ulica = t.ulica;
END LOOP;
END;