$query_str="select a.id as myid from qiuzhi a,userinfo b where b.Grad_Spec=$Grad_Spec and a.Flag=1 ";