Skip to content

Commit

Permalink
Show only unique driver names
Browse files Browse the repository at this point in the history
Show only unique driver names. An initial fix for #3.
  • Loading branch information
gdsotirov committed Aug 26, 2021
1 parent 73ed90d commit dc9976b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified db/model/lemans24.mwb
Binary file not shown.
4 changes: 2 additions & 2 deletions db/model/lemans24.sql

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion db/views/Results.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dc9976b

Please sign in to comment.