2

Доброго времени суток. в бд есть строкас тремя полями: name; number; my; есть строка: вася; 34358; by: как сделать выборку чтобы выдернуть name=вася, number=34358; my=by???

1 ответ 1

3
Cursor c = db.query("tablename", new String[] { "name", "number", "my" } , "name = ? AND number = ? AND my = ?" ,  new String[]{"вася", "34358", "by"}, null, null, null);

Ваш ответ

By clicking “Отправить ответ”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками или задайте свой вопрос.