From 8a40dfe01798cc4265ad2d1aac2b9b2386d4a9cb Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 5 Aug 2023 12:59:02 +0200 Subject: [PATCH 01/10] allow filter for kiosk, to only show boats at specific location --- src/model/boat.rs | 49 +++++++++++++++++++++++++++++++------------ src/model/location.rs | 15 +++++++++++++ src/tera/log.rs | 7 ++++--- 3 files changed, 55 insertions(+), 16 deletions(-) diff --git a/src/model/boat.rs b/src/model/boat.rs index 444dcbf..5e2cd5f 100644 --- a/src/model/boat.rs +++ b/src/model/boat.rs @@ -94,19 +94,7 @@ impl Boat { .is_some() } - pub async fn all(db: &SqlitePool) -> Vec { - let boats = sqlx::query_as!( - Boat, - " -SELECT id, name, amount_seats, location_id, owner, year_built, boatbuilder, default_shipmaster_only_steering, skull, external -FROM boat -ORDER BY amount_seats DESC - " - ) - .fetch_all(db) - .await - .unwrap(); //TODO: fixme - + async fn boats_to_details(db: &SqlitePool, boats: Vec) -> Vec { let mut res = Vec::new(); for boat in boats { let mut damage = BoatDamage::None; @@ -125,6 +113,41 @@ ORDER BY amount_seats DESC res } + pub async fn all(db: &SqlitePool) -> Vec { + let boats = sqlx::query_as!( + Boat, + " +SELECT id, name, amount_seats, location_id, owner, year_built, boatbuilder, default_shipmaster_only_steering, skull, external +FROM boat +ORDER BY amount_seats DESC + " + ) + .fetch_all(db) + .await + .unwrap(); //TODO: fixme + + Self::boats_to_details(db, boats).await + } + + pub async fn all_at_location(db: &SqlitePool, location: String) -> Vec { + let boats = sqlx::query_as!( + Boat, + " +SELECT boat.id, boat.name, amount_seats, location_id, owner, year_built, boatbuilder, default_shipmaster_only_steering, skull, external +FROM boat +INNER JOIN location ON boat.location_id = location.id +WHERE location.name=? +ORDER BY amount_seats DESC + ", + location + ) + .fetch_all(db) + .await + .unwrap(); //TODO: fixme + + Self::boats_to_details(db, boats).await + } + pub async fn create(db: &SqlitePool, boat: BoatToAdd<'_>) -> Result<(), String> { sqlx::query!( "INSERT INTO boat(name, amount_seats, year_built, boatbuilder, default_shipmaster_only_steering, skull, external, location_id, owner) VALUES (?,?,?,?,?,?,?,?,?)", diff --git a/src/model/location.rs b/src/model/location.rs index a66d810..7d174ec 100644 --- a/src/model/location.rs +++ b/src/model/location.rs @@ -23,6 +23,21 @@ impl Location { .ok() } + pub async fn find_by_name(db: &SqlitePool, name: String) -> Option { + sqlx::query_as!( + Self, + " + SELECT id, name + FROM location + WHERE name=? + ", + name + ) + .fetch_one(db) + .await + .ok() + } + pub async fn all(db: &SqlitePool) -> Vec { sqlx::query_as!(Self, "SELECT id, name FROM location") .fetch_all(db) diff --git a/src/tera/log.rs b/src/tera/log.rs index bc8a8df..ed78d54 100644 --- a/src/tera/log.rs +++ b/src/tera/log.rs @@ -83,16 +83,17 @@ fn new_kiosk(cookies: &CookieJar<'_>) -> Redirect { let mut cookie = Cookie::new("kiosk", "yes".to_string()); cookie.set_expires(OffsetDateTime::now_utc() + Duration::weeks(12)); cookies.add_private(cookie); - Redirect::to("/log") + Redirect::to("/log/Linz") } -#[get("/")] +#[get("/")] async fn kiosk( db: &State, flash: Option>, _kiosk: KioskCookie, + loc: String, ) -> Template { - let boats = Boat::all(db).await; + let boats = Boat::all_at_location(db, loc).await; let coxes = User::cox(db).await; let users = User::all(db).await; let logtypes = LogType::all(db).await; From 351ba1ba4ef6c118900d2c5b736bb0fa60e55c65 Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 5 Aug 2023 13:01:01 +0200 Subject: [PATCH 02/10] fix tests, default redirect to linz kiosk --- src/tera/log.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tera/log.rs b/src/tera/log.rs index ed78d54..dbdd518 100644 --- a/src/tera/log.rs +++ b/src/tera/log.rs @@ -246,7 +246,7 @@ mod test { let response = req.dispatch().await; assert_eq!(response.status(), Status::SeeOther); - assert_eq!(response.headers().get("Location").next(), Some("/log")); + assert_eq!(response.headers().get("Location").next(), Some("/log/Linz")); let req = client.get("/log"); let response = req.dispatch().await; From e459a4e2d91bacd8773a89c983a19aef8c597c8b Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 5 Aug 2023 13:09:58 +0200 Subject: [PATCH 03/10] store loation in kiosk cookie, to avoid having to handle each location separately --- src/tera/log.rs | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/tera/log.rs b/src/tera/log.rs index dbdd518..91433bc 100644 --- a/src/tera/log.rs +++ b/src/tera/log.rs @@ -78,22 +78,21 @@ async fn show_kiosk(db: &State, _kios: KioskCookie) -> Template { Template::render("log.completed", context!(logs)) } -#[get("/kiosk/ekrv2019")] -fn new_kiosk(cookies: &CookieJar<'_>) -> Redirect { - let mut cookie = Cookie::new("kiosk", "yes".to_string()); +#[get("/kiosk/ekrv2019/")] +fn new_kiosk(cookies: &CookieJar<'_>, loc: String) -> Redirect { + let mut cookie = Cookie::new("kiosk", loc); cookie.set_expires(OffsetDateTime::now_utc() + Duration::weeks(12)); cookies.add_private(cookie); - Redirect::to("/log/Linz") + Redirect::to("/log") } -#[get("/")] +#[get("/")] async fn kiosk( db: &State, flash: Option>, - _kiosk: KioskCookie, - loc: String, + kiosk: KioskCookie, ) -> Template { - let boats = Boat::all_at_location(db, loc).await; + let boats = Boat::all_at_location(db, kiosk.0).await; let coxes = User::cox(db).await; let users = User::all(db).await; let logtypes = LogType::all(db).await; @@ -246,7 +245,7 @@ mod test { let response = req.dispatch().await; assert_eq!(response.status(), Status::SeeOther); - assert_eq!(response.headers().get("Location").next(), Some("/log/Linz")); + assert_eq!(response.headers().get("Location").next(), Some("/log")); let req = client.get("/log"); let response = req.dispatch().await; From 7309b1f2b2bcfa6b1ca435084f504274d4aae2e6 Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 5 Aug 2023 13:21:35 +0200 Subject: [PATCH 04/10] update unit tests; add location name in kiosk settting to cookie (to avoid specific redirects) --- seeds.sql | 1 + src/model/boat.rs | 21 +++++++++++---------- src/tera/admin/boat.rs | 8 ++++++-- src/tera/log.rs | 33 ++++++++++++++++++++++++++++++--- 4 files changed, 48 insertions(+), 15 deletions(-) diff --git a/seeds.sql b/seeds.sql index b28cf02..c376a44 100644 --- a/seeds.sql +++ b/seeds.sql @@ -22,6 +22,7 @@ INSERT INTO "boat" (name, amount_seats, location_id, owner) VALUES ('private_boa INSERT INTO "boat" (name, amount_seats, location_id) VALUES ('Joe', 2, 1); INSERT INTO "boat" (name, amount_seats, location_id) VALUES ('Kaputtes Boot :-(', 7, 1); INSERT INTO "boat" (name, amount_seats, location_id) VALUES ('Sehr kaputtes Boot :-((', 7, 1); +INSERT INTO "boat" (name, amount_seats, location_id) VALUES ('Ottensheim Boot', 7, 2); INSERT INTO "logbook_type" (name) VALUES ('Wanderfahrt'); INSERT INTO "logbook_type" (name) VALUES ('Regatta'); INSERT INTO "logbook" (boat_id, shipmaster, shipmaster_only_steering, departure) VALUES (2, 2, false, '2142-12-24 10:00'); diff --git a/src/model/boat.rs b/src/model/boat.rs index 5e2cd5f..ef6755d 100644 --- a/src/model/boat.rs +++ b/src/model/boat.rs @@ -63,16 +63,17 @@ pub struct BoatToUpdate<'r> { impl Boat { pub async fn find_by_id(db: &SqlitePool, id: i32) -> Option { - sqlx::query_as!( - Self, - "SELECT id, name, amount_seats, location_id, owner, year_built, boatbuilder, default_shipmaster_only_steering, skull, external - FROM boat - WHERE id like ?", - id - ) - .fetch_one(db) - .await - .ok() + sqlx::query_as!(Self, "SELECT * FROM boat WHERE id like ?", id) + .fetch_one(db) + .await + .ok() + } + + pub async fn find_by_name(db: &SqlitePool, name: String) -> Option { + sqlx::query_as!(Self, "SELECT * FROM boat WHERE name like ?", name) + .fetch_one(db) + .await + .ok() } pub async fn is_locked(&self, db: &SqlitePool) -> bool { diff --git a/src/tera/admin/boat.rs b/src/tera/admin/boat.rs index d57cf19..6405520 100644 --- a/src/tera/admin/boat.rs +++ b/src/tera/admin/boat.rs @@ -239,6 +239,9 @@ mod test { let rocket = rocket::build().manage(db.clone()); let rocket = crate::tera::config(rocket); + assert!(Boat::find_by_name(&db, "completely-new-boat".into()) + .await + .is_none()); let client = Client::tracked(rocket).await.unwrap(); let login = client @@ -266,8 +269,9 @@ mod test { assert_eq!(flash_cookie.value(), "7:successSuccessfully created boat"); - let boat = Boat::find_by_id(&db, 6).await.unwrap(); - assert_eq!(boat.name, "completely-new-boat"); + Boat::find_by_name(&db, "completely-new-boat".into()) + .await + .unwrap(); } #[sqlx::test] diff --git a/src/tera/log.rs b/src/tera/log.rs index 91433bc..3d0cab5 100644 --- a/src/tera/log.rs +++ b/src/tera/log.rs @@ -241,7 +241,7 @@ mod test { assert_eq!(response.status(), Status::SeeOther); assert_eq!(response.headers().get("Location").next(), Some("/auth")); - let req = client.get("/log/kiosk/ekrv2019"); + let req = client.get("/log/kiosk/ekrv2019/Linz"); let response = req.dispatch().await; assert_eq!(response.status(), Status::SeeOther); @@ -254,6 +254,33 @@ mod test { let text = response.into_string().await.unwrap(); assert!(text.contains("Logbuch")); assert!(text.contains("Neue Ausfahrt")); + + assert!(!text.contains("Ottensheim Boot")); + } + + #[sqlx::test] + fn test_kiosk_cookie_boat() { + let db = testdb!(); + + let rocket = rocket::build().manage(db.clone()); + let rocket = crate::tera::config(rocket); + + let client = Client::tracked(rocket).await.unwrap(); + let req = client.get("/log/kiosk/ekrv2019/Ottensheim"); + let response = req.dispatch().await; + + assert_eq!(response.status(), Status::SeeOther); + assert_eq!(response.headers().get("Location").next(), Some("/log")); + + let req = client.get("/log"); + let response = req.dispatch().await; + + assert_eq!(response.status(), Status::Ok); + let text = response.into_string().await.unwrap(); + assert!(text.contains("Logbuch")); + assert!(text.contains("Neue Ausfahrt")); + + assert!(text.contains("Ottensheim Boot")); } #[sqlx::test] @@ -308,7 +335,7 @@ mod test { let rocket = crate::tera::config(rocket); let client = Client::tracked(rocket).await.unwrap(); - let req = client.get("/log/kiosk/ekrv2019"); + let req = client.get("/log/kiosk/ekrv2019/Linz"); let _ = req.dispatch().await; let req = client.get("/log/show"); @@ -361,7 +388,7 @@ mod test { let rocket = crate::tera::config(rocket); let client = Client::tracked(rocket).await.unwrap(); - let req = client.get("/log/kiosk/ekrv2019"); + let req = client.get("/log/kiosk/ekrv2019/Linz"); let _ = req.dispatch().await; let req = client From 64aefde8bcdce20e991ea1ac367f99109dd0fa6f Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 5 Aug 2023 15:58:17 +0200 Subject: [PATCH 05/10] fix stat query --- migration.sql | 4 ++-- src/model/stat.rs | 29 ++++++++++++++++++----------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/migration.sql b/migration.sql index c1214f9..b7d1d6e 100644 --- a/migration.sql +++ b/migration.sql @@ -94,8 +94,8 @@ CREATE TABLE IF NOT EXISTS "logbook" ( "boat_id" INTEGER NOT NULL REFERENCES boat(id), "shipmaster" INTEGER NOT NULL REFERENCES user(id), -- null: club is owner "shipmaster_only_steering" boolean not null, - "departure" text not null, - "arrival" text, -- None -> ship is on water + "departure" datetime not null, + "arrival" datetime, -- None -> ship is on water "destination" text, "distance_in_km" integer, "comments" text, diff --git a/src/model/stat.rs b/src/model/stat.rs index 488b602..4f6ced9 100644 --- a/src/model/stat.rs +++ b/src/model/stat.rs @@ -11,17 +11,24 @@ impl Stat { pub async fn get_rowed_km(db: &SqlitePool) -> Vec { //TODO: switch to query! macro again (once upgraded to sqlite 3.42 on server) sqlx::query( - "SELECT u.name AS name, COALESCE(SUM(distance_in_km), 0) as rowed_km - FROM user u - INNER JOIN ( - SELECT shipmaster AS user_id, distance_in_km - FROM logbook - UNION - SELECT r.rower_id AS user_id, l.distance_in_km - FROM logbook l - INNER JOIN rower r ON r.logbook_id = l.id - ) AS subquery ON u.id = subquery.user_id - GROUP BY u.id ORDER BY rowed_km DESC;", + " +SELECT u.name, SUM(sub.distance_in_km) AS rowed_km +FROM user u +INNER JOIN ( + SELECT r.rower_id AS user_id, l.distance_in_km + FROM logbook l + INNER JOIN rower r ON l.id = r.logbook_id + WHERE l.distance_in_km IS NOT NULL + + UNION ALL + + SELECT l.shipmaster AS user_id, l.distance_in_km + FROM logbook l + WHERE l.distance_in_km IS NOT NULL +) sub ON u.id = sub.user_id +GROUP BY u.name +ORDER BY rowed_km DESC; +", ) .fetch_all(db) .await From 94a9d285be59ba841c82ed07d2cb8712708fe8ca Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 5 Aug 2023 16:27:51 +0200 Subject: [PATCH 06/10] clean db --- migration.sql | 25 +++++++++---------------- src/model/logbook.rs | 26 +++++++++++--------------- src/tera/log.rs | 25 ++++++++++++++++++++++++- 3 files changed, 44 insertions(+), 32 deletions(-) diff --git a/migration.sql b/migration.sql index b7d1d6e..99daf39 100644 --- a/migration.sql +++ b/migration.sql @@ -26,37 +26,30 @@ CREATE TABLE IF NOT EXISTS "trip_details" ( "allow_guests" boolean NOT NULL default false, "notes" TEXT, "always_show" boolean NOT NULL default false, - "trip_type_id" INTEGER, - FOREIGN KEY(trip_type_id) REFERENCES trip_type(id) + "trip_type_id" INTEGER REFERENCES trip_type(id) ON DELETE CASCADE ); CREATE TABLE IF NOT EXISTS "planned_event" ( "id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "name" text NOT NULL, "planned_amount_cox" INTEGER unsigned NOT NULL, - "trip_details_id" INTEGER NOT NULL, + "trip_details_id" INTEGER NOT NULL REFERENCES TRIP_details(id) ON DELETE CASCADE, "created_at" text NOT NULL DEFAULT CURRENT_TIMESTAMP, - FOREIGN KEY(trip_details_id) REFERENCES trip_details(id) ON DELETE CASCADE ); CREATE TABLE IF NOT EXISTS "trip" ( "id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, - "cox_id" INTEGER NOT NULL, - "trip_details_id" INTEGER, - "planned_event_id" INTEGER, + "cox_id" INTEGER NOT NULL REFERENCES user(id), + "trip_details_id" INTEGER REFERENCES trip_details(id) ON DELETE CASCADE, + "planned_event_id" INTEGER REFERENCES planned_event(id) ON DELETE CASCADE, "created_at" text NOT NULL DEFAULT CURRENT_TIMESTAMP, - FOREIGN KEY(cox_id) REFERENCES user(id), - FOREIGN KEY(trip_details_id) REFERENCES trip_details(id) ON DELETE CASCADE, - FOREIGN KEY(planned_event_id) REFERENCES planned_event(id) ON DELETE CASCADE, CONSTRAINT unq UNIQUE (cox_id, planned_event_id) -- allow cox to participate only once for each planned event ); CREATE TABLE IF NOT EXISTS "user_trip" ( - "user_id" INTEGER NOT NULL, - "trip_details_id" INTEGER NOT NULL, + "user_id" INTEGER NOT NULL REFERENCES user(id), + "trip_details_id" INTEGER NOT NULL REFERENCES trip_details(id), "created_at" text NOT NULL DEFAULT CURRENT_TIMESTAMP, - FOREIGN KEY(user_id) REFERENCES user(id), - FOREIGN KEY(trip_details_id) REFERENCES trip_details(id), CONSTRAINT unq UNIQUE (user_id, trip_details_id) -- allow user to participate only once for each trip ); @@ -103,9 +96,9 @@ CREATE TABLE IF NOT EXISTS "logbook" ( ); CREATE TABLE IF NOT EXISTS "rower" ( - "logbook_id" INTEGER NOT NULL REFERENCES logbook(id), + "logbook_id" INTEGER NOT NULL REFERENCES logbook(id) ON DELETE CASCADE, "rower_id" INTEGER NOT NULL REFERENCES user(id), - CONSTRAINT unq UNIQUE (logbook_id, rower_id) + CONSTRAINT unq UNIQUE (logbook_id, rower_id) ); CREATE TABLE IF NOT EXISTS "boat_damage" ( diff --git a/src/model/logbook.rs b/src/model/logbook.rs index 9781476..1ea7cbc 100644 --- a/src/model/logbook.rs +++ b/src/model/logbook.rs @@ -12,8 +12,8 @@ pub struct Logbook { pub shipmaster: i64, #[serde(default = "bool::default")] pub shipmaster_only_steering: bool, - pub departure: String, //TODO: Switch to chrono::nativedatetime - pub arrival: Option, //TODO: Switch to chrono::nativedatetime + pub departure: NaiveDateTime, + pub arrival: Option, pub destination: Option, pub distance_in_km: Option, pub comments: Option, @@ -114,7 +114,8 @@ ORDER BY departure DESC boat_id: row.boat_id, shipmaster: row.shipmaster, shipmaster_only_steering: row.shipmaster_only_steering, - departure: row.departure.unwrap(), + departure: NaiveDateTime::parse_from_str(&row.departure.unwrap(), "%Y-%m-%d %H:%M") + .unwrap(), arrival: row.arrival, destination: row.destination, distance_in_km: row.distance_in_km, @@ -125,12 +126,7 @@ ORDER BY departure DESC let mut ret = Vec::new(); for log in logs { - let date_time_naive = - NaiveDateTime::parse_from_str(&log.departure, "%Y-%m-%d %H:%M").unwrap(); - let date_time = Local - .from_local_datetime(&date_time_naive) - .single() - .unwrap(); + let date_time = Local.from_local_datetime(&log.departure).single().unwrap(); ret.push(LogbookWithBoatAndRowers { rowers: Rower::for_log(db, &log).await, @@ -313,12 +309,12 @@ ORDER BY departure DESC Ok(()) } - // pub async fn delete(&self, db: &SqlitePool) { - // sqlx::query!("DELETE FROM boat WHERE id=?", self.id) - // .execute(db) - // .await - // .unwrap(); //Okay, because we can only create a User of a valid id - // } + pub async fn delete(&self, db: &SqlitePool) { + sqlx::query!("DELETE FROM logbook WHERE id=?", self.id) + .execute(db) + .await + .unwrap(); //Okay, because we can only create a Logbook of a valid id + } } #[cfg(test)] diff --git a/src/tera/log.rs b/src/tera/log.rs index 3d0cab5..b893318 100644 --- a/src/tera/log.rs +++ b/src/tera/log.rs @@ -205,6 +205,28 @@ async fn home( home_logbook(db, data, logbook_id, &adminuser.user).await } +#[get("//delete")] +async fn delete( + db: &State, + flash: Option>, + logbook_id: i32, + _adminuser: AdminUser, +) -> Flash { + let logbook = Logbook::find_by_id(db, logbook_id).await; + if let Some(logbook) = logbook { + logbook.delete(db).await; + Flash::success( + Redirect::to("/log"), + format!("Logbook with ID {} successfully deleted!", logbook_id), + ) + } else { + Flash::error( + Redirect::to("/log"), + format!("Logbook with ID {} could not be found!", logbook_id), + ) + } +} + pub fn routes() -> Vec { routes![ index, @@ -215,7 +237,8 @@ pub fn routes() -> Vec { home_kiosk, new_kiosk, show, - show_kiosk + show_kiosk, + delete ] } From f0c6bdac14eaffa09a944ad2d4da8f01fba7efd9 Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 5 Aug 2023 16:29:58 +0200 Subject: [PATCH 07/10] fix ci; clean code --- migration.sql | 2 +- src/tera/log.rs | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/migration.sql b/migration.sql index 99daf39..5e50687 100644 --- a/migration.sql +++ b/migration.sql @@ -34,7 +34,7 @@ CREATE TABLE IF NOT EXISTS "planned_event" ( "name" text NOT NULL, "planned_amount_cox" INTEGER unsigned NOT NULL, "trip_details_id" INTEGER NOT NULL REFERENCES TRIP_details(id) ON DELETE CASCADE, - "created_at" text NOT NULL DEFAULT CURRENT_TIMESTAMP, + "created_at" text NOT NULL DEFAULT CURRENT_TIMESTAMP ); CREATE TABLE IF NOT EXISTS "trip" ( diff --git a/src/tera/log.rs b/src/tera/log.rs index b893318..9d65dd7 100644 --- a/src/tera/log.rs +++ b/src/tera/log.rs @@ -206,12 +206,7 @@ async fn home( } #[get("//delete")] -async fn delete( - db: &State, - flash: Option>, - logbook_id: i32, - _adminuser: AdminUser, -) -> Flash { +async fn delete(db: &State, logbook_id: i32, _adminuser: AdminUser) -> Flash { let logbook = Logbook::find_by_id(db, logbook_id).await; if let Some(logbook) = logbook { logbook.delete(db).await; From 21c5609b31ae6bc5a2a03f479876670f5eed8d86 Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 5 Aug 2023 16:58:20 +0200 Subject: [PATCH 08/10] set test logbook data --- staging-diff.sql | 976 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 976 insertions(+) diff --git a/staging-diff.sql b/staging-diff.sql index 4eba322..d5552de 100644 --- a/staging-diff.sql +++ b/staging-diff.sql @@ -1 +1,977 @@ UPDATE user SET is_admin=true WHERE name IN ('Sandra Sollberger', 'Thomas Hoffelner', 'Manfred Meindl', 'Bernhard Heinemann'); + +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-01-06 12:00:00','2023-01-06 15:20:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-01-07 10:35:00','2023-01-07 13:45:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-01-07 10:35:00','2023-01-07 14:20:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sandra Sollberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manuela Firmötz')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Nina Füreder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Thomas Klima'),false,'2023-01-07 13:15:00','2023-01-07 15:20:00','Abgefallener',16,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Margit Bencic')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-01-12 10:10:00','2023-01-12 13:20:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-01-14 10:40:00','2023-01-14 13:55:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Thomas Klima'),false,'2023-01-14 12:55:00','2023-01-14 15:20:00','Dürnberger',20,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Margit Bencic')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-01-15 10:40:00','2023-01-15 13:50:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-01-17 10:15:00','2023-01-17 13:30:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-02-14 13:10:00','2023-02-14 14:30:00','Wasserschischule',5,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Larissa Freimuth')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-02-24 10:01:00','2023-02-24 12:50:00','Traun',20,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-03-03 08:48:00','2023-03-03 12:05:00','Traun',20,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-03-03 09:45:00','2023-03-03 13:10:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-03-04 09:30:00','2023-03-04 13:05:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-03-06 13:15:00','2023-03-06 16:40:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-03-07 13:20:00','2023-03-07 17:05:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-03-08 10:03:00','2023-03-08 13:25:00','Traun',20,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-03-10 09:50:00','2023-03-10 13:10:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-03-16 11:00:00','2023-03-16 15:15:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-03-17 10:20:00','2023-03-17 13:55:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='WinTech'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-03-17 12:02:00','2023-03-17 15:05:00','Dürnberger Felsen',19,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-03-17 13:22:00','2023-03-17 17:10:00','traun muhlb plus 2 km',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-03-18 09:01:00','2023-03-18 13:10:00','traun muhlb plus 2',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-03-18 09:50:00','2023-03-18 13:10:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-03-18 11:30:00','2023-03-18 14:50:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-03-19 09:45:00','2023-03-19 13:05:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Thomas Klima'),false,'2023-03-19 13:35:00','2023-03-19 15:35:00','Abgefallener',16,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Margit Bencic')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-03-21 10:00:00','2023-03-21 13:25:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-03-21 10:01:00','2023-03-21 13:00:00','Trmdg',18,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='WinTech'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-03-21 11:25:00','2023-03-21 15:55:00','Dürnberger Felsen',19,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-03-21 13:00:00','2023-03-21 15:40:00','Abgefallener',16,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Franz Poddemski')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Adolf Hainschink')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-03-22 09:45:00','2023-03-22 13:25:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-03-22 09:51:00','2023-03-22 14:00:00','2122:7 retur plus 7km',27,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-03-22 14:05:00','2023-03-22 17:30:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manuela Firmötz')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sandra Sollberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-03-23 09:50:00','2023-03-23 13:15:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-03-24 09:25:00','2023-03-24 12:45:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-04-04 11:25:00','2023-04-04 14:15:00','traun mdg',18,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-04-06 11:03:00','2023-04-06 14:30:00','traun muhlb',23,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-04-06 17:25:00','2023-04-06 19:15:00','2137,6',8,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Daria Danner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Moritz Lach')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Alaa Almousa')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-04-07 14:15:00','2023-04-07 17:45:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-04-07 14:15:00','2023-04-07 17:50:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Stephan Siegl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Nina Füreder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-04-07 14:10:00','2023-04-07 18:15:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ilona Stütz')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-04-10 10:29:00','2023-04-10 14:20:00','traun muhlb plus 2',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-04-10 12:50:00','2023-04-10 16:25:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Bernhard Heinemann')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ilona Stütz')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manuela Firmötz')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-04-12 10:43:00','2023-04-12 14:25:00','traun muhlb plus 2',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-04-18 18:00:00','2023-04-18 19:45:00','schulwasser',6,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Moritz Lach')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Richard Bogdan')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Daria Danner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-04-19 18:15:00','2023-04-19 20:00:00','Wiking',10,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-04-19 18:15:00','2023-04-19 19:50:00','Wiking',10,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-04-20 17:55:00','2023-04-20 20:05:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Heinz Radinger'),false,'2023-04-21 10:35:00','2023-04-21 12:00:00','Schiffsmühle',7,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Klaus Schlögl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Wolfgang Schlögl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Karl Allmeier')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-04-21 08:45:00','2023-04-21 11:30:00','2122,7und ret',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-04-21 14:05:00','2023-04-21 18:45:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ilona Stütz')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Daniel Kortschak')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Lackinger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-04-21 14:10:00','2023-04-21 17:15:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Matthias Höfer'),false,'2023-04-21 14:10:00','2023-04-21 18:30:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-04-21 16:55:00','2023-04-21 19:20:00','Robinson',12,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Moritz Lach')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Richard Bogdan')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Birgit Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-04-22 07:45:00','2023-04-22 11:35:00','traun muhlb plus 2',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-04-22 10:25:00','2023-04-22 13:45:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-04-22 14:30:00','2023-04-22 17:30:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Martin Kugler')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ilona Stütz')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Bernhard Heinemann')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-04-22 10:30:00','2023-04-22 12:20:00','Wolfgangsee',20,'Some("Langstreckenregatta")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-04-23 08:10:00','2023-04-23 10:45:00','2124UND RETUR',20,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Daniel Kortschak')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-04-23 09:45:00','2023-04-23 13:00:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-04-23 11:05:00','2023-04-23 15:30:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sylvia Ecker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-04-23 11:05:00','2023-04-23 15:05:00','Biber',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Margit Bencic')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Franz Poddemski')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Klima')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-04-23 11:10:00','2023-04-23 15:00:00','Regattastrecke',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Silvia Demmig')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Bernhard Heinemann')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Karl Allmeier')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-04-23 11:15:00','2023-04-23 15:15:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sandra Sollberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-04-23 11:00:00','2023-04-23 15:00:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Moritz Lach')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Richard Bogdan')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Commenda')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-04-25 17:15:00','2023-04-25 19:35:00','schulwasser',10,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Moritz Lach')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Richard Bogdan')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Daria Danner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-04-26 18:00:00','2023-04-26 20:10:00','schulwasser mehrfach',8,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Maxfranz'),(SELECT id FROM user WHERE name='Philip Baillon'),true,'2023-04-26 17:54:00','2023-04-26 20:05:00','Wasserschischule',5,'Some("Philip der Lustige Handsteuer")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Commenda')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sylvia Ecker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Marie Birner'),false,'2023-04-26 18:30:00','2023-04-26 20:00:00','Wiking',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-04-26 18:30:00','2023-04-26 20:40:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Martin Kugler')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-04-26 18:15:00','2023-04-26 20:20:00','Puchenau Boje',8,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ilona Stütz')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Matthias Höfer'),false,'2023-04-26 18:15:00','2023-04-26 20:00:00','schulwasser',7,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-04-27 10:35:00','2023-04-27 13:55:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-04-27 12:00:00','2023-04-27 16:45:00','Dürnberger',20,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Birgit Sageder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Niklas Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-04-27 13:55:00','2023-04-27 18:25:00','2122:7 retur plus 7km',29,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-04-27 15:55:00','2023-04-27 18:45:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manuela Firmötz')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-04-28 09:20:00','2023-04-28 12:30:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Siegfried Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-04-28 17:50:00','2023-04-28 20:15:00','Achleitnersiedlung',17,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-04-29 11:05:00','2023-04-29 14:50:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manfred Meindl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ilona Stütz')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Marie Birner'),false,'2023-04-29 11:10:00','2023-04-29 14:55:00','Ottensheim',25,'Some("Hochwasserausfahrt")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manuela Firmötz')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-04-30 08:45:00','2023-04-30 12:50:00','traun muhlb plus 2',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-04-30 10:40:00','2023-04-30 14:00:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Thomas Klima'),false,'2023-04-30 13:20:00','2023-04-30 16:20:00','Ottensheim',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Margit Bencic')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-05-01 15:00:00','2023-05-01 17:50:00','Dürnberger',20,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-05-03 11:55:00','2023-05-03 15:05:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-05-03 13:55:00','2023-05-03 17:15:00','2122:7 retur',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-05-03 18:10:00','2023-05-03 20:15:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Marie Birner'),false,'2023-05-03 18:10:00','2023-05-03 20:20:00','Rudi',8,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-05-03 18:10:00','2023-05-03 20:05:00','Robinson',12,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Verena Kriechbaum')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Stephan Siegl')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Matthias Höfer'),false,'2023-05-03 18:15:00','2023-05-03 20:20:00','Blockhaus',14,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Hansiburli'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-05-03 18:15:00','2023-05-03 20:05:00','Wiking',10,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-05-03 18:10:00','2023-05-03 20:10:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-05-04 10:00:00','2023-05-04 13:20:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-05-04 11:05:00','2023-05-04 14:05:00','Dürnberger Felsen',19,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Franz Poddemski')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Adolf Hainschink')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-05-05 08:37:00','2023-05-05 12:40:00','2122 bis 2134 plus 7km',29,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-05-05 09:30:00','2023-05-05 16:15:00','Aschach',55,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-05-05 14:00:00','2023-05-05 17:45:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sandra Sollberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Bernhard Heinemann')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-05-05 14:05:00','2023-05-05 17:55:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manuela Firmötz')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Haichenbach'),(SELECT id FROM user WHERE name='Marie Birner'),false,'2023-05-05 14:05:00','2023-05-05 16:15:00','Abgefallener',16,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-05-06 09:10:00','2023-05-06 11:10:00','Wasserschischule',6,'Some("+1 km")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Gabriele Schwarz')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-05-06 09:15:00','2023-05-06 11:50:00','Wiking',10,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-05-06 09:15:00','2023-05-06 12:40:00','Wasserschischule + Schulwasser',7,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-05-07 08:16:00','2023-05-07 12:05:00','traun muhlb plus 2',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-05-07 09:05:00','2023-05-07 12:15:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-05-08 10:20:00','2023-05-08 13:45:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-05-09 09:30:00','2023-05-09 12:55:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-05-09 09:35:00','2023-05-09 12:45:00','2122:7 retur',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-05-09 12:45:00','2023-05-09 16:30:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Franz Poddemski')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-05-09 17:05:00','2023-05-09 20:10:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Lackinger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-05-09 17:05:00','2023-05-09 20:10:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Martin Kugler')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sandra Sollberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Leihboot WSV'),(SELECT id FROM user WHERE name='Michael Sageder'),true,'2023-05-08 16:40:00','2023-05-08 18:20:00','Regattastrecke',8,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Birgit Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Marie Birner'),false,'2023-05-10 18:10:00','2023-05-10 20:25:00','Blockhaus',14,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-05-10 18:10:00','2023-05-10 20:25:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-05-10 18:10:00','2023-05-10 20:25:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Commenda')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Marie Birner'),false,'2023-05-22 17:10:00','2023-05-22 19:00:00','schulwasser',4,'Some("Hypo Rudern")'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-05-22 17:15:00','2023-05-22 19:10:00','schulwasser',6,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-05-22 17:15:00','2023-05-22 19:15:00','schulwasser',5,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-05-22 17:35:00','2023-05-22 20:15:00','Abgefallener',16,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Alexandra Binder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Gerald Binder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Birgit Sageder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Klima')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Margit Bencic')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-05-18 06:00:00','2023-05-18 19:05:00','Tyn-Prag',153,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manuela Firmötz')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-05-18 06:00:00','2023-05-18 20:00:00','Tyn-Prag',153,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Daniel Kortschak')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Bernhard Heinemann')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-05-23 10:15:00','2023-05-23 13:45:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Franz Poddemski')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Adolf Hainschink')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-05-21 09:30:00','2023-05-21 12:00:00','Traun',18,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Franz Poddemski')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-05-24 18:10:00','2023-05-24 19:50:00','Westringbrücke',6,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-05-24 18:10:00','2023-05-24 20:05:00','Wiking',10,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Verena Kriechbaum')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-05-24 18:15:00','2023-05-24 20:15:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Commenda')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-05-25 09:24:00','2023-05-25 13:28:00','2122 bis 2134',24,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-05-25 12:05:00','2023-05-25 17:00:00','Dürnberger Felsen',19,'Some("19")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Birgit Sageder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Niklas Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-05-26 14:00:00','2023-05-26 17:10:00','Ottensheim',25,'Some("leider ohne Markt :-(")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Matthias Höfer')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manfred Meindl')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-05-27 06:00:00','2023-05-27 16:45:00','Schlögen',103,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-05-27 09:33:00','2023-05-27 14:12:00','2122 bis 2134 plus 7km',31,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Ranna'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-05-28 07:15:00','2023-05-28 16:05:00','Ottensheim',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-05-28 07:15:00','2023-05-28 12:44:00','Biber plus 8km',33,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-05-27 06:30:00','2023-05-27 16:45:00','Schlögen',103,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sylvia Ecker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-05-29 06:45:00','2023-05-29 11:19:00','2122 bis 2134 plus 7km',31,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-05-30 10:11:00','2023-05-30 12:55:00','Traun',18,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-05-30 12:55:00','2023-05-30 19:30:00','Rodlmündung',23,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Franz Poddemski')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Adolf Hainschink')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-05-30 18:00:00','2023-05-30 20:45:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Martin Kugler')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-05-30 18:10:00','2023-05-30 20:10:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Anna Kuthan')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Lackinger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-05-31 12:20:00','2023-05-31 14:00:00','schulwasser',4,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Max Knauseder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-05-31 12:25:00','2023-05-31 14:05:00','schulwasser',4,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Kristina Schwendinger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-05-31 14:15:00','2023-05-31 17:45:00','Schulwasser mehrmals',8,'Some("PH-Studierende")'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-05-31 14:20:00','2023-05-31 18:05:00','schulwasser',6,'Some("PH-Studierende")'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-05-31 14:20:00','2023-05-31 18:05:00','schulwasser',5,'Some("PH-Studierende")'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='WinTech'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-05-31 14:25:00','2023-05-31 16:25:00','Abgefallener',16,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-05-31 18:05:00','2023-05-31 20:35:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-05-31 18:05:00','2023-05-31 20:35:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Verena Kriechbaum')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-05-31 18:05:00','2023-05-31 20:25:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Stephan Siegl')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Franz'),(SELECT id FROM user WHERE name='Daniela Allmeier'),true,'2023-05-31 18:10:00','2023-05-31 20:35:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manfred Meindl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Martin Kugler')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Berlin Müggelsee'),(SELECT id FROM user WHERE name='Manuela Firmötz'),false,'2023-05-31 19:15:00','2023-05-31 19:15:00','Berliner Gewässer',167,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-01 09:05:00','2023-06-01 12:00:00','Traun',18,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-06-01 12:15:00','2023-06-01 18:10:00','Rodlmündung',23,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Birgit Sageder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-01 16:35:00','2023-06-01 19:05:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='WinTech'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-06-02 07:25:00','2023-06-02 12:05:00','Ottensheim',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-02 14:00:00','2023-06-02 18:25:00','Ottensheim',25,'Some("Eva-Maria Gruber zum ersten Mal fußgesteuert - 5 km")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philipp Hofer')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-06-02 18:05:00','2023-06-02 21:05:00','Dürnberger',20,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-06-03 09:00:00','2023-06-03 11:15:00','Wiking + 1',11,'Some("Riss Boden unter 1er Platz (vmtl. von letzter Ausfahrt)")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Manuela Firmötz'),false,'2023-06-03 10:05:00','2023-06-03 14:55:00','2142,5',18,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Nina Füreder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-06-04 08:30:00','2023-06-04 11:00:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Anna Kuthan')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sylvia Ecker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-04 09:40:00','2023-06-04 12:55:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-04 09:45:00','2023-06-04 12:48:00','2122:7 retur',22,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-04 10:00:00','2023-06-04 14:15:00','Ottensheim Überhebstelle',29,'Some("Eva-Maria 16,5 km fußgesteuert: Regattasteg -> Überhebstelle -> Bootshaus")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manfred Meindl')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Ranna'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-06-04 10:55:00','2023-06-04 17:55:00','Aschach',54,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-06 10:22:00','2023-06-06 13:00:00','Traun',18,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-06 13:05:00','2023-06-06 18:30:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Franz Poddemski')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Adolf Hainschink')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-06 13:55:00','2023-06-06 17:25:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-06 18:00:00','2023-06-06 20:05:00','Achleitnersiedlung + 1',18,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Anna Kuthan')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Hermann Otto'),(SELECT id FROM user WHERE name='Marie Birner'),false,'2023-06-06 18:15:00','2023-06-06 20:05:00','Robinson',12,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-07 10:40:00','2023-06-07 14:10:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-06-07 12:15:00','2023-06-07 14:40:00','schulwasser',4,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Max Knauseder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-06-07 12:15:00','2023-06-07 13:45:00','schulwasser',4,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Richard Bogdan')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-06-07 18:05:00','2023-06-07 20:30:00','Dürnberger Felsen',19,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-06-07 18:10:00','2023-06-07 20:35:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Juan Francisco Bautista Serrano')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-07 18:10:00','2023-06-07 20:15:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Martin Kugler')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-06-07 18:10:00','2023-06-07 20:30:00','2141',15,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Daniela Allmeier')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-08 06:34:00','2023-06-08 11:11:00','2122 bis 2134 plus 9km',33,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-06-08 09:05:00','2023-06-08 11:50:00','2142,5',18,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Elisabeth Fölser')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Burkhard Riss')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Elisabeth Totschnig')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Silvia Demmig')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sylvia Ecker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-06-08 17:45:00','2023-06-08 20:15:00','Dürnberger',20,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-06-09 14:00:00','2023-06-09 19:10:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-06-09 14:05:00','2023-06-09 18:15:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Bernhard Heinemann')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-06-09 14:10:00','2023-06-09 18:20:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sylvia Ecker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Nina Füreder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manuela Firmötz')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Anna Kuthan')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-06-09 17:45:00','2023-06-09 20:15:00','Achleitnersiedlung',17,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-10 06:44:00','2023-06-10 11:19:00','2122 bis 2134 plus 9km',33,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-06-11 08:10:00','2023-06-11 11:35:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Elisabeth Fölser')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-11 14:20:00','2023-06-11 17:55:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-12 06:41:00','2023-06-12 10:30:00','traun muhlb plus 2',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-12 12:20:00','2023-06-12 15:55:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Jakob RV Gmunden'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-06-08 17:30:00','2023-06-08 16:45:00','Neckar',76,'Some("Gäste bei RV Gmunden")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Gerald Binder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-12 17:05:00','2023-06-12 19:15:00','Wiking',10,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-06-12 17:05:00','2023-06-12 19:00:00','Rudi',8,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-06-12 17:50:00','2023-06-12 21:35:00','Abgefallener',16,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Birgit Sageder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Margit Bencic')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Alexandra Binder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Gerald Binder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Klima')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-06-12 18:25:00','2023-06-12 20:45:00','Achleitnersiedlung',17,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-13 10:15:00','2023-06-13 12:55:00','2122 bis 2134',20,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-13 12:55:00','2023-06-13 18:15:00','Rodlmündung',23,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Adolf Hainschink')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-13 18:15:00','2023-06-13 20:15:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sylvia Ecker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-14 10:35:00','2023-06-14 14:05:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-06-14 18:10:00','2023-06-14 20:55:00','Dürnberger Felsen',19,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Verena Kriechbaum')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Matthias Höfer'),false,'2023-06-14 18:15:00','2023-06-14 20:40:00','2142,5',18,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-06-14 18:15:00','2023-06-14 20:35:00','Dürnberger Felsen',19,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Daniel Kortschak')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-15 10:05:00','2023-06-15 13:25:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-06-15 14:45:00','2023-06-15 16:45:00','Wiking',10,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-16 07:10:00','2023-06-16 10:50:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-16 09:01:00','2023-06-16 13:15:00','2122 bis 2134 plus 7km',31,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-16 14:05:00','2023-06-16 19:20:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-06-16 17:40:00','2023-06-16 20:20:00','Dürnberger',20,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-17 08:08:00','2023-06-17 11:50:00','2123,7 plus 7km',27,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-06-17 18:15:00','2023-06-17 21:10:00','Ottensheim Fähre',22,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-18 07:25:00','2023-06-18 11:15:00','2122 bis 2134 plus 7km',31,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-06-18 09:30:00','2023-06-18 20:45:00','Brandstatt',52,'Some("+ Regattastrecke")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-18 09:55:00','2023-06-18 17:15:00','Ottensheim Überhebstelle plus Winterhafen',34,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-19 09:55:00','2023-06-19 13:35:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-06-19 14:30:00','2023-06-19 18:10:00','Dürnberger',20,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-19 17:00:00','2023-06-19 19:15:00','2139',11,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-06-19 17:00:00','2023-06-19 19:00:00','Wiking',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-06-19 17:40:00','2023-06-19 21:55:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Birgit Sageder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Gerald Binder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Alexandra Binder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-06-19 18:40:00','2023-06-19 21:35:00','Achleitnersiedlung',17,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-06-14 12:00:00','2023-06-14 13:30:00','schulwasser',5,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Kristina Schwendinger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-06-14 12:00:00','2023-06-14 13:30:00','schulwasser',4,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Max Knauseder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Schärding'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-20 06:00:00','2023-06-20 08:25:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Commenda')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-20 08:45:00','2023-06-20 15:15:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-20 09:15:00','2023-06-20 11:50:00','Traun',18,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-20 11:50:00','2023-06-20 18:50:00','Rodlmündung',23,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Franz Poddemski')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Adolf Hainschink')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-06-20 18:10:00','2023-06-20 20:15:00','Wiking',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-06-20 18:10:00','2023-06-20 21:05:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Daniel Kortschak')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sylvia Ecker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Lackinger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-20 12:00:00','2023-06-20 15:30:00','Ottensheim Überhebstelle - 2158,5',21,'Some("Erganzung AUsfahrt 20.6.2023")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-21 09:40:00','2023-06-21 13:10:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-06-21 12:00:00','2023-06-21 14:00:00','schulwasser',1,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-06-21 13:55:00','2023-06-21 14:00:00','schulwasser',1,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Max Knauseder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Messner'),(SELECT id FROM user WHERE name='Michael Messner'),false,'2023-06-21 15:35:00','2023-06-21 16:50:00','2137,5',8,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-06-21 16:00:00','2023-06-21 18:20:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Manuela Firmötz'),false,'2023-06-21 16:05:00','2023-06-21 20:25:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Nina Füreder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-06-21 18:05:00','2023-06-21 20:45:00','Dürnberger Felsen',19,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-21 18:10:00','2023-06-21 20:30:00','2142,5',18,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Commenda')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Verena Kriechbaum')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Martin Kugler')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-06-21 18:10:00','2023-06-21 20:40:00','Dürnberger Felsen',19,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sandra Sollberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-22 06:29:00','2023-06-22 11:05:00','2122 bis 2134 plus 9km',33,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-22 08:50:00','2023-06-22 12:25:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Franjo'),(SELECT id FROM user WHERE name='Franz Poddemski'),false,'2023-06-22 09:30:00','2023-06-22 11:45:00','Steyregger Brücke',12,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='WinTech'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-06-23 08:25:00','2023-06-23 12:50:00','Ottensheim',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-06-23 18:10:00','2023-06-23 21:00:00','Dürnberger',20,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Schärding'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-24 14:15:00','2023-06-24 18:45:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-25 06:11:00','2023-06-25 11:35:00','2122 bis 2137 plus 7km',37,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-06-25 07:50:00','2023-06-25 20:10:00','Aschach',54,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-06-25 08:10:00','2023-06-25 11:10:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sylvia Ecker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-06-25 08:25:00','2023-06-25 11:25:00','Ottensheim Fähre',22,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-06-25 08:30:00','2023-06-25 17:10:00','Aschach',54,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Asgard'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-06-25 12:45:00','2023-06-25 16:10:00','Wiking',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Haichenbach'),(SELECT id FROM user WHERE name='Thomas Hoffelner'),false,'2023-06-25 12:45:00','2023-06-25 16:15:00','Wiking',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-26 09:15:00','2023-06-26 12:40:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-26 17:00:00','2023-06-26 19:45:00','2141',15,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Marie Birner'),false,'2023-06-26 17:00:00','2023-06-26 19:25:00','Blockhaus',14,'Some("Trainingsfahrt Gruber - steuern")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-06-26 17:10:00','2023-06-26 19:25:00','Robinson + 1',13,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Hermann Otto'),(SELECT id FROM user WHERE name='Thomas Klima'),false,'2023-06-26 18:00:00','2023-06-26 21:50:00','Abgefallener',16,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Alexandra Binder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Gerald Binder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Margit Bencic')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-06-26 18:00:00','2023-06-26 20:10:00','schulwasser',4,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Caroline Schwendinger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Adolf Hainschink')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-27 09:11:00','2023-06-27 12:45:00','traun muhlb',23,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Ranna'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-06-27 10:15:00','2023-06-27 12:45:00','2127',14,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-27 12:55:00','2023-06-27 19:45:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Franz Poddemski')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Adolf Hainschink')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-06-27 18:05:00','2023-06-27 21:05:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sylvia Ecker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-27 18:10:00','2023-06-27 20:40:00','2142,5',18,'Some("super Besatzung :)")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Anna Kuthan')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Nina Füreder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Lackinger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Eva-Maria Gruber'),false,'2023-06-27 18:15:00','2023-06-27 20:50:00','Ottensheim Fähre',22,'Some("Steuertraining Gruber")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Daniela Allmeier')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Martin Kugler')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-28 09:40:00','2023-06-28 13:05:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-06-28 18:10:00','2023-06-28 20:35:00','2143,5',18,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Daria Danner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-06-28 18:10:00','2023-06-28 20:45:00','Dürnberger Felsen',19,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Verena Kriechbaum')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-06-28 18:10:00','2023-06-28 20:35:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-06-28 18:10:00','2023-06-28 20:45:00','Dürnberger Felsen',19,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manuela Firmötz')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-06-29 07:22:00','2023-06-29 11:40:00','2122 bis 2134 plus 7km',31,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Karl Allmeier'),false,'2023-06-29 08:25:00','2023-06-29 10:50:00','Blockhaus',15,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Klaus Schlögl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Wolfgang Schlögl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Heinz Radinger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-29 09:20:00','2023-06-29 15:50:00','Aschach 2158,6',50,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Messner'),(SELECT id FROM user WHERE name='Michael Messner'),false,'2023-06-29 13:50:00','2023-06-29 15:40:00','2141',15,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-06-29 14:05:00','2023-06-29 16:35:00','schulwasser',10,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Kristina Schwendinger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Adolf Hainschink')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Asgard'),(SELECT id FROM user WHERE name='Nina Füreder'),false,'2023-06-29 14:10:00','2023-06-29 18:15:00','Dürnberger Felsen',19,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Lola'),(SELECT id FROM user WHERE name='Manuela Firmötz'),false,'2023-06-29 14:15:00','2023-06-29 18:15:00','Dürnberger Felsen',19,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-06-29 17:30:00','2023-06-29 21:50:00','Rodlmündung',23,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-06-30 07:45:00','2023-06-30 11:05:00','Regattastrecke',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-06-30 09:50:00','2023-06-30 13:30:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-06-30 14:05:00','2023-06-30 18:15:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sylvia Ecker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Bernhard Heinemann')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-06-30 14:05:00','2023-06-30 17:55:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manuela Firmötz')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Asgard'),(SELECT id FROM user WHERE name='Verena Kriechbaum'),false,'2023-07-01 14:10:00','2023-07-01 16:35:00','schulwasser',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Krempelstein'),(SELECT id FROM user WHERE name='Edith Steinacker'),false,'2023-07-01 14:10:00','2023-07-01 16:35:00','schulwasser',10,'Some("erste Einser Fahrt")'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Haichenbach'),(SELECT id FROM user WHERE name='Martin Kugler'),false,'2023-07-01 14:10:00','2023-07-01 16:35:00','schulwasser',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Matthias Höfer'),false,'2023-07-01 14:10:00','2023-07-01 16:35:00','schulwasser',10,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Adi'),(SELECT id FROM user WHERE name='Harald Koch'),false,'2023-07-01 14:20:00','2023-07-01 16:05:00','2137',7,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-07-02 09:15:00','2023-07-02 11:55:00','Achleitnersiedlung',17,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-02 08:15:00','2023-07-02 12:15:00','2121 und ret plus 7km',33,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Schärding'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-07-02 14:40:00','2023-07-02 17:10:00','2137,5',8,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='WinTech'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-07-03 07:55:00','2023-07-03 12:45:00','Ottensheim',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Karl Allmeier'),false,'2023-07-03 09:00:00','2023-07-03 11:55:00','Abgefallener',16,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Klaus Schlögl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Wolfgang Schlögl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Heinz Radinger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-07-03 12:40:00','2023-07-03 17:20:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-03 15:00:00','2023-07-03 18:20:00','2127',14,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-07-03 17:50:00','2023-07-03 21:45:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Birgit Sageder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Gerald Binder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Alexandra Binder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Klima')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Margit Bencic')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-07-03 17:55:00','2023-07-03 20:55:00','Dürnberger',20,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-04 11:00:00','2023-07-04 14:35:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-04 12:11:00','2023-07-04 17:05:00','2122 bis 2134 plus 7km',31,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Franz'),(SELECT id FROM user WHERE name='Ernst Klima'),true,'2023-07-04 17:55:00','2023-07-04 22:05:00','Ottensheim',23,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Adolf Hainschink')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Caroline Schwendinger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Richard Bogdan')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Larissa Freimuth')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Klima')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-07-04 18:05:00','2023-07-04 22:25:00','Rodlmündung',23,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Birgit Sageder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Gerald Binder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Lehofer'),(SELECT id FROM user WHERE name='Verena Kriechbaum'),false,'2023-07-04 18:10:00','2023-07-04 20:55:00','Wiking',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Haichenbach'),(SELECT id FROM user WHERE name='Marie Birner'),false,'2023-07-04 18:10:00','2023-07-04 20:55:00','Wiking',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-07-04 18:15:00','2023-07-04 20:40:00','2141',15,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Stephan Siegl')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-07-04 18:15:00','2023-07-04 21:10:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-07-04 18:30:00','2023-07-04 21:00:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sylvia Ecker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-05 09:30:00','2023-07-05 13:10:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Franz'),(SELECT id FROM user WHERE name='Daniela Allmeier'),true,'2023-07-05 18:15:00','2023-07-05 20:20:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manfred Meindl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Juan Francisco Bautista Serrano')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philipp Hofer')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Commenda')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-07-06 05:55:00','2023-07-06 08:35:00','Steyregger Brücke + Winterhafen + 2',18,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Karl Allmeier'),false,'2023-07-06 09:40:00','2023-07-06 15:10:00','Abgefallener',16,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Wolfgang Schlögl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Heinz Radinger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-06 09:55:00','2023-07-06 13:30:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Franjo'),(SELECT id FROM user WHERE name='Franz Poddemski'),false,'2023-07-07 08:10:00','2023-07-07 10:50:00','Steyregger Brücke plus 2km',14,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-07 08:10:00','2023-07-07 10:50:00','2126',16,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-07 08:50:00','2023-07-07 12:30:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-07-07 13:00:00','2023-07-07 17:15:00','Ottensheim Regattastrecke',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Martin Kugler')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Hermann Otto'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-07-07 14:00:00','2023-07-07 18:05:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-08 08:20:00','2023-07-08 11:50:00','traun muhlb',23,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-07-08 09:15:00','2023-07-08 11:35:00','Rudi',8,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-07-08 09:15:00','2023-07-08 11:50:00','2137',7,'Some("Schnupperrudern")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-07-08 09:15:00','2023-07-08 11:35:00','Wasserschischule',5,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Thomas Klima'),false,'2023-07-08 12:55:00','2023-07-08 15:45:00','Dürnberger',20,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Margit Bencic')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-07-08 13:55:00','2023-07-08 16:35:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Martin Kugler')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-07-08 14:10:00','2023-07-08 19:20:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manuela Firmötz')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-07-08 14:10:00','2023-07-08 17:55:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manfred Meindl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Nina Füreder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-09 07:25:00','2023-07-09 11:07:00','traun muhlb plus 2',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-07-09 08:00:00','2023-07-09 11:25:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Ranna'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-07-10 14:45:00','2023-07-10 17:50:00','Rodlmündung',23,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-07-10 17:05:00','2023-07-10 19:30:00','Wiking',10,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Franz'),(SELECT id FROM user WHERE name='Daniela Allmeier'),true,'2023-07-10 17:05:00','2023-07-10 19:30:00','Wiking',10,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-10 17:45:00','2023-07-10 22:05:00','Abgefallener',16,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Alexandra Binder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Gerald Binder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Birgit Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Klaus Schlögl'),false,'2023-07-11 08:30:00','2023-07-11 11:15:00','Abgefallener',16,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Wolfgang Schlögl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Heinz Radinger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-11 08:35:00','2023-07-11 12:25:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-11 11:15:00','2023-07-11 13:10:00','Steyregger Brücke',12,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-11 13:15:00','2023-07-11 18:20:00','Ottensheim Rodl',23,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Christian Gusenbauer')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-07-11 18:05:00','2023-07-11 20:40:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Stephan Siegl')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-07-11 18:05:00','2023-07-11 20:25:00','Wiking',10,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Erich Zauner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Juan Francisco Bautista Serrano')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Lehofer'),(SELECT id FROM user WHERE name='Sylvia Ecker'),false,'2023-07-11 18:10:00','2023-07-11 20:55:00','Wiking',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Haichenbach'),(SELECT id FROM user WHERE name='Martin Kugler'),false,'2023-07-11 18:10:00','2023-07-11 20:55:00','Wiking',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Krempelstein'),(SELECT id FROM user WHERE name='Verena Kriechbaum'),false,'2023-07-11 18:10:00','2023-07-11 20:55:00','Wiking',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Adi'),(SELECT id FROM user WHERE name='Marie Birner'),false,'2023-07-11 18:10:00','2023-07-11 20:55:00','Wiking',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-12 09:15:00','2023-07-12 12:40:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-07-12 14:00:00','2023-07-12 16:55:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Martina Schwendinger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Adolf Hainschink')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-07-12 17:30:00','2023-07-12 20:15:00','Blockhaus',14,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-07-13 16:55:00','2023-07-13 19:25:00','Dürnberger Felsen',19,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Michael Messner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Adi'),(SELECT id FROM user WHERE name='Marie Birner'),false,'2023-07-13 17:00:00','2023-07-13 20:05:00','Ottensheim Fähre',22,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Haichenbach'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-07-13 17:00:00','2023-07-13 20:05:00','Ottensheim Fähre',22,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-14 07:30:00','2023-07-14 11:25:00','2123 7 und retur plus7km',29,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Franjo'),(SELECT id FROM user WHERE name='Franz Poddemski'),false,'2023-07-14 08:20:00','2023-07-14 11:30:00','Dürnberger Felsen',19,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-14 09:25:00','2023-07-14 15:10:00','Wesenufer',119,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Schärding'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-07-14 14:10:00','2023-07-14 19:40:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-07-15 05:45:00','2023-07-15 20:40:00','Wallsee, Wiking + 2',85,'Some("Sternfahrt Wiking")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-07-15 05:45:00','2023-07-15 19:15:00','Wallsee-Wiking',84,'Some("Sternfahrt Wiking")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Michael Messner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-15 06:45:00','2023-07-15 14:20:00','2121 bis 2146 und ret',50,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Heinz Radinger'),false,'2023-07-15 07:30:00','2023-07-15 10:45:00','Abgefallener',16,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Klaus Schlögl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Wolfgang Schlögl')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-07-15 09:05:00','2023-07-15 20:30:00','2161',55,'Some("Sternfahrt Wiking - letzte 5 km gesteuert von Firmötz Manuela")'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manuela Firmötz')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manfred Meindl')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Hermann Otto'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-07-15 10:05:00','2023-07-15 15:00:00','Ottensheim Regattastrecke',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Burkhard Riss')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Juan Francisco Bautista Serrano')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Dreamliner'),(SELECT id FROM user WHERE name='Bernhard Heinemann'),false,'2023-07-15 11:55:00','2023-07-15 20:40:00','Ottensheim',25,'Some("Ruder von Club100")'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='WinTech'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-07-16 10:20:00','2023-07-16 14:55:00','Abgefallenerplus 4km',29,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-07-16 14:15:00','2023-07-16 18:25:00','Dürnberger',20,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Ranna'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-07-16 16:00:00','2023-07-16 19:15:00','Ottensheim Regattastrecke',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-17 14:20:00','2023-07-17 18:05:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Christian Gusenbauer'),false,'2023-07-17 15:10:00','2023-07-17 20:30:00','Ottensheim Regattastrecke',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Martina Schwendinger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Adolf Hainschink')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Franz'),(SELECT id FROM user WHERE name='Daniela Allmeier'),true,'2023-07-17 17:05:00','2023-07-17 19:05:00','Wiking',10,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Daniel Kortschak')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Matthias List')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Asgard'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-07-17 17:10:00','2023-07-17 19:50:00','Wiking',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Haichenbach'),(SELECT id FROM user WHERE name='Martin Kugler'),false,'2023-07-17 17:10:00','2023-07-17 19:55:00','Blockhaus',14,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Lehofer'),(SELECT id FROM user WHERE name='Eva-Maria Gruber'),false,'2023-07-17 17:10:00','2023-07-17 19:55:00','Wiking',10,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Adi'),(SELECT id FROM user WHERE name='Marie Birner'),false,'2023-07-17 17:25:00','2023-07-17 19:55:00','Blockhaus',14,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Messner'),(SELECT id FROM user WHERE name='Michael Messner'),false,'2023-06-24 16:50:00','2023-06-24 18:30:00','Heimatrunde :-)',11,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-07-17 19:00:00','2023-07-17 21:25:00','Achleitnersiedlung',17,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Schärding'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-07-18 05:50:00','2023-07-18 08:35:00','2142,5',18,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-18 09:55:00','2023-07-18 13:35:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Dreamliner'),(SELECT id FROM user WHERE name='Bernhard Heinemann'),false,'2023-07-18 09:55:00','2023-07-18 13:45:00','Ottensheim',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-18 10:19:00','2023-07-18 16:05:00','2125 bis 2143',36,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Haichenbach'),(SELECT id FROM user WHERE name='Philip Baillon'),false,'2023-07-18 17:50:00','2023-07-18 21:10:00','Achleitnersiedlung',17,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Lehofer'),(SELECT id FROM user WHERE name='Sylvia Ecker'),false,'2023-07-18 17:50:00','2023-07-18 20:20:00','schulwasser',8,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Adi'),(SELECT id FROM user WHERE name='Marie Birner'),false,'2023-07-18 17:50:00','2023-07-18 20:20:00','schulwasser',8,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-07-18 18:20:00','2023-07-18 21:35:00','Ottensheim Regattastrecke + 1km',30,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Martin Kugler')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Club100'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-07-18 18:20:00','2023-07-18 21:00:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Elisabeth Totschnig')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Burkhard Riss')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Lackinger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Juan Francisco Bautista Serrano')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Stephan Siegl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Melanie Ludwig')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Messner'),(SELECT id FROM user WHERE name='Michael Messner'),false,'2023-07-18 18:35:00','2023-07-18 20:55:00','Dürnberger Felsen',19,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Matthias Höfer'),false,'2023-07-18 18:55:00','2023-07-18 20:15:00','schulwasser',5,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-19 09:40:00','2023-07-19 13:10:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-07-19 18:25:00','2023-07-19 21:00:00','Achleitnersiedlung',17,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Joe'),(SELECT id FROM user WHERE name='Heinz Radinger'),false,'2023-07-20 08:20:00','2023-07-20 15:50:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Klaus Schlögl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Wolfgang Schlögl')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-20 10:25:00','2023-07-20 14:10:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Asgard'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-07-20 14:50:00','2023-07-20 18:10:00','Blockhaus',14,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Lehofer'),(SELECT id FROM user WHERE name='Thomas Hoffelner'),false,'2023-07-20 14:55:00','2023-07-20 18:10:00','Blockhaus',14,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Messner'),(SELECT id FROM user WHERE name='Michael Messner'),false,'2023-07-20 18:15:00','2023-07-20 20:35:00','Dürnberger Felsen',19,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-21 09:50:00','2023-07-21 13:20:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-07-21 14:05:00','2023-07-21 18:45:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Lisa-Maria Schedlberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='WinTech'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-07-21 14:05:00','2023-07-21 18:25:00','Ottensheim',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-07-21 17:50:00','2023-07-21 21:00:00','Ottensheim Fähre',22,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-22 07:47:00','2023-07-22 11:50:00','2124 plus 7km',27,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-22 11:30:00','2023-07-22 15:10:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Michael Messner'),false,'2023-07-22 15:55:00','2023-07-22 18:00:00','2141',15,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-23 06:32:00','2023-07-23 11:05:00','2122 bis 2134 plus 7km',31,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-07-23 07:50:00','2023-07-23 11:15:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-07-23 08:10:00','2023-07-23 10:40:00','Achleitnersiedlung',17,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-07-23 08:30:00','2023-07-23 11:35:00','Ottensheim Fähre',22,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Karl Allmeier')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Elisabeth Fölser')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sylvia Ecker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-23 09:55:00','2023-07-23 13:30:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Dreamliner'),(SELECT id FROM user WHERE name='Bernhard Heinemann'),false,'2023-07-23 10:35:00','2023-07-23 14:20:00','Ottensheim Fähre',22,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Heinz Radinger'),false,'2023-07-24 08:25:00','2023-07-24 11:25:00','Abgefallener',16,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Klaus Schlögl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Wolfgang Schlögl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Karl Allmeier')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-07-24 08:50:00','2023-07-24 14:05:00','Ottensheim Regattastrecke + Winterhafen',32,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Etsch'),(SELECT id FROM user WHERE name='Siegfried Sageder'),false,'2023-07-24 09:30:00','2023-07-24 12:55:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Andrea Sageder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Messner'),(SELECT id FROM user WHERE name='Michael Messner'),false,'2023-07-24 19:00:00','2023-07-24 20:55:00','Achleitnersiedlung',17,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Friedl'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-07-25 18:10:00','2023-07-25 21:05:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Philip Baillon')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Ingrid Klug')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Daniela Allmeier'),false,'2023-07-25 18:10:00','2023-07-25 20:30:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Matthias List')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Elisabeth Totschnig')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Burkhard Riss')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-07-25 18:10:00','2023-07-25 20:40:00','2123,5',20,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sylvia Ecker')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Nina Füreder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='WinTech'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-07-25 18:15:00','2023-07-25 21:15:00','Ottensheim',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Luzern'),(SELECT id FROM user WHERE name='Michael Messner'),false,'2023-07-25 18:15:00','2023-07-25 21:20:00','Regattastrecke + 1000m',27,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Hermann Otto'),(SELECT id FROM user WHERE name='Philip Baillon'),false,'2023-07-26 18:25:00','2023-07-26 20:40:00','2141',15,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Michael Messner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Edith Steinacker')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Pfaff'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-07-26 18:00:00','2023-07-26 21:50:00','Ottensheim',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Adi'),(SELECT id FROM user WHERE name='Marie Birner'),false,'2023-07-26 18:00:00','2023-07-26 21:50:00','Ottensheim',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-27 10:15:00','2023-07-27 14:05:00','traun muhlb plus 2',25,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Sandra Sollberger'),false,'2023-07-27 16:35:00','2023-07-27 20:30:00','Ottensheim Regattastrecke + 1km',30,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-07-27 17:05:00','2023-07-27 20:30:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Thomas Hoffelner')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Messner'),(SELECT id FROM user WHERE name='Michael Messner'),false,'2023-07-27 17:30:00','2023-07-27 20:55:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='WinTech'),(SELECT id FROM user WHERE name='Michael Sageder'),false,'2023-07-27 17:50:00','2023-07-27 19:45:00','Abgefallener',16,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Christiana'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-07-28 14:05:00','2023-07-28 18:45:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Melanie Ludwig')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sandra Sollberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Moby Dyk'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-07-28 14:05:00','2023-07-28 18:30:00','Ottensheim',25,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Manfred Meindl')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Lackinger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Dreamliner'),(SELECT id FROM user WHERE name='Bernhard Heinemann'),false,'2023-07-28 14:35:00','2023-07-28 18:45:00','Ottensheim Fähre',22,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Klima Ernst'),(SELECT id FROM user WHERE name='Ernst Klima'),false,'2023-07-31 08:05:00','2023-07-31 10:55:00','Abgefallener',16,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Franjo'),(SELECT id FROM user WHERE name='Franz Poddemski'),false,'2023-07-31 08:05:00','2023-07-31 10:55:00','Blockhaus',14,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='WinTech'),(SELECT id FROM user WHERE name='Manfred Meindl'),false,'2023-07-31 08:10:00','2023-07-31 19:00:00','Aschach',58,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Thomas Klima'),false,'2023-07-31 17:45:00','2023-07-31 21:20:00','Abgefallener',16,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Margit Bencic')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Alexandra Binder')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Gerald Binder')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Messner'),(SELECT id FROM user WHERE name='Michael Messner'),false,'2023-07-31 17:45:00','2023-07-31 20:45:00','Ottensheim Überhebstelle',29,'None'); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Urfahr'),(SELECT id FROM user WHERE name='Christian Commenda'),false,'2023-07-31 17:50:00','2023-07-31 20:25:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Martin Kugler')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Erich'),(SELECT id FROM user WHERE name='Daniel Kortschak'),false,'2023-07-31 18:10:00','2023-07-31 20:45:00','Abgefallener',16,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Eva-Maria Gruber')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Linz'),(SELECT id FROM user WHERE name='Philipp Hofer'),false,'2023-08-01 16:35:00','2023-08-01 19:45:00','Ottensheim Regattastrecke + 1',30,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Marie Birner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Claudia Jagersberger')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Sandra Sollberger')); +INSERT INTO logbook (boat_id, shipmaster, shipmaster_only_steering, departure, arrival,destination, distance_in_km, comments) VALUES ((SELECT id FROM boat WHERE name='Hansiburli'),(SELECT id FROM user WHERE name='Philip Baillon'),false,'2023-08-01 17:30:00','2023-08-01 19:50:00','Achleitnersiedlung',17,'None'); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Michael Messner')); +INSERT INTO rower (logbook_id, rower_id) VALUES ((SELECT seq FROM sqlite_sequence WHERE name='logbook'), (SELECT id FROM user WHERE name='Raphael Eichhorn')); + From bd4ee5954cf91669bc78e680c144056423d02a2c Mon Sep 17 00:00:00 2001 From: philipp Date: Wed, 9 Aug 2023 11:54:18 +0200 Subject: [PATCH 09/10] implement is_locked for trip_details --- migration.sql | 1 + src/model/planned_event.rs | 17 ++++++-- src/model/trip.rs | 70 ++++++++++++++++++++++++++------- src/model/tripdetails.rs | 3 +- src/model/usertrip.rs | 25 ++++++++++-- src/tera/admin/planned_event.rs | 2 + src/tera/cox.rs | 37 +++++++++++------ src/tera/mod.rs | 40 +++++++++++++------ templates/index.html.tera | 2 + 9 files changed, 150 insertions(+), 47 deletions(-) diff --git a/migration.sql b/migration.sql index 5e50687..a2b0eb7 100644 --- a/migration.sql +++ b/migration.sql @@ -26,6 +26,7 @@ CREATE TABLE IF NOT EXISTS "trip_details" ( "allow_guests" boolean NOT NULL default false, "notes" TEXT, "always_show" boolean NOT NULL default false, + "is_locked" boolean NOT NULL default false, "trip_type_id" INTEGER REFERENCES trip_type(id) ON DELETE CASCADE ); diff --git a/src/model/planned_event.rs b/src/model/planned_event.rs index 3028724..8444c2e 100644 --- a/src/model/planned_event.rs +++ b/src/model/planned_event.rs @@ -23,6 +23,7 @@ pub struct PlannedEvent { pub allow_guests: bool, trip_type_id: Option, always_show: bool, + is_locked: bool, } #[derive(Serialize)] @@ -49,7 +50,7 @@ impl PlannedEvent { Self, " SELECT - planned_event.id, planned_event.name, planned_amount_cox, trip_details_id, planned_starting_time, max_people, day, notes, allow_guests, trip_type_id, always_show + planned_event.id, planned_event.name, planned_amount_cox, trip_details_id, planned_starting_time, max_people, day, notes, allow_guests, trip_type_id, always_show, is_locked FROM planned_event INNER JOIN trip_details ON planned_event.trip_details_id = trip_details.id WHERE planned_event.id like ? @@ -77,7 +78,7 @@ WHERE planned_event.id like ? let day = format!("{day}"); let events = sqlx::query_as!( PlannedEvent, - "SELECT planned_event.id, planned_event.name, planned_amount_cox, trip_details_id, planned_starting_time, always_show, max_people, day, notes, allow_guests, trip_type_id + "SELECT planned_event.id, planned_event.name, planned_amount_cox, trip_details_id, planned_starting_time, always_show, max_people, day, notes, allow_guests, trip_type_id, is_locked FROM planned_event INNER JOIN trip_details ON planned_event.trip_details_id = trip_details.id WHERE day=?", @@ -108,7 +109,7 @@ WHERE day=?", pub async fn all(db: &SqlitePool) -> Vec { sqlx::query_as!( PlannedEvent, - "SELECT planned_event.id, planned_event.name, planned_amount_cox, trip_details_id, planned_starting_time, always_show, max_people, day, notes, allow_guests, trip_type_id + "SELECT planned_event.id, planned_event.name, planned_amount_cox, trip_details_id, planned_starting_time, always_show, max_people, day, notes, allow_guests, trip_type_id, is_locked FROM planned_event INNER JOIN trip_details ON planned_event.trip_details_id = trip_details.id", ) @@ -195,6 +196,7 @@ FROM user_trip WHERE trip_details_id = (SELECT trip_details_id FROM planned_even max_people: i32, notes: Option<&str>, always_show: bool, + is_locked: bool, ) { sqlx::query!( "UPDATE planned_event SET planned_amount_cox = ? WHERE id = ?", @@ -206,10 +208,11 @@ FROM user_trip WHERE trip_details_id = (SELECT trip_details_id FROM planned_even .unwrap(); //Okay, as planned_event can only be created with proper DB backing sqlx::query!( - "UPDATE trip_details SET max_people = ?, notes = ?, always_show=? WHERE id = ?", + "UPDATE trip_details SET max_people = ?, notes = ?, always_show = ?, is_locked = ? WHERE id = ?", max_people, notes, always_show, + is_locked, self.trip_details_id ) .execute(db) @@ -242,6 +245,12 @@ FROM user_trip WHERE trip_details_id = (SELECT trip_details_id FROM planned_even write!(&mut buf, "{}", calendar).unwrap(); String::from_utf8(buf).unwrap() } + + pub async fn trip_details(&self, db: &SqlitePool) -> TripDetails { + TripDetails::find_by_id(db, self.trip_details_id) + .await + .unwrap() //ok, not null in db + } } #[cfg(test)] diff --git a/src/model/trip.rs b/src/model/trip.rs index bfb7564..491127d 100644 --- a/src/model/trip.rs +++ b/src/model/trip.rs @@ -22,6 +22,7 @@ pub struct Trip { pub allow_guests: bool, trip_type_id: Option, always_show: bool, + is_locked: bool, } #[derive(Serialize)] @@ -48,7 +49,7 @@ impl Trip { sqlx::query_as!( Self, " -SELECT trip.id, cox_id, user.name as cox_name, trip_details_id, planned_starting_time, max_people, day, notes, allow_guests, trip_type_id, always_show +SELECT trip.id, cox_id, user.name as cox_name, trip_details_id, planned_starting_time, max_people, day, notes, allow_guests, trip_type_id, always_show, is_locked FROM trip INNER JOIN trip_details ON trip.trip_details_id = trip_details.id INNER JOIN user ON trip.cox_id = user.id @@ -71,6 +72,14 @@ WHERE trip.id=? return Err(CoxHelpError::AlreadyRegisteredAsRower); } + if planned_event.trip_details(db).await.is_locked { + return Err(CoxHelpError::DetailsLocked); + } + + if planned_event.is_rower_registered(db, cox).await { + return Err(CoxHelpError::AlreadyRegisteredAsRower); + } + match sqlx::query!( "INSERT INTO trip (cox_id, planned_event_id) VALUES(?, ?)", cox.id, @@ -89,7 +98,7 @@ WHERE trip.id=? let trips = sqlx::query_as!( Trip, " -SELECT trip.id, cox_id, user.name as cox_name, trip_details_id, planned_starting_time, max_people, day, notes, allow_guests, trip_type_id, always_show +SELECT trip.id, cox_id, user.name as cox_name, trip_details_id, planned_starting_time, max_people, day, notes, allow_guests, trip_type_id, always_show, is_locked FROM trip INNER JOIN trip_details ON trip.trip_details_id = trip_details.id INNER JOIN user ON trip.cox_id = user.id @@ -141,6 +150,7 @@ FROM user_trip WHERE trip_details_id = (SELECT trip_details_id FROM trip WHERE i notes: Option<&str>, trip_type: Option, //TODO: Move to `TripType` always_show: bool, + is_locked: bool, ) -> Result<(), TripUpdateError> { if !trip.is_trip_from_user(cox.id) { return Err(TripUpdateError::NotYourTrip); @@ -158,11 +168,12 @@ FROM user_trip WHERE trip_details_id = (SELECT trip_details_id FROM trip WHERE i }; sqlx::query!( - "UPDATE trip_details SET max_people = ?, notes = ?, trip_type_id = ?, always_show = ? WHERE id = ?", + "UPDATE trip_details SET max_people = ?, notes = ?, trip_type_id = ?, always_show = ?, is_locked = ? WHERE id = ?", max_people, notes, trip_type, always_show, + is_locked, trip_details_id ) .execute(db) @@ -172,12 +183,23 @@ FROM user_trip WHERE trip_details_id = (SELECT trip_details_id FROM trip WHERE i Ok(()) } + pub async fn trip_details(&self, db: &SqlitePool) -> Option { + if let Some(trip_details_id) = self.trip_type_id { + return TripDetails::find_by_id(db, trip_details_id).await; + } + None + } + pub async fn delete_by_planned_event( db: &SqlitePool, cox: &CoxUser, planned_event: &PlannedEvent, - ) -> bool { - sqlx::query!( + ) -> Result<(), TripHelpDeleteError> { + if planned_event.trip_details(db).await.is_locked { + return Err(TripHelpDeleteError::DetailsLocked); + } + + let affected_rows = sqlx::query!( "DELETE FROM trip WHERE cox_id = ? AND planned_event_id = ?", cox.id, planned_event.id @@ -185,8 +207,13 @@ FROM user_trip WHERE trip_details_id = (SELECT trip_details_id FROM trip WHERE i .execute(db) .await .unwrap() - .rows_affected() - > 0 + .rows_affected(); + + if affected_rows == 0 { + return Err(TripHelpDeleteError::CoxNotHelping); + } + + Ok(()) } pub(crate) async fn delete( @@ -233,6 +260,13 @@ FROM user_trip WHERE trip_details_id = (SELECT trip_details_id FROM trip WHERE i pub enum CoxHelpError { AlreadyRegisteredAsRower, AlreadyRegisteredAsCox, + DetailsLocked, +} + +#[derive(Debug, PartialEq)] +pub enum TripHelpDeleteError { + DetailsLocked, + CoxNotHelping, } #[derive(Debug, PartialEq)] @@ -333,9 +367,11 @@ mod test { let trip = Trip::find_by_id(&pool, 1).await.unwrap(); - assert!(Trip::update_own(&pool, &cox, &trip, 10, None, None, false) - .await - .is_ok()); + assert!( + Trip::update_own(&pool, &cox, &trip, 10, None, None, false, false) + .await + .is_ok() + ); let trip = Trip::find_by_id(&pool, 1).await.unwrap(); assert_eq!(trip.max_people, 10); @@ -354,7 +390,7 @@ mod test { let trip = Trip::find_by_id(&pool, 1).await.unwrap(); assert!( - Trip::update_own(&pool, &cox, &trip, 10, None, Some(1), false) + Trip::update_own(&pool, &cox, &trip, 10, None, Some(1), false, false) .await .is_ok() ); @@ -376,9 +412,11 @@ mod test { let trip = Trip::find_by_id(&pool, 1).await.unwrap(); - assert!(Trip::update_own(&pool, &cox, &trip, 10, None, None, false) - .await - .is_err()); + assert!( + Trip::update_own(&pool, &cox, &trip, 10, None, None, false, false) + .await + .is_err() + ); assert_eq!(trip.max_people, 1); } @@ -398,7 +436,9 @@ mod test { //TODO: check why following assert fails //assert!(Trip::find_by_id(&pool, 2).await.is_some()); - Trip::delete_by_planned_event(&pool, &cox, &planned_event).await; + Trip::delete_by_planned_event(&pool, &cox, &planned_event) + .await + .unwrap(); assert!(Trip::find_by_id(&pool, 2).await.is_none()); } diff --git a/src/model/tripdetails.rs b/src/model/tripdetails.rs index c4f2fff..3b6b91c 100644 --- a/src/model/tripdetails.rs +++ b/src/model/tripdetails.rs @@ -13,6 +13,7 @@ pub struct TripDetails { pub allow_guests: bool, pub trip_type_id: Option, pub always_show: bool, + pub is_locked: bool, } #[derive(FromForm, Serialize)] @@ -33,7 +34,7 @@ impl TripDetails { sqlx::query_as!( TripDetails, " -SELECT id, planned_starting_time, max_people, day, notes, allow_guests, trip_type_id, always_show +SELECT id, planned_starting_time, max_people, day, notes, allow_guests, trip_type_id, always_show, is_locked FROM trip_details WHERE id like ? ", diff --git a/src/model/usertrip.rs b/src/model/usertrip.rs index 10a27ca..8b8500d 100644 --- a/src/model/usertrip.rs +++ b/src/model/usertrip.rs @@ -14,6 +14,10 @@ impl UserTrip { return Err(UserTripError::EventAlreadyFull); } + if trip_details.is_locked { + return Err(UserTripError::DetailsLocked); + } + if user.is_guest && !trip_details.allow_guests { return Err(UserTripError::GuestNotAllowedForThisEvent); } @@ -68,8 +72,15 @@ impl UserTrip { } } - pub async fn delete(db: &SqlitePool, user: &User, trip_details: &TripDetails) { - //TODO: Check if > 2 hrs to event + pub async fn delete( + db: &SqlitePool, + user: &User, + trip_details: &TripDetails, + ) -> Result<(), UserTripDeleteError> { + if trip_details.is_locked { + return Err(UserTripDeleteError::DetailsLocked); + } + let _ = sqlx::query!( "DELETE FROM user_trip WHERE user_id = ? AND trip_details_id = ?", user.id, @@ -77,7 +88,9 @@ impl UserTrip { ) .execute(db) .await - .is_ok(); + .unwrap(); + + Ok(()) } } @@ -86,10 +99,16 @@ pub enum UserTripError { AlreadyRegistered, AlreadyRegisteredAsCox, EventAlreadyFull, + DetailsLocked, CantRegisterAtOwnEvent, GuestNotAllowedForThisEvent, } +#[derive(Debug, PartialEq)] +pub enum UserTripDeleteError { + DetailsLocked, +} + #[cfg(test)] mod test { use crate::{ diff --git a/src/tera/admin/planned_event.rs b/src/tera/admin/planned_event.rs index 87676a5..c732944 100644 --- a/src/tera/admin/planned_event.rs +++ b/src/tera/admin/planned_event.rs @@ -47,6 +47,7 @@ struct UpdatePlannedEventForm<'r> { max_people: i32, notes: Option<&'r str>, always_show: bool, + is_locked: bool, } #[put("/planned-event", data = "")] @@ -64,6 +65,7 @@ async fn update( data.max_people, data.notes, data.always_show, + data.is_locked, ) .await; Flash::success(Redirect::to("/"), "Successfully edited the event") diff --git a/src/tera/cox.rs b/src/tera/cox.rs index ad4a344..79bc5aa 100644 --- a/src/tera/cox.rs +++ b/src/tera/cox.rs @@ -9,7 +9,7 @@ use sqlx::SqlitePool; use crate::model::{ log::Log, planned_event::PlannedEvent, - trip::{CoxHelpError, Trip, TripDeleteError, TripUpdateError}, + trip::{CoxHelpError, Trip, TripDeleteError, TripHelpDeleteError, TripUpdateError}, tripdetails::{TripDetails, TripDetailsToAdd}, user::CoxUser, }; @@ -43,6 +43,7 @@ struct EditTripForm<'r> { notes: Option<&'r str>, trip_type: Option, always_show: bool, + is_locked: bool, } #[post("/trip/", data = "")] @@ -61,6 +62,7 @@ async fn update( data.notes, data.trip_type, data.always_show, + data.is_locked, ) .await { @@ -99,6 +101,9 @@ async fn join(db: &State, planned_event_id: i64, cox: CoxUser) -> Fl Redirect::to("/"), "Du hast dich bereits als Ruderer angemeldet!", ), + Err(CoxHelpError::DetailsLocked) => { + Flash::error(Redirect::to("/"), "Boot ist bereits eingeteilt.") + } } } else { Flash::error(Redirect::to("/"), "Event gibt's nicht") @@ -129,19 +134,25 @@ async fn remove_trip(db: &State, trip_id: i64, cox: CoxUser) -> Flas #[get("/remove/")] async fn remove(db: &State, planned_event_id: i64, cox: CoxUser) -> Flash { if let Some(planned_event) = PlannedEvent::find_by_id(db, planned_event_id).await { - if Trip::delete_by_planned_event(db, &cox, &planned_event).await { - Log::create( - db, - format!( - "Cox {} deleted registration for planned_event.id={}", - cox.name, planned_event_id - ), - ) - .await; + match Trip::delete_by_planned_event(db, &cox, &planned_event).await { + Ok(_) => { + Log::create( + db, + format!( + "Cox {} deleted registration for planned_event.id={}", + cox.name, planned_event_id + ), + ) + .await; - Flash::success(Redirect::to("/"), "Erfolgreich abgemeldet!") - } else { - Flash::error(Redirect::to("/"), "Steuermann hilft nicht aus...") + return Flash::success(Redirect::to("/"), "Erfolgreich abgemeldet!"); + } + Err(TripHelpDeleteError::DetailsLocked) => { + return Flash::error(Redirect::to("/"), "Boot bereits eingeteilt"); + } + Err(TripHelpDeleteError::CoxNotHelping) => { + return Flash::error(Redirect::to("/"), "Steuermann hilft nicht aus...") + } } } else { Flash::error(Redirect::to("/"), "Planned_event does not exist.") diff --git a/src/tera/mod.rs b/src/tera/mod.rs index bcbee30..04cb21e 100644 --- a/src/tera/mod.rs +++ b/src/tera/mod.rs @@ -16,7 +16,7 @@ use crate::model::{ tripdetails::TripDetails, triptype::TripType, user::User, - usertrip::{UserTrip, UserTripError}, + usertrip::{UserTrip, UserTripDeleteError, UserTripError}, }; mod admin; @@ -81,6 +81,10 @@ async fn join(db: &State, trip_details_id: i64, user: User) -> Flash Redirect::to("/"), "Bei dieser Ausfahrt können leider keine Gäste mitfahren.", ), + Err(UserTripError::DetailsLocked) => Flash::error( + Redirect::to("/"), + "Das Boot ist bereits eingeteilt. Bitte kontaktiere den Schiffsführer (Nummern siehe Signalgruppe) falls du dich doch abmelden willst.", + ), } } @@ -90,18 +94,32 @@ async fn remove(db: &State, trip_details_id: i64, user: User) -> Fla return Flash::error(Redirect::to("/"), "TripDetailsId does not exist"); }; - UserTrip::delete(db, &user, &trip_details).await; + match UserTrip::delete(db, &user, &trip_details).await { + Ok(_) => { + Log::create( + db, + format!( + "User {} unregistered for trip_details.id={}", + user.name, trip_details_id + ), + ) + .await; - Log::create( - db, - format!( - "User {} unregistered for trip_details.id={}", - user.name, trip_details_id - ), - ) - .await; + Flash::success(Redirect::to("/"), "Erfolgreich abgemeldet!") + } + Err(UserTripDeleteError::DetailsLocked) => { + Log::create( + db, + format!( + "User {} tried to unregister for locked trip_details.id={}", + user.name, trip_details_id + ), + ) + .await; - Flash::success(Redirect::to("/"), "Erfolgreich abgemeldet!") + Flash::error(Redirect::to("/"), "Das Boot ist bereits eingeteilt. Bitte kontaktiere den Schiffsführer (Nummern siehe Signalgruppe) falls du dich doch abmelden willst.") + } + } } #[catch(401)] //unauthorized diff --git a/templates/index.html.tera b/templates/index.html.tera index 39f6976..41aba07 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -134,6 +134,7 @@ {{ macros::input(label='Anzahl Ruderer', name='max_people', type='number', required=true, value=planned_event.max_people, min='0') }} {{ macros::input(label='Anzahl Steuerleute', name='planned_amount_cox', type='number', value=planned_event.planned_amount_cox, required=true, min='0') }} {{ macros::checkbox(label='Immer anzeigen', name='always_show', id=planned_event.id,checked=planned_event.always_show) }} + {{ macros::checkbox(label='Gesperrt', name='is_locked', id=planned_event.id,checked=planned_event.is_locked) }} {{ macros::input(label='Anmerkungen', name='notes', type='input', value=planned_event.notes) }} @@ -223,6 +224,7 @@ {{ macros::input(label='Anzahl Ruderer', name='max_people', type='number', required=true, value=trip.max_people, min='0') }} {{ macros::input(label='Anmerkungen', name='notes', type='input', value=trip.notes) }} {{ macros::checkbox(label='Immer anzeigen', name='always_show', id=trip.id,checked=trip.always_show) }} + {{ macros::checkbox(label='Gesperrt', name='is_locked', id=trip.id,checked=trip.is_locked) }} {{ macros::select(select_name='trip_type', data=trip_types, default='Reguläre Ausfahrt', selected_id=trip.trip_type_id) }} From 0afd523e0543ab0e6a5762a98b2a1a6cd45cd359 Mon Sep 17 00:00:00 2001 From: philipp Date: Wed, 9 Aug 2023 12:01:49 +0200 Subject: [PATCH 10/10] update faq --- templates/faq.html.tera | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/faq.html.tera b/templates/faq.html.tera index 6b9229c..b32f242 100644 --- a/templates/faq.html.tera +++ b/templates/faq.html.tera @@ -8,6 +8,11 @@
{% if loggedin_user.is_cox %} + {{ macros::faq( + question='Was bedeuted "gesperrt"?', + answer='Sobald du keine An- und Abmeldungen mehr erlauben willst (zB weil es bereits eine Bootseinteilung gibt), kannst du eine Ausfahrt sperren. Um deinen administrativen Aufwand zu minimieren, versuche die Ausfahrt möglichst spät zu sperren (ansonsten bekommst du potentiell private Nachrichten von Rudernde, die sich noch an- oder abmelden wollen.') + }} + {{ macros::faq( question='Was bedeutet "Immer anzeigen"?', answer='Nicht-Steuerleute sehen normale Ausfahrten 6 Tage im vorhinein. Wenn du "immer anzeigen" aktivierst, sehen Nicht-Steuerleute die Ausfahrt sofort. Die Funktion sollte nur sehr gezielt aktiviert werden (zB bei Fetzenfahrt-Anmeldung).') @@ -51,7 +56,7 @@ {{ macros::faq( question='Wann kann ich mich zu Ausfahrten anmelden?', - answer='Du kannst Ausfahrten bis zu 6 Tage im Voraus sehen. Vergiss nicht, dich mindestens 2 Stunden vor Beginn an- bzw. abzumelden. Gelegentlich, wie bei der Marktausfahrt am Freitag, werden Ausfahrten kurzfristiger angekündigt. Wenn du keine Ausfahrt verpassen willst, freut sich diese Seite über Aufrufe ;-)') + answer='Du kannst Ausfahrten bis zu 6 Tage im Voraus sehen. Bis zur Bootseinteilung kannst du dich jederzeit wieder abmelden. Aus Erfahrung passiert die Bootseinteilung 1-2 Stunden vor der Ausfahrt, zur besseren Planbarkeit melde dich bitte ab sobald du weißt dass du (doch) nicht mitfahren kannst. Gelegentlich, wie bei der Marktausfahrt am Freitag, werden Ausfahrten kurzfristiger angekündigt. Wenn du keine Ausfahrt verpassen willst, freut sich diese Seite über Aufrufe ;-)') }} {{ macros::faq(