SQL Syntax in MYSQL Please help me the condition in DELETE in MYSQL

Cant we delete through Values?

Yes, you got it correctly. Thanks.

Why would you be hardcoding sample data into your code, though?

of course

1 Like

How, and when values are more than one. Compact version sir?

This is an app I am building fro sake of learning CRUD so I am trying whatever coming in my mind. I think that is how we learn keep trying everything and playing around? This is not a live Project of any commercial utility.

So if you’ve got a standard test set of data you’re loading on a repeatable basis, why not just TRUNCATE the entire table and start from scratch every time you test?

1 Like

Already such option, but I was willing to do this one also.

i gave you two ways to do it (with the disclaimer that i wasn’t sure the second way would work in MySQL)

have you still not tried the first way?

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.