MS SQL query to find the database size

The below query will give you the size of a database.

exec sp_spaceused
Output:
query to find the database size