तालिका से सभी रिकॉर्ड हटाएं
DELETE FROM table_name;
एसक्यूएल तालिका से पंक्ति हटाएं
DELETE FROM table_name WHERE condition;
एसक्यूएल में पंक्ति को कैसे हटाएं
delete from TableName where condition;
delete from scrumteam where firstname='Jack';
delete from scrumteam where JobTitle='SDET';
एसक्यूएल में पंक्ति को कैसे हटाएं
DELETE FROM my_table; -- all rows
DELETE FROM my_table WHERE my_id = 12345;
DELETE FROM my_table WHERE my_id IN (SELECT id2 FROM my_table2);
क्वेरी हटाएं
public function deletedata(){
$this->db->where('id', 2);
$this->db->delete('table_name');
}
हटाने से sql
delete from table_name where condition;