Update joined_view.sql