If I was given 6enteries to a row and and if I need to add in middle of the table what query I must use? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If I was given 6enteries to a row and and if I need to add in middle of the table what query I must use?

5th Aug 2016, 4:47 PM
sriram muralidharan
sriram muralidharan - avatar
4 Answers
+ 4
The question should by why do you need to insert into the middle? If you need to sort the data use ORDER BY You should never have to rely on data being in the right order in a database.
7th Aug 2016, 5:15 AM
Nathan “Grimston” Pipes
Nathan “Grimston” Pipes - avatar
+ 1
you can put your data in the middle provided you give it a unique appearance
11th Aug 2016, 9:21 AM
Maria
Maria - avatar
+ 1
you mean how to add no value then a value an then again nothing?
5th Dec 2016, 8:06 PM
Laura
Laura - avatar
0
You can do other way around... Put your data in another table... Put your current data... Again put that old data after last row
8th Aug 2016, 7:44 AM
Hardik Thaker
Hardik Thaker - avatar