sql server - SQL- Inserting a row in sql query result -


how can achieve this? example have query result:

idno price  001   5  002   5  003   5  004   5  005   5  

then want add every id no price this:

idno price  001   5  001   10  002   5  002   10  003   5  003   10  004   5  004   10  005   5  005   10 

thanks in advance

insert yourtable select idno,10 yourtable   select * yourtable order idno 

Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -