Query Error... : select MIN(ref) from tb_gallery_new where code='gallery_new' and re_level=0 and ref >