0

我从与任何前缀匹配的数据库中获取数据如何在变量的两侧添加 %?下面是我的查询,我想将 '"+School_name+"' 添加到这个 '%"+School_name+"%' 怎么做?

        Cursor mCursor3 = db.selectQuery("SELECT * FROM uss_school sch LEFT JOIN uss_school_to_level sl ON  sch.school_id = sl.school_id LEFT JOIN uss_level l ON sl.level_id = l.level_id WHERE sch.name like '"+School_name+"'");
4

0 回答 0