Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用方法
rawQuery("select * from schedule where week = ? and firstweek < ? and lastweek > ?", new String[]{weekday})
位置“?” 是字符串,但如何与 Select 语句进行比较?
给定查询需要三个参数,再向字符串数组添加两个:
new String[]{weekday, new Date(), new Date()}
或标题?