Is it possible to create a view, called first_view and in another view called second_view the first one is called? This is the original question.
This is the first view:
CREATE MATERIALIZED VIEW first_view
AS SELECT atable.variable_one, btable.another_variable, ctable.variable_x
FROM a atable, b btable, c ctable
So that f(a,b,c) view can be called in f(ALL) which is f(a,b,c) including f(m) with aggregate functions.