Ok, for logisk og du kan gøre
Select (payment1_paid && payment2_paid) as paid_in_full
from denormalized_payments
where payment1_type = 'check';
Som det ses her .
Ok, for logisk og du kan gøre
Select (payment1_paid && payment2_paid) as paid_in_full
from denormalized_payments
where payment1_type = 'check';
Som det ses her .