Im busy with a script to display transactions.
I want to write an SQL query which sets everything on one line.
Here is the SQL :
SELECT transactienummer, code
FROM gb_kaarten
ORDER BY transactienummer DESC
LIMIT 4
this is the output :
transactienummer code
43141 1600
43141 4410
43141 1513
43141 1514
I just want to have a line that looks like this :
transactienummer code
43141 1600 4410 1513 1514
I have tried some joins, but i dont seem to get it.
Thanks in forehand for the help