Hirdetés

Új hozzászólás Aktív témák

  • sonar

    addikt

    Sziasztok,

    Van a következő lekérdezésem:

    SELECT t.id, t.unitid, t.name, t.jigid, t.creationtime, t.status, mf.name, mf.failurecode, mf.value, mf.hilim, mf.lolim,
    mf.status
    FROM ffTest t
    left join ffserialnumber sn on sn.unitid=t.unitid
    left join ffmeasurementdetailfail mf on mf.testid=t.id
    left join ffmeasurementdetailpass mp on mp.testid=t.id
    where
    t.creationtime between '2009-05-18 06:00:00' and '2009-05-19 06:00:00'
    and t.description='RF Test'
    and t.status='Failed'
    and mf.status='Failed'
    order by 2

    Eredmény:

    id unitid name jig creationtime status name failurecode value hilim lolim status
    20026011 2500706 RF Test 3 2009.05.18 15:25 Failed T3 AGC +7 T3 AGC +7 -29 -62 -92 Failed
    20021204 2500819 RF Test 3 2009.05.18 6:57 Failed QAM AGC QAM AGC -10 25 -5 Failed
    20021231 2503154 RF Test 4 2009.05.18 7:01 Failed Tuner 1st IF Center Frequency Tuner 1st IF Center Frequency -1 1342 1098 Failed

    És nekem csak az kellene ahol a unitid kétszer fordul elő.
    Hogyan tudnám szűkíteni a keresést?

    A tudást mástól kapjuk, a siker a mi tehetségünk - Remember: Your life – Your choices!

Új hozzászólás Aktív témák