Get All Tasks Assigned to ME or Group I am part Off

Below is the CAML Query to get All the task assigned to me or the group I am part of.  And only tasks which are not complete.

     <GroupBy Collapse=”TRUE” GroupLimit=”50″>
      <FieldRef Name=”AssignedTo”/>
      <FieldRef Name=”Created” Ascending=”FALSE”/>
        <Membership Type=”CurrentUserGroups”>
         <FieldRef Name=”AssignedTo”/>
         <FieldRef Name=”AssignedTo”/>
         <Value Type=”Integer”>
        <FieldRef Name=”Status”/>
        <Value Type=”Text”>Completed</Value>
     <FieldRef Name=”Created”/>
     <FieldRef Name=”LinkTitleNoMenu”/>
     <FieldRef Name=”Status”/>

     <FieldRef Name=”Title”/>

     <FieldRef Name=”ID”/>
     <FieldRef Name=”WorkflowLink”/>

Some cool SPQuery Links

How to Set Null Values to Query

Working with Large Lists in SharePoint 2010 – List Throttling