Quantcast
Viewing all articles
Browse latest Browse all 4871

SQL Query Multiple records into 1 record

I am looking for a way to take multiple records and output them into a single record.  Here is the scenario... I need to take the multiple record query below and output it in the following order:

ID, PartNo, OPNo1, Description1, OPNo2, Description2, OPNo3, Description3, OPNo4, Description4, ....

Example:

536, 33951, 6, Turning, 7, Ransohoff Cleaning, 8, Phoenix Heat Treat, 10, Ransohoff Cleaning, .... 

Multiple Record Query:

Image may be NSFW.
Clik here to view.


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>