| Contents > Developing ColdFusion MX Applications > Introduction to Databases and SQL > Using SQL > Reading data from a database |
|
|
|
|
||
You use the SQL SELECT statement to read data from a database. The SQL statement has the following general syntax:
SELECTcolumn_names
FROMtable_names
[ WHEREsearch_condition]
[ GROUP BYgroup_expression] [HAVINGcondition]
[ ORDER BYorder_condition[ ASC | DESC ] ]
The statements in square brackets are optional.
Note: There are additional options to SELECT depending on your database. For a complete syntax description for SELECT, see the product documentation.
This section describes options to the SELECT statement.
|
|
||
| Contents > Developing ColdFusion MX Applications > Introduction to Databases and SQL > Using SQL > Reading data from a database |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.