1. 学习
  2. /
  3. 课程
  4. /
  5. Querying a PostgreSQL Database in Java

Connected

练习

Connection URL

You're building a digital library management system for CityBook Libraries. Their book catalog is stored in a PostgreSQL database called library_db, which is running on localhost:5432. Before your Java application can query book data, it needs the correct JDBC connection URL.

Create the connection URL to connect to the database.

说明

100 XP
  • Replace the placeholders in the URL with the correct JDBC scheme and PostgreSQL database type.