Skip to content
Advertisement

Make table out of different columns and assign values to add them up

I want this:

where a win equals 3 points, a win in PV equals 2 points and a lose in PV equals to 1 point,

to show like this:

I just can’t figure out how to connect the values with SQL-Statements! Any help is appreciated 🙂

Advertisement

Answer

You can do:

Alternatively, you can filter out rows first and aggregate at the end, as in:

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement