Django annotate queryset with another queryset
In such situations, we can query only desired fields. Django provides two ways to do this. values and values_list methods on queryset. only_method. Say, we want to get first_name and last_name of all the users whose name starts with R. You do not want the fetch the other fields to reduce the work the DB has to do.