Los de avanzada edad se le pone control parental xD
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menúselect art.art_id, histkomm.cnt , count(decode(lhmd.abmz, 600, 2, 1))/*aqui necesito que el counter sea dos, si es el tamaño "x" y uno, si no lo es.*/, sysdate
from lhm, art, sektor,lhmdef lhmd, (select hst.artnr artnr, count(*) cnt
from historie_v hst
where hst.created > sysdate-90
and hst.typ_id =102
and hst.lagnr=13 group by hst.artnr ) histkomm
where histkomm.artnr = art.artnr
and art.art_id = sektor.art_id (+)
and lhm.lhm_id = sektor.lhm_id
and lhm.lhmdef_id = lhmd.lhmdef_id
and lhm.lhmstat=1
and lhm.lag_id=13
and nvl(lhm.auftr_id, 0)=0
group by art.art_id, histkomm.cnt
order by 3 desc;
<input type="password" placeholder="Password" name="password" />
select art.art_id , count(distinct lhm.place_id)
from lhm, lhmdef lhmd, art, sector
where lhm.lhmdef_id = lhmd.lhmdef_id
and art.art_id = sector.art_id (+)
and lhm.lhm_id = sector.lhm_id
and lhm.lhmstat=1
and lhm.lag_id = 13
and lhm.order_id is null
group by art.art_id
order by 2 desc
select art.art_id , count(distinct(case when lhm.abmz > 300 then lhm.place_id * 2)
from lhm, lhmdef lhmd, art, sector
where lhm.lhmdef_id = lhmd.lhmdef_id
and art.art_id = sector.art_id (+)
and lhm.lhm_id = sector.lhm_id
and lhm.lhmstat=1
and lhm.lag_id = 13
and lhm.order_id is null
group by art.art_id
order by 2 desc