Skip to content
Advertisement

The sql code I wrote outputs three lines instead of one due to nulls in the other fields, how can i amend to put all the data in a one line output?

The code

I am guessing due to the nulls being present, the code pulls each row as a separate row from the source table, but the data is all about one trip id, how can I amend this so that i get all three rows condensed into one.

Thank you in advance

Advertisement

Answer

Try this,

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