title: How to create a new row in a SQLite table with the ID column only?
body: <p>I have a table in an SQLite database on Android that only contains a column with the row ID. This table is used to link datasets in different tables. When I try to insert a new row in the table it throws this exception:</p>
  
  <blockquote>
    <p>android.database.sqlite.SQLiteException: near "null": syntax error
    (code 1): , while compiling: INSERT INTO journeyDetailsTable(null)
    VALUES (NULL)</p>
  </blockquote>
  
  <p>My table is created like this:</p>
  
  <pre><code>private static final String CREATE_TABLE_JOURNEY_DETAIL = "create table " +
          TABLE_NAME + " (" + ID_COLUMN + " integer primary key autoincrement);";
  </code></pre>
  
  <p>And I am trying to insert a new row like this:</p>
  
  <pre><code>parentID = db.insert(ANOTHER_TABLE, null, new ContentValues());
  </code></pre>
  
  <p>Any ideas?</p>