title: Mulitiple Result Set based on certain conditions on a jsp
body: <p>i am printing two result sets based on certain conditions.The first result set contains data whose date is greater than 1 days.The second result set prints the table whose date is greater than 2 days.But in my second table,data of the first table is contained.How do i print the second table without duplicate rows from the first table.(Date is one of the column of the table)</p>
  
  <p>Both the tables are generated by the same query.
  I have to write this using java,i cant change my query.
  What will i have to do to filter data for duplicates using java code??</p>