How can I do to eliminate Deleted records empty spaces in order get secuencial IDE in SQL | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I do to eliminate Deleted records empty spaces in order get secuencial IDE in SQL

I'm working with SQL, making a kind of agenda, with methods that adds, modify and delete records. But it also needs to have a method wich generates a number of random records, and when the user delete a record that IDE becomes empty so when the list of random IDEs call the that specific one does not return anything.

13th Jan 2021, 11:33 PM
Manuel Alejandro García Varela
2 Answers
+ 2
The Description didn't come so clear. If you find it more comfortable to explain in native language, you can write the Description in your native language, it's ok 👌 Add a little illustration as an example to get people to understand what you plan to do.
14th Jan 2021, 2:50 AM
Ipang
0
Es una aplicación que funciona como una agenda en la cual puedes introducir nuevos contactos, eliminarlos, modificarlos o ver los que ya tienes guardados. El problema es que también tiene una función que le pasas un entero y debe regresar esa cantidad de contactos de manera aleatoria, luego cuando el registro se elimina ese IDE que se hace con autoincremento automático se queda vacío por lo que si es llamado para ser mostrado con dicha función provoca un error lógico
14th Jan 2021, 6:13 PM
Manuel Alejandro García Varela