text
stringlengths 146
731
|
---|
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: List all assets owned by the user ‘jdoe’.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: What are all the assets owned by 'Adam Smith'?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: List all the files owned by 'asmith'.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: Show all the folders belonging to 'mjordan'.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: Which are the tables belonging to the account 'lakeadmin'?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; relation_unionable_table_table: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: List all tables that are unionable with the table 'swim_for_life'.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; relation_unionable_table_table: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: Which are the tables that are unionable with the 'taxi_zones' table?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; relation_has: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: What are the files and folders directly under folder 'part2'?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; relation_has: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: List the files and folder immediately under the folder 'part4'.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; relation_has_dir_file: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; English query: List all files whose parent directory is 'part1'[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; relation_has_dir_file: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; English query: List all files immediately under the directory 'part1'[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; relation_has_dir_file: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; English query: Which files are located one level below the directory 'part1'?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; relation_has_dir_file: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; English query: What are the sub folders of the folder 'part6'?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; relation_has_dir_file: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; English query: Which directories does the directory 'part2' contain?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; relation_has: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: For each folder, count the number of assets immediately inside it.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; relation_has: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; English query: For each folder, count the number of files immediately inside it.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; relation_has_file_table: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: Find tables obtained from the file 'nycc.csv'.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; relation_has_file_table: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: Find all tables derived from files with prefix 'dot_vzv'.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; relation_has_file_table: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: Which tables were obtained from files with the prefix 'watershed_water_quality'?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; relation_has_file_table: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: List all tables that were pulled from files whose name begins with 'student_covid_vaccinations'.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; relation_has_file_table: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: Which files contain a table with the term 'covid' in their name?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; relation_has_file_table: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: Find all files which contain a table whose name starts with the the phrase 'verified_locations'.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; relation_has_table_col: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_column: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date col_type col_length ; English query: Which are the tables that have a column labeled 'borough'?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; relation_has_table_col: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_column: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date col_type col_length ; English query: Which are the tables contain a column that includes the word 'borough' in it's name?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; relation_has_table_col: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_column: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date col_type col_length ; English query: Find all tables with a column named 'zip_code'[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; relation_has_table_col: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_column: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date col_type col_length ; English query: Find all tables with 'work' in it's title and a column that contains 'hours' in it's name.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; relation_has_table_col: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_column: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date col_type col_length ; English query: Which tables contain the word 'work' in their names a column that contains the word 'hours' in it's name?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; relation_has_table_col: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_column: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date col_type col_length ; English query: Which tables contain the word 'weight' in their names a column that contains the word 'building' in it's name?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; relation_has_table_col: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_column: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date col_type col_length ; English query: Find all tables whose name contains 'weight' as a prefix and has a column which contains 'building' as a prefix.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; relation_has_table_col: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_column: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date col_type col_length ; English query: Find all columns with word 'school' in it's name within a table whose name starts with the word 'traffic'.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; relation_joinable_table_table: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: What are the joinable table pairs found in the last 24 hours?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; relation_derive_table_table: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: How many tables are derived from the table 'nycc'?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: Show all tables belonging to 'john'.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; asset_column: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date col_type col_length ; English query: Show the column names and descriptions for all columns in the veteran services report table.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_business_term: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: Show all the people who created business terms in the last 10 days.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_database: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date database_type ; English query: List all people who own one or more databases in the lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; relation_has_dir_file: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; English query: List all csv files in the directory 'part5'.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; relation_has_file_table: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: Show short name and long name for the table from file 'youth_engagement.csv'[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: Which are the assets in the lake owned by Jane Doe?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: Which are the tables in the lake owned by 'jdoe'?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: List all tables owned by 'jdoe' along with it's creation date.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: List all tables owned by 'jdoe' that were created in the past one year.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_database: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date database_type ; English query: Which are the databases in the lake owned by 'cslab'?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset_rdbms: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date database_type num_tables ; English query: Which are the relational databases in the lake owned by 'cslab'?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; relation_own: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; asset: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: List all assets owned by 'cslab'.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: How many assets does the lake contain?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: Show all records for all assets in the lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: How many nodes are there in the schema graph for the lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: How many nodes are present in the lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: List all asset nodes in the lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; English query: How many directories are present in the data lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; English query: What are the folders present in the lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: Give me 10 asset names from the data lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; English query: List all the files in the lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; English query: Show metadata records for all folders in the lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; English query: Show records for a sample of 5 folders in the lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_database: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date database_type ; English query: Show all the database records for the lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_rdbms: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date database_type num_tables ; English query: How many relational databases does the data lake contain?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_rdbms: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date database_type num_tables ; English query: List all the SQL databases in the data lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_label: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: List all the business terms and classifications in the lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: How many asset owner accounts does the lake have?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; English query: How many unique file names are there in the lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: Show table records for the top 3 tables by number of columns.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: Show all metadata for any 5 tables in the lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; English query: How many different types of files are there in the lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: What are 10 biggest tables by number of rows?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_business_term: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: What are all the business terms associated with columns in the lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_classification: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: Show a sample of 5 records of classifications.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: relation: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; English query: How many total relations are represented in the data lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_business_term: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: Show the name and description for all business terms.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: relation_assoc: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; English query: How many association relationships are recorded in the data lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_database: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date database_type ; English query: How many databases are present in the lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_rdbms: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date database_type num_tables ; English query: Show metadata records for any 3 relational databases.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_nosql: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date database_type num_tables ; English query: Count the number of nosql databases in the lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_rdbms: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date database_type num_tables ; English query: Sort the relational databases in the lake by the number of tables they contain.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_business_term: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: List all terms associated with columns.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: How many owner accounts does the lake contain?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: List any 10 accounts that possess lake assets.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_owner: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: Show records for any 5 accounts that hold assets.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_database: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date database_type ; English query: How many unique database names are there in the lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: List records of 10 tables in the lake without ids.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; English query: List all unique file names in the data lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_column: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date col_type col_length ; English query: Find records for all columns named address.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: relation_derive_table_table: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; English query: How many derived tables are there in the lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; English query: What are the 3 biggest directories in the lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: Show all metadata for any 10 tables in the lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_classification: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: Show the first 10 classification labels created.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; English query: What are the different types of files in the lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: What are 10 biggest tables by number of rows?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_rdbms: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date database_type num_tables ; English query: Show me all the relational databases present in the lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_business_term: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: Show all the business terms in the lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_business_term: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: List all the business term assets in the lake.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_classification: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date ; English query: Show a sample of 5 records of classifications.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: relation: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; English query: How many total relations are represented in the data lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: English query: Show the name and description for all business terms.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: relation_assoc: relation_id relation_type_id source_asset_id target_asset_id description creation_date modified_date ; English query: How many association relationships are recorded in the data lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; English query: Show the 10 most recent files by modification date.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_table: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date num_cols num_rows ; English query: What are the 5 oldest tables in the data lake?[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_file: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date extension fsize ; English query: Show the size of each file in the lake sorted in descending order.[/INST] SQL: |
[INST] <<SYS>>Translate english queries to SQL.<</SYS>> Schema: asset_directory: asset_id asset_type_id asset_short_name asset_long_name description synonyms creation_date modified_date dsize ; English query: Show all the folders in the lake sorted by size.[/INST] SQL: |