ID = ( SELECT                                                               iGroupID                                                          FROM AssignLeadUser                                                          WHERE                                                               iLeadID = objTemp.iLeadID                                                        )                                   )                              ELSE ''                         END AS Group