Skip to content
Advertisement

SQLite3, Combine multiple rows in one

I have two tables cities (as C) and routes (as R)

C:

R:

(my expectation): I want to combine and join my tables to the following form:

To add one value isn’t a problem

But I haven’t any Ideas how to achieve my goals! Thanks!

Advertisement

Answer

Simply join the city table twice:

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