I have a table in SQLite which contains some data.
Like this
Table id
1
2
3
4
5
6
7
what i want is a String which contains all the ids separated by a semicolon (;
) character, like
1;2;3;4;5;6;7
I know there is group concat.
but I cannot figure out how to do that with this sample.
And there is another method called COALESCE I found here, but in SQLite we cannot declare variables.
Is there any way to do this in SQLite?