Reputation: 2979
i need something like
SELECT (Name & ', ' & Firstname) AS Test FROM Person;
which returns something like
Simpson, Homer
Simpson, Bart
...
in the column 'Test'.
Is it possible to create such a statement in SQLite3 (for android developing).
Thanks.
Upvotes: 0
Views: 232
Reputation: 28541
Use the || operator:
SELECT (Name || ', ' || Firstname) AS Test FROM Person;
Upvotes: 2