파라독스에선 잘~됩니다.
인터베이스에서 아예 null값이 나오네요. sum()+sum()...값이
select count(*) as 방문횟수,max(sdate) as 최종방문,sum(cash)+sum(checkprice)+sum(cardprice) as 실적금액,
sum(cash) as 현금,sum(checkprice) as 수표,
sum(cardprice) as 카드, sum(CreditPrice) as 미수금액,
sum(todaybonus) as 포인트금액
from S12000
group by CLIENT
>
> 파라독스에선 잘~됩니다.
> 인터베이스에서 아예 null값이 나오네요. sum()+sum()...값이
>
> select count(*) as 방문횟수,max(sdate) as 최종방문,
sum(cash)+sum(checkprice) +sum(cardprice) as 실적금액,
> sum(cash) as 현금,sum(checkprice) as 수표,
> sum(cardprice) as 카드, sum(CreditPrice) as 미수금액,
> sum(todaybonus) as 포인트금액
> from S12000
> group by CLIENT
이렇게 함 보심이
select count(*) as 방문횟수,max(sdate) as 최종방문,
sum(cash+checkprice+cardprice) as 실적금액,
> sum(cash) as 현금,sum(checkprice) as 수표,
> sum(cardprice) as 카드, sum(CreditPrice) as 미수금액,
> sum(todaybonus) as 포인트금액
> from S12000
> group by CLIENT