Select sum(amount) * from tablo where type in (1,2,3,4) and (type=4 and not number in (2,3))
hocam ilk type da 4 olmayacak sanırım değil mi?
Select sum(amount) * from tablo where type in (1,2,3) and (type=4 and not number in (2,3))
bu şekilde yazdığım zaman 1-2-3 ün değerlerini almıyor