The Teradata® Query Service is middleware that provides a REST API for types of relational Databases including Teradata Database, Aster, Presto, and Hive. The Teradata Query Service lets you open database sessions; submit SQL queries and access responses; and access metadata. Use the Teradata Query Service to access a Teradata Database from a web page, mobile device, or scripting language.