This is the DB Schema:
PC
- id (pri key)
- model
- name
Laptop
- id (pri key)
- model
- name
How do I get for each unique(model) laptop, how do I insert it into PC with model number + 1? (+1 because I know insert into might work but the prob I need won't be solved with insert into)
Any clue?
Elaboration:
For each unique (based on model column) Laptop record that we have, we want to create a PC record in which the model column for the PC would be +1 of the model column in laptop.