Comment on How does this pic show that Elon Musk doesnt know SQL?

<- View Parent
valtia@lemmy.world ⁨5⁩ ⁨days⁩ ago

in this case you would just overwrite the existing row, you wouldn’t use de-duplication because it would do the opposite of what you wanted in that case.

… That’s what I said, you’d just update the row, i.e. replace the existing data, i.e. overwrite what’s already there

Definitionally, the actual identity of the person MUST be unique, otherwise you’re going to somehow return two rows, when you call one, which is functionally impossible given how a DB is designed.

… I don’t think you understand how modern databases are designed

source
Sort:hotnewtop