Show all abnormal lab results with patient and visit details. Return the test_name, result_value, unit, patient first_name and last_name, visit_date, and diagnosis for abnormal results (is_abnormal = 1).
Schema
🔑idINT
first_nameTEXT
last_nameTEXT
date_of_birthTEXT
genderTEXT
emailTEXT
phoneTEXTNULL
blood_typeTEXT
cityTEXT
stateTEXT
🔗insurance_idINTNULL
created_atTIMESTAMP
postgresql
Run your query to see results
Press Ctrl + Enter to execute