title: Get information from SQLite (Android Studio)
body: <p>I am new in Android Studio and I just started to work with the SQLite
  I created a SQLite file (db) and I created a function that put some data in the table:</p>
  
  <pre><code> public String FirstInsert()
      {
          String meassage = new String();
  
          SQLiteDatabase db = this.getWritableDatabase();
          ContentValues cv = new ContentValues();
  
          cv.put(COL_2,"hi how are you?");
          cv.put(COL_3,"blabla");
          cv.put(COL_4,"blabla");
          cv.put(COL_5,"blabla");
          cv.put(COL_6,"blabla");
          cv.put(COL_7,"blabla");
          cv.put(COL_8,"blabla");
          cv.put(COL_9,"blabla");
          cv.put(COL_10,"blabla");
          cv.put(COL_11,"blabla");
  
  
          long result = db.insert(TABLE_NAME,null,cv);
          if(result == -1)
          {
              meassage = new String("Bad");
          }
          else
          {
              meassage = new String("Good");
          }
          return meassage;
  
      }
  </code></pre>
  
  <p>I want the do more spesific select that take only one item, the COL_2 and the row is number that I get so I  wrote this code:</p>
  
  <pre><code>public Cursor GetQuestions(int num)
      {
          //num++;
          SQLiteDatabase db = this.getWritableDatabase();
          Cursor res = db.rawQuery("SELECT QUESTION FROM " + TABLE_NAME + "ORDER BY " +  num + "ASC LIMIT 1",null);
          return res;
      }
  </code></pre>
  
  <p>this is the right code? and if it is why I got an error here too?</p>
  
  <p>Thank you very much for trying to help!</p>