Build text-to-SQL right into your product

Enable no-code data analytics, drive database migrations, and optimize workload performance with the world’s first SQL API built with generative AI.

Used by teams at:

Used by teams at:

waii query create “Show me monthly sales per store that deviated more than 10% from average” WITH avg_monthly_sales AS ( SELECT AVG(ss_sales_price - ss_ext_discount_amt) AS avg_sales, d_month_seq FROM tweakit_playground.retail_data.store_sales AS ss INNER JOIN tweakit_playground.retail_data.date_dim AS dd ON ss.ss_sold_date_sk = dd.d_date_sk WHERE EXTRACT(YEAR FROM dd.d_date) = 2023 GROUP BY d_month_seq ) monthly_sales AS ( SELECT s.s_store_sk, s.s_company_id, i.i_brand, i.i_category, dd.d_month_seq, SUM(ss_sales_price - ss_ext_discount_amt) AS sales FROM tweakit_playground.retail_data.store_sales AS ss INNER JOIN tweakit_playground.retail_data.date_dim AS dd ON ss.ss_sold_date_sk = dd.d_date_sk INNER JOIN tweakit_playground.retail_data.item AS i ON ss.ss_item_sk = i.i_item_sk INNER JOIN tweakit_playground.retail_data.store AS s ON ss.ss_store_sk = s.s_store_sk WHERE EXTRACT(YEAR FROM dd.d_date) = 2023 GROUP BY s.s_store_sk, s.s_company_id, i.i_brand, i.i_category, dd.d_month_seq ) SELECT ms.s_store_sk, ms.s_company_id, ms.i_brand, ms.i_category, ms.d_month_seq, ms.sales, ms.sales - LAG(ms.sales) OVER (PARTITION BY ms.s_store_sk, ms.s_company_id ORDER BY ms.d_month_seq) AS prev_deviation, ms.sales - LEAD(ms.sales) OVER (PARTITION BY ms.s_store_sk, ms.s_company_id ORDER BY ms.d_month_seq) AS next_deviation FROM monthly_sales AS ms INNER JOIN avg_monthly_sales AS ams ON ms.d_month_seq = ams.d_month_seq WHERE ABS(ms.sales - ams.avg_sales) / NULLIF(ams.avg_sales, 0) > 0.1 ORDER BY ms.s_store_sk, ms.s_company_id, ms.d_month_seq
01

Accurate

Get the most complete and accurate translation of plain English to SQL available. Waii combines a purpose-built compiler and optimizer with the latest AI models and the most complete coverage of SQL to achieve 90%+ accuracy compared to an industry standard of ~60%.

02

Performant

Generate queries optimized for your database. No outages due to inefficient SQL. Push down the right operations to reduce data early, limit the scan set, and optionally use single pass algorithms.

cat “web-vs-store-spend-report.sql” | time waii query run Running... 1117.1 seconds waii query create “Find customers whose spending increase was larger for the web than in stores last year” | time waii query run let’s see how the generated query performs Running... 223.5 seconds
waii context add "An active user is someone who logged in at least once in the last 30 days." --schema web_traffic Context added. waii query create "Give me monthly active users in the last 2 years" SELECT date_trunc('month', login_timestamp) AS month, count(distinct user_id) AS active_users FROM web_traffic.user_activity WHERE login_timestamp >= now() - interval '2 years' AND login_timestamp > now() - interval '30 days' GROUP BY month ORDER BY month ASC;
03

Customized

Produce SQL that’s 100% in tune with your business. Automatically build a persistent semantic layer to customize the system to your business and database, not the other way round.

What they say

Waii's text-to-SQL is showing impressive capabilities around dealing with complex relationships in our database.

Director of Data Services at Rev

Features

Database
No database is too complex

The Waii API scales to thousands of databases, schemas, tables and columns.

Database icon
Handles the hard SQL tasks

From UDFs, JSON, semi-structured data, geo-location, table functions, DML, DDL, streaming extensions and more.

Feature icon
Works out of the box

Hook up your database and start generating. A built-in compiler and optimizer ensures queries run from the get go.

Security icon
With security you can count on

Manage access to your database and models with fine grained controls. Limit permissions to metadata only.

Feature icon
And much more...

Go beyond query generation with textual explain, semantic search, dialect translation, optimization, and auto-complete.

Leadership Team

Gunther Hagleitner

CEO

SVP of Product and Engineering at Cribl, the fourth-fastest infrastructure company to reach $100M ARR (after Snowflake, Datadog), VP of Engineering at Cloudera and Hortonworks, Engineering at IBM, Yahoo, and Amazon.

Wangda Tan

CTO

Engineering leader of SQL team at Snowflake, Engineering leader at Cloudera and Hortonworks, ML engineering at Alibaba Cloud.

Derek Chang

Head of Sales

Enterprise Sales at Snowflake, Verkada, and Cribl (3x unicorn)

Backed by First Round Capital and top angels

Get started with Waii today!

For an enterprise-level implementation, we offer competitive consumption-based pricing, billed either monthly or annually.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.