If a building with at least 3 stories has glass deck railings outside.
return building ;return stories of #1 ;return number of  #2 for each  #1 ;return #1 where  #3 is at least 3 ;return deck ;return railings of #5 ;return #6 that are glass ;return #7 that are outside ;return if  #4 has #8
['select', 'project', 'group', 'comparative', 'select', 'project', 'filter', 'filter', 'boolean']