You probably want to use the method SQLiteDatabase.rawQuery

-blake
G. Blake Meike
Marakana

The second edition of Programming Android is now on-line:
http://shop.oreilly.com/product/0636920023005.do



On Wednesday, October 10, 2012 10:23:26 PM UTC-7, ANKUR1486 wrote:
>
> Hi all  
>
> i am trying to execute the inner join query like 
>
> *SELECT *  from field where itemid in (select id from item where typeid = 
> 100);*
>
> *
> *
>
> *i am using *
>
> *
> *
>
> *String [] sqlSelect = {"0 _id", "value"}; *
>
> *
> *
>
> *Cursor c = queryBuilder.query(db, sqlSelect, null , null,null, null, 
> null);*
>
> *
> *
>
> can anybody suggest how to ho for this type of query .
>
>
> Thanks
>
> *
> *
>
> *
> *
>
> *
> *
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to