<?xml version="1.0"?>
<queryset>

<fullquery name="get_contact_id">      
      <querytext>
      select contact_id from ab_contact_attrs where attr_id = :attr_id
      </querytext>
</fullquery>

 
</queryset>