Number of rows returned: 18
What the hell! should only be one! This is my sql. I'm looking for the closest to the group_date_new only. there is different comps but i only want the one comp!
CREATE TABLE results_group (
group_id int(10) NOT NULL auto_increment,
comp_run_id int(10) NOT NULL default '0',
group_desc varchar(200) NOT NULL default '',
group_date_new date NOT NULL default '0000-00-00',
group_date_end_new date NOT NULL default '0000-00-00',
number_game int(10) NOT NULL default '0',
bye_exists int(2) NOT NULL default '0',
bye_number int(2) NOT NULL default '0',
regular int(2) NOT NULL default '0',
day_date int(2) NOT NULL default '0',
grouporder int(10) NOT NULL default '0',
KEY group_id (group_id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=450 ;