calculating factor – Query Examples