Моя 1-ая таблица будет портом с указанием статуса столбцов, назначением, паромом, который я хочу вставить. Моя 2-я таблица будет пользователями, имеющими столбцы.Вставьте все эти столбцы в таблицу бронирования?
private static final String DATABASE_CREATE =
"create table user (_id integer primary key autoincrement, "
+ "Username text not null, Password text not null,"
+ "LastName text not null, FirstName text not null);";
private static final String DATABASE_CREATE_2 =
"create table port (_id integer primary key autoincrement, "
+ "status text null, destination text null,"
+ "arrival text null, ferry text null);";
private static final String DATABASE_CREATE_3 =
"create table booking (_id integer primary key autoincrement, "
+ "ArrivalTime text null, Destination text null,"
+ "user text null, ferry text null);";
Спасибо.