diff --git a/db/model/lemans24.mwb b/db/model/lemans24.mwb index 6a097b0..6684c00 100644 Binary files a/db/model/lemans24.mwb and b/db/model/lemans24.mwb differ diff --git a/db/model/lemans24.sql b/db/model/lemans24.sql index 504418c..7125693 100644 --- a/db/model/lemans24.sql +++ b/db/model/lemans24.sql @@ -1,5 +1,5 @@ -- MySQL Script generated by MySQL Workbench --- Thu Aug 26 21:26:03 2021 +-- Thu Aug 26 21:30:02 2021 -- Model: Le Mans 24h Version: 1.0 -- MySQL Workbench Forward Engineering @@ -1039,7 +1039,7 @@ SELECT R.id AS Race, AS Team, GROUP_CONCAT(D.country ORDER BY DR.ord_num ASC SEPARATOR '|') AS DCountry, - GROUP_CONCAT(CONCAT(IFNULL(D.fname, 'f.n.u.'), ' ', D.lname) + GROUP_CONCAT(DISTINCT CONCAT(IFNULL(D.fname, 'f.n.u.'), ' ', D.lname) ORDER BY DR.ord_num ASC SEPARATOR '|') AS Drivers, C.car_chassis AS Chassis, diff --git a/db/views/Results.sql b/db/views/Results.sql index 4559af7..837240d 100644 --- a/db/views/Results.sql +++ b/db/views/Results.sql @@ -9,7 +9,7 @@ SELECT R.id AS Race, AS Team, GROUP_CONCAT(D.country ORDER BY DR.ord_num ASC SEPARATOR '|') AS DCountry, - GROUP_CONCAT(CONCAT(IFNULL(D.fname, 'f.n.u.'), ' ', D.lname) + GROUP_CONCAT(DISTINCT CONCAT(IFNULL(D.fname, 'f.n.u.'), ' ', D.lname) ORDER BY DR.ord_num ASC SEPARATOR '|') AS Drivers, C.car_chassis AS Chassis,