A standard language for database definition, display, and manipulation. SQL is a standard methodology established by the American National Standards Institute (ANSI) that is recognized in the database industry as the optimal way to query a table. R:BASE provides the complete ANSI Level 2 SQL, which includes SQL enhancements developed by IBM for its DB2 mainframe database language.