Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Incident Reports » Incident Reports Reported for Version 2.01 » View Incident Report |
Serious |
Reported By: Tim Young Reported On: 9/12/2008 For: Version 2.01 Build 5 |
CREATE TABLE Client ( ClientID INTEGER, ClientName VARCHAR(30), DateOfBirth DATE, Gender CHAR(1) ) CREATE TABLE Glucose ( ClientID INTEGER, GlucoseDate DATE, GlucoseValue INTEGER ) CREATE TABLE BP ( ClientID INTEGER, BPDate DATE, SystolicBP INTEGER, DiastolicBP INTEGER ) SELECT ClientID, ClientName, DateOfBirth, (SELECT SystolicBP FROM BP WHERE BP.ClientID=Client.ClientID ORDER BY BPDate DESC RANGE 1 TO 1) AS SystolicBP, (SELECT DiastolicBP FROM BP WHERE BP.ClientID=Client.ClientID ORDER BY BPDate DESC RANGE 1 TO 1) AS DiastolicBP, (SELECT GlucoseValue FROM Glucose WHERE Glucose.ClientID=Client.ClientID ORDER BY GlucoseDate DESC RANGE 1 TO 1) AS GlucoseValue FROM Client ORDER BY ClientID
This web page was last updated on Monday, August 19, 2024 at 05:55 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |