Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

android sqlite query con join

private static final String TASK_TABLE_CREATE = "create table "
        + TASK_TABLE + " (" 
        + TASK_ID + " integer primary key autoincrement, " 
        + TASK_TITLE + " text not null, " 
        + TASK_NOTES + " text not null, "
        + TASK_DATE_TIME + " text not null,"
        + TASK_CAT + " integer,"
        + " FOREIGN KEY ("+TASK_CAT+") REFERENCES "+CAT_TABLE+"("+CAT_ID+"));";
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #android #sqlite #query #join
ADD COMMENT
Topic
Name
6+5 =