I have created 2 tables and I want these 2 to have a relationship together. I am going to create more tables and they too should have a relationship, but, I do not know how to achieve it. Thanks in advance.
private static final String DATABASE_CREATE = "create table "
+ CustomerTable
+ "("
+ COLUMN_ID + " integer primary key autoincrement, "
+ COLUMN_CATEGORY + " text not null, "
+ COLUMN_SUMMARY + " text not null,"
+ COLUMN_DESCRIPTION
+ " text not null"
+ ");";
private static final String DATABASE_TABLE = "create table "
+ OrderTable
+ "("
+ COLUMN_ORDER_ID + " integer primary key autoincrement, "
+ COLUMN_FOOD+ text not null," , "
+ COLUMN_BOOK + " text not null, "
+ COLUMN_CAR + " text not null,"
+ ");";