MrTV
asked on
select the frequency member ID in MYSQL
How can I select maximim top frequency duplicate MembeID
CREATE TABLE `insurance` (
`insurprimarykey` int(11) NOT NULL AUTO_INCREMENT,
`Insurkey` int(11) DEFAULT '0',
`MembeID` int(11) DEFAULT NULL,
`MemberName` varchar(250) DEFAULT NULL,
`Amount` decimal(11,0) DEFAULT NULL,
PRIMARY KEY (`insurprimarykey`),
KEY `Membe ID` (`MembeID`)
) ENGINE=InnoDB AUTO_INCREMENT=401 DEFAULT CHARSET=tis620;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@HuyBD: Just for my learning, does TOP 1 work in MySQL as well ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window