SQLite Getting only last record not all the Records

后端 未结 3 1884
臣服心动
臣服心动 2020-12-20 11:05

I have total 4 records in ecare table, where 2 records status is sent = 1, and other 2 records status is

3条回答
  •  余生分开走
    2020-12-20 11:26

    I would try:

    String sql = "SELECT p.sent,e.*, e.no _id 
                  FROM ecare e, pweb p 
                  WHERE e.h_id=p.h_id 
                  AND e.sent = '0' ";
    

提交回复
热议问题