how to delete single record from row? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to delete single record from row?

17th Dec 2016, 2:52 PM
Aqib Asmat
Aqib Asmat - avatar
1 Answer
+ 2
You can update it and set it to null. UPDATE TableName SET columnName = null WHERE id = 1 If you want to remove the whole row (and btw a record is a row) DELETE FROM TableName WHERE id = 1
17th Dec 2016, 3:04 PM
Uran Kajtazaj
Uran Kajtazaj - avatar