I want to fetch data from SQLite database for Blackberry.
There is one table with four columns: ID, FROM, TO, TIME
I want to fetch record on the basis of FROM
, and TO
values.
Where condition 1:
FROM = [from value] AND TO = [to value]
2nd condition is:
FROM = TO AND TO = FROM
It should return the last 20 records.
Best Answer
It's not very clear what you are after. So, this guess may be wrong: