--- dataset_info: features: - name: query_id dtype: string - name: query_template dtype: string splits: - name: train num_bytes: 2956 num_examples: 50 download_size: 2513 dataset_size: 2956 configs: - config_name: default data_files: - split: train path: data/train-* license: apache-2.0 language: - en size_categories: - n<1K --- # Dataset Card for SynQL-KaggleDBQA-Train-Source-Templates - Developed by: Semiotic Labs - License: [Apache-2.0] ## Dataset Details Example view of data: ```json { "0": "SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ?", "1": "SELECT COUNT(?) FROM ? WHERE ? = ?", "2": "SELECT ? FROM ? WHERE ? LIKE ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ?", "3": "SELECT ? FROM ? GROUP BY ? HAVING COUNT(?) ... "49": "SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ?" } ``` The Query templates above have been sourced from the KaggleDBQA dataset ([link](https://github.com/Chia-Hsuan-Lee/KaggleDBQA)). They have been anonymized using sqlglot ([link](https://github.com/tobymao/sqlglot)).