C
CJA
Hello!
I have this table:
cod | desc | qt |
1 art 1 2
2 art 2 3
based on the last table i want to create one like this:
serial | cod | desc |
000001 1 art1
000002 1 art1
000003 2 art2
000004 2 art2
000005 2 art2
in words if i buy 2 monitors (cod=1, desc=art1), i want to create 2 records
in another table wit the same "cod" and "desc" but diferent serial numbers.
how can i do this?
Thanks for helping!
I have this table:
cod | desc | qt |
1 art 1 2
2 art 2 3
based on the last table i want to create one like this:
serial | cod | desc |
000001 1 art1
000002 1 art1
000003 2 art2
000004 2 art2
000005 2 art2
in words if i buy 2 monitors (cod=1, desc=art1), i want to create 2 records
in another table wit the same "cod" and "desc" but diferent serial numbers.
how can i do this?
Thanks for helping!