How to delete a row from an sqlite table:
I’m trying and get the “constraint failed” error
sqlite> DELETE FROM cataloge WHERE id = 30;
constraint failed
here’s the structure of the table:

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sundar’s answer solved this for me:
Look for the tables in which you have cataloge.id as foreign key. Those tables also could not have rows with 30 as id. – sundar