Write SQL query to solve given problem: What is the percentage of the trip were done by a subscriber?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT CAST(COUNT(subscription_type) AS REAL) * 100 / ( SELECT COUNT(subscription_type) FROM trip ) FROM trip WHERE subscription_type = 'Subscriber'