question: What is the average number of rooms of apartments with type code "Studio"?
#1 return apartments 
#2 return type codes of #1 
#3 return #1 where #2 is  Studio 
#4 return rooms of #3 
#5 return number of  #4 
#6 return average of #5