sql - In Excel how to create multiple rows from a single data row -


I have an excase datasheet with data that looks like this

  id part No 1 quantity 1 part no 2 quantity 2 part no. 3 quantity 3 1 parts 38 a. 382 a1001-3-0 3 382 a2 3-3 3 382 a 0012 -2 3  

And it should look like this

ID Part No Volume 1 Part Name 382A012-3-0 3 1 Parts Name 382 A 023-3 / 42-0 3 1 Parts 388A012-25 / 86-0 3

From this SQL table, I can do it in SQL If it makes it easy

To suggest to anyone that anyone has to fix this?

just sql

  SELECT id, desc, partNo, parts union As part of the selection ID for a  UNION  make  
, in the form of QTY 3, as part number, qty3, as part , No.

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -