Viewing 11 posts - 1 through 12 (of 12 total)
ja freilig:-P
Vladan.. thats a good solution!
thanx loads..
i cant understand what the problem with the expression is ?
but i have problem with the performance cauz i have around 2,8 million id:-P...
August 24, 2007 at 1:20 am
why not???
because the recordline and price are different!
i should replace aaa bbb like nr1,nr2,nr3 ect doesnt really matter!
a and b are too fixed valued!!!
August 24, 2007 at 1:08 am
hello
aaa or bbb is the primar key and unique
the a anf b values are number like 3 oder 20:-P
thanx loads for replies:-P
August 23, 2007 at 1:09 pm
select id,Recordnr from table where price >b and a< (select id,recordnr,sum(recordline) from table group by recordnr,ID )
thats my query but that doesnt work:-(
August 22, 2007 at 5:14 pm
hello peter
i was thinging abt this solution(but still need to sum up for all distinct id!) but i have asround 2 millions id a´t least:-P
the only thing i need is...
August 16, 2007 at 2:14 pm
yes.. but the point is it could be duplicated:
ID_NR ID_NR_p KZ
1 1 v
1 1 v
1 2 x
1 3 v
2 1 x
2 2 x
2 3 v
2 3 v
and the result should...
August 14, 2007 at 2:06 am
thanxx
i can do that:-P
but what i want is the sum over all nr of id_nr which kz='V'
August 14, 2007 at 1:51 am
Viewing 11 posts - 1 through 12 (of 12 total)