DROP VIEW site_view;
CREATE VIEW site_view AS
SELECT
*,
(
name
FROM
user_ u
WHERE
s.creator_id = u.id) AS creator_name,
count(*)
user_) AS number_of_users,
post) AS number_of_posts,
comment) AS number_of_comments
site s;