I'm having trouble creating a query that compares values in the same table, ie:
Code:
SELECT [fields]
FROM
WHERE column1 = column2
It's simple to compare a field value to another value, ie
WHERE column1 = 332.55;
But having issues with the first one:
Code:
entCards.Where.AprCashNUM.Value = 10;
entCards.Where.AprCashNUM.Operator = WhereParameter.Operand.LessThan;
entCards.Where.BalTransFee.Conjuction = WhereParameter.Conj.And;
entCards.Where.IntroductoryRateNUM.Value = entCards.Where.AprPurchNUM.Value;
Something like this. So in this query I want all values less than 10 (which works) and vwhere IntroRate = AprPurch.
Can someone help me with this?
Thanks.
Code:
SELECT [fields]
FROM
WHERE column1 = column2
It's simple to compare a field value to another value, ie
WHERE column1 = 332.55;
But having issues with the first one:
Code:
entCards.Where.AprCashNUM.Value = 10;
entCards.Where.AprCashNUM.Operator = WhereParameter.Operand.LessThan;
entCards.Where.BalTransFee.Conjuction = WhereParameter.Conj.And;
entCards.Where.IntroductoryRateNUM.Value = entCards.Where.AprPurchNUM.Value;
Something like this. So in this query I want all values less than 10 (which works) and vwhere IntroRate = AprPurch.
Can someone help me with this?
Thanks.