យើង​អាច​លុប​ទិន្នន័យ​ពី​ក្នុង​តារាង​ផ្សេង​ៗ​ដោយ​ធ្វើ​ដូច​ខាង​ក្រោម​នេះ៖

 

import sqlite3
 
conn = sqlite3.connect('mydb.db')
cursor = conn.cursor()
 
cursor.execute('''DELETE FROM EMPLOYEE WHERE AGE > 25''')
 
cursor.execute('''SELECT * from EMPLOYEE''')
result = cursor.fetchall()
 
for x in result:
  print(x)
 
conn.commit()
conn.close()