PUBLICITÉ

Toli Sous le Manguier

Parle Ta Part, Et je Reponds Ma Part

 
 
 
 
 
 
Les champs marqués avec un * sont obligatoires.
Kmerboy Kmerboy a écrit le 10 septembre 2014 à 8h16
@ Tous

Svp besoin d'une petite aide. Merci d'avance. Je cherche a joindre ces deux queries pour avoir un seul. Je voudrais avoir ces deux selections en une seule .

slection1

select v.hdnr,v.filial,rtrim(p.strasse ||','|| h.plz ||','|| h.ort) as Anschrifft ,count (v.vtnr) as anzahl
from givitdata.partner p
left join givitdata.vertrag v on v.filial = p.filial and v.hdnr = p.hdnr
inner join givitdata.htplz h on p.plzid = h.plzid
where v.hdnr = 320947 and v.datver1 between '2014-1-01' and '2014-08-01'
group by v.filial,v.hdnr,p.strasse,h.plz,h.ort
order by filial asc

selection 2

select hdnr, filial from givitdata.partner
where hdnr = 320947
Merci de patienter...
PUBLICITÉ

FIL INFO

PUBLICITÉ

Welcome Back!

Login to your account below

Retrieve your password

Please enter your username or email address to reset your password.

Add New Playlist