added views sql