如何使用ORM实现以下查询SQL,SELECT*FROMorderWHEREidBETWE130.如何使用ORM实现以下查询SQL,SELECT*FROMorderWHEREidBETWE,EN20AND100AND(num=30);()
A.Order.objects.filter(id__gt=20,id__lt=100).filter(Q(num=30)) B.Order.objects.filter(id__gt=20,id__lt=100).filter(Q(num__lte=20)Q.num__gte=30)) C.Order.objects.filter(Q(id__gt=20)&Q(id__lt=100)).filter(Q(num__lte=20)Q.num__gte=30)) D.Order.objects.filter(Q(id__gt=20)&&Q(id__lt=100)).filter(Q(num__lte=20)Q.num__gte=30))