danielrc15
Programmer
HI,
I have this subquery written in Oracle SQL, can anyone tell me how to write it in MySQL v3 syntax? Thanks Daniel
select count(a.id), (a.vl)
from rqf_16_4_40_tce_test a
where a.vl < 40000
and a.id IN (select id from rqf_16_4_40_tce_test_mut b where b.region_name = 'PR' and mutation='49Y')
and a.id IN (select id from rqf_16_4_40_tce_test_mut b where b.region_name = 'RT' and mutation='45Y')
group by a.vl
I have this subquery written in Oracle SQL, can anyone tell me how to write it in MySQL v3 syntax? Thanks Daniel
select count(a.id), (a.vl)
from rqf_16_4_40_tce_test a
where a.vl < 40000
and a.id IN (select id from rqf_16_4_40_tce_test_mut b where b.region_name = 'PR' and mutation='49Y')
and a.id IN (select id from rqf_16_4_40_tce_test_mut b where b.region_name = 'RT' and mutation='45Y')
group by a.vl