MySQL Forums
Forum List  »  Newbie

need help with a query
Posted by: christian winborn
Date: June 04, 2021 02:34PM

So I am supposed to be deleting all records on a table "RMA" that have "Rejected" in their "Reason" Column. I first wanted to get a count of how many I had that fit the description. However, when I specify a count where Reason=Rejected I keep getting an "Empty Set" message but when I do SELECT* from RMA statement I get back many records that fit that description. SOMEONE PLEASE HELP IM A NOOOB!!Thank yall so much for any insight!! Heres what I'm running

SELECT COUNT(*)
FROM RMA
WHERE RMA.Reason="Rejected";

Options: ReplyQuote


Subject
Written By
Posted
need help with a query
June 04, 2021 02:34PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.