+ 2
how to delete a particular element
how to delete a element from a row.
4 Answers
+ 2
DELETE FROM table_name WHERE some_column=some_value;
+ 1
DELETE FROM table_name WHERE id=<value _of_pk_column>;
using id in where will ensure only 1 record is deleted and as it is indexed process will be faster.
for new users it's better to use select query before deleting records, to avoid accidental deletion of records
0
thanx buddy :-)
- 1
DELETE column_name
FROM table_name
WHERE column_name = column_value
This is right as well
Hot today
Python — File Handling
1 Votes
Help me solve this (using loop)
3 Votes
What is wrong? Error on test.
1 Votes
Help me wiht python
1 Votes
Help me
0 Votes
Question is write a c program to print prime numbers up to n and print the largest number in array.
1 Votes
What’s wrong?
2 Votes