You can combine them together in your SQL statement and return them as a single column. It looks like your select is almost right. What database (Oracle, MySql, etc) are you accessing? Some require you to use '+' as the concatenator. Others require '||'.
FYI, 'filename' should not be in quotes as that would just return the string filename rather than the data in column filename. Also, getDate() returns the current date and you don't need to do a subselect.
You should replace the subselect with LastRun. You will probably want to add white space between each column data.
Try getting the SQL correct in your database's command line tool like sqlplus, toad, or mysql before using
JDBC.
Alternatively, you can return the three columns and combine them together in the
Java code. It depends on why you need to combine the data. Some would argue that if it's just for display purposes, you should combine the three in the presentation layer of your code rather than the data layer (SQL). You specifically asked what is the easiest way. IMO, the easiest way is putting it in the SQL. But the difference is trivial. It's like walking to your mailbox to get the mail. Do you take 5 long steps or seven shorter steps?