I have a simple function with SQLite raw query, it looks like :

```
public Cursor getOccurations ()
{
    SQLiteDatabase db =this.getWritableDatabase();
    Cursor data= db.rawQuery("select count(*) from Beacon_occurations where BEACON_ADDRESS='" + COL_2 + "' and TIME='" + COL_3 +"'", null);
    return data;
}

```

And now here is a question, how should I display it properly ? When I try do something like :

```
            data = db.getOccurations();
            string = data.toString();
            Log.e("Message",string);

```

I get : **Message: android.database.sqlite.SQLiteCursor@1a81ae97** ofc it isn't data which I want get :)
How should I do it properly ?