Underfined function SUM Sqlite : function SUM return value underfiend, why i can set result in TextView. It my code:
 

     mDb = new loaithu( getActivity() );
        Cursor cursor = mDb.GetQueryData( "SELECT khoanThu, money, SUM(money) FROM 'khoanthu' ;" );
        if(cursor!=null && cursor.getCount() > 0){
            if(cursor.moveToFirst()){
                do{
                    Object result = cursor.getString( 2 );
                    Log.i("oke", "" + cursor.getCount());
                    String k = (String)result;
                    Log.i("SHOWWWWW", "" + k);
                    //tv.setText( result);
                }while (cursor.moveToNext());
            }
        }
        cursor.close();
[enter image description here][1]


  [1]: https://i.stack.imgur.com/CTK29.png