Skip to content
Advertisement

Grouping certain rows into one row in sqlite

This is the query that got me this result.

How can I group all the 1’s into a category Others?

Desired output: country customers

Advertisement

Answer

Use case and group by, twice:

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