Generate SQL queries with Yaml