( - . )
JNK , . .
, bp, . , - bp. .
, .
, .
, , 90, - 140.
. , , , , , bp.
select dia.patient as patient
, dia.rdate as bp_date
, min(dia.rvalue) as dia_bp
, min(sys.rvalue) as sys_bp
from results dia
, results sys
where dia.patient = sys.patient
and dia.rdate = sys.rdate
and dia.rtype = 'diastolic'
and sys.rtype = 'systolic'
group by dia.patient
, dia.rdate
having min(dia.rvalue) < 90
and min(sys.rvalue) < 140
and dia.rdate =
( select max(lst.rdate)
from results lst
where lst.patient = dia.patient
and lst.rtype in ( 'diastolic'
, 'systolic' ) )
bp, . , bp , , bp. .