How can I automatically create a WordPress page (for example, when plugin is activated)?
Wordpress provides the wp->query API method for database abstraction. You can create the appropriate query to make a Page when needed.