-- list of runners
select name,
number_of_laps_run,
bonus_points,
fastest,
average
from runner,
(select min(duration / 1000) fastest, runner_id from lap where duration > 0 group by runner_id) as fastestlap
where fastestlap.runner_id = runner.id;
-- list of sponsors
select sponsor.name,
per_lap_donation,
one_time_donation,
runner.name,
coalesce(runner.number_of_laps_run, 0) laps,
coalesce(runner.bonus_points, 0) bonus,
total_donation,
runner.room_number
from sponsor,
runner
where sponsor.runner_id = runner.id
order by runner.room_number asc, runner.name asc;
MainLayout.java
insrc/main/java
contains the navigation setup (i.e., the side/top bar and the main menu). This setup uses App Layout.views
package insrc/main/java
contains the server-side Java views of your application.views
folder infrontend/
contains the client-side JavaScript views of your application.themes
folder infrontend/
contains the custom CSS styles.
- Read the documentation at vaadin.com/docs.
- Follow the tutorials at vaadin.com/tutorials.
- Watch training videos and get certified at vaadin.com/learn/training.
- Create new projects at start.vaadin.com.
- Search UI components and their usage examples at vaadin.com/components.
- View use case applications that demonstrate Vaadin capabilities at vaadin.com/examples-and-demos.
- Discover Vaadin's set of CSS utility classes that enable building any UI without custom CSS in the docs.
- Find a collection of solutions to common use cases in Vaadin Cookbook.
- Find Add-ons at vaadin.com/directory.
- Ask questions on Stack Overflow or join our Discord channel.
- Report issues, create pull requests in GitHub.