Accessing Data : Accessing database data using a textual query : Using a SQL query to retrieve data from a JDBC data source
 
Using a SQL query to retrieve data from a JDBC data source
Typically, a JDBC data set retrieves data using a SQL query. SQL is a standard query language for requesting data from a database. This section discusses how to write a basic SQL query and how to combine data from multiple tables. In many cases, a basic knowledge of SQL is sufficient to retrieve the data a report requires.