One WordPress and database but multiple subdomains

you can achieve that in many ways, maybe the most suitable for you is to use the multisite function in WordPress 3.0

Read more at WordPress.org :