question: What are the ids and names of department stores with both marketing and managing departments?
#1 return department stores 
#2 return departments of  #1 
#3 return #1 where #2 is  marketing 
#4 return #1 where #2 is  managing 
#5 return #1 of  both #3 and  #4 
#6 return ids of  #5 
#7 return names of  #5 
#8 return #6 ,  #7