SQLite Exception no such column when trying to select

前端 未结 5 988
广开言路
广开言路 2020-11-27 20:21

I have the following DB helper class:

public int studentExists(String studid) {
    Cursor dataCount = mDb.rawQuery(\"select count(*) from usertable where \"         


        
5条回答
  •  抹茶落季
    2020-11-27 20:35

    for STRING you should place that in between '' ('sasas')

    select * from bio where email = 'sasas'
    

提交回复
热议问题