
Larger view of the issue is here: http://i1268.photobucket.com/albums/jj572/LinuxOwner/question.png
|
Larger view of the issue is here: http://i1268.photobucket.com/albums/jj572/LinuxOwner/question.png |
||||
|
Questions on Database Administrators Stack Exchange are expected to relate to database administration within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
Seems like all you want is something like?
|
|||
|
|
Welcome to StackExchange. This is a great site to get help, and thank you for the picture, it was helpful, however it always helps if you put in an extra bit of effort when asking for a question so it doesn't get voted down. Now on to the question. In MS SQL Server (using TSQL, but you can do it with ANSI SQL as well) I would create a temp table with a row ID so I could while loop through it. Then I would select each row, pass in the row info as a variable, and dynamically generate a query or just execute it. I would recommend dynamically generating the query, testing it, then running it. Step 1: Populate the column with the 'path to something' Step 2:
Step 3: Create a while loop to go through each row and dynamically assign the value in "name" to append to the end of the "evidence" line
Make your modifications where needed to get it to run in MySQL but it should be very similar. |
|||||||||
|