MySQL Forums
Forum List  »  Newbie

Re: MySQL get highest value and delete other rows
Posted by: Peter Brawley
Date: July 08, 2018 08:49AM

No primary key? Then it's not a real table, it's not ready for use.

And id columns should not be text---if numeric, should be Smallint or Int, if date then Date, if char then VarChar(n) where n is just big enough to hold the largest value anticipated.

And where is the sample data?

Options: ReplyQuote


Subject
Written By
Posted
Re: MySQL get highest value and delete other rows
July 08, 2018 08:49AM


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.