The following methods are available to query data from QuestDB
Using SQL in the web console
You can run SQL statements directly in the web console. See examples here.
Using SQL in JAVA
You can run SQL statements using
SqlCompiler in JAVA. See steps here.
You can use the REST API to submit SQL queries. Find examples here.