Ok, dla logicznego i możesz zrobić
Select (payment1_paid && payment2_paid) as paid_in_full
from denormalized_payments
where payment1_type = 'check';
Jak widać tutaj .
Ok, dla logicznego i możesz zrobić
Select (payment1_paid && payment2_paid) as paid_in_full
from denormalized_payments
where payment1_type = 'check';
Jak widać tutaj .