The SQL Tags from the JSTL

There are some examples of these tags in action here