Tech »  Topic »  “Vibe querying” with comments to SQL in BigQuery

“Vibe querying” with comments to SQL in BigQuery


Crafting complex SQL queries can be challenging. Often, engineers simply want to express their data needs in plain English directly within their SQL workflow. Recently, we have seen how "vibe coding" — using natural language AI prompts to generate code — makes developing easier for everyone. That’s why we’re introducing Comments to SQL in BigQuery. This feature makes writing queries using natural language – ‘vibe querying’ – a reality. 

Go from plain English to SQL code

Comments to SQL is an AI-powered feature that bridges the gap between human language and structured data queries. It helps you embed natural language expressions directly within your SQL statements, which the system then translates into executable SQL code. By automating this translation, you can write complex queries faster and spend less time writing boilerplate code. 

For example, let’s say you need to calculate the business days between two dates, including weekends. With this feature ...


Copyright of this story solely belongs to google cloudblog . To see the full text click HERE