how to store the result of the request in table
I want to store the result of request in a table. I want the result of the method is table howa to do that? My code contains error.

    public array getResult_libelle(int id)
    	{
    	    array tab[] = null;
    	    try
    	    {
    	        Cursor c = null;
    	        c = db.rawQuery("select libelle from favori where _id="+id, null);
    	        c.moveToFirst();
    	        tab = c.getString(c.getColumnIndex("libelle"));
    	        c.close();
    	    }
    	    catch(Exception e)
    	    {
    	        e.printStackTrace();
    	    }
    	    return tab; 
    	}
how to store the result of the request in table
===

I want to store the result of request in a table. I want the result of the method is table howa to do that? My code contains error.

    public array getResult_libelle(int id)
    	{
    	    array tab[] = null;
    	    try
    	    {
    	        Cursor c = null;
    	        c = db.rawQuery("select libelle from favori where _id="+id, null);
    	        c.moveToFirst();
    	        tab = c.getString(c.getColumnIndex("libelle"));
    	        c.close();
    	    }
    	    catch(Exception e)
    	    {
    	        e.printStackTrace();
    	    }
    	    return tab; 
    	}