instruction
stringclasses 1
value | input
stringlengths 732
1.33k
|
|---|---|
Translate english queries to SQL using the given schema.
|
Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Find all tables whose name contains 'employee' as a prefix and has a column which contains 'sex' as a prefix.
|
Translate english queries to SQL using the given schema.
|
Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Show the number of database instance present for each database asset type id.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: How many asset owner accounts does the lake have?
|
Translate english queries to SQL using the given schema.
|
Schema: node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Find all classifications belonging to 'zzheng' that were created in the past 30 days.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Display the maximum column length for the culture id column.
|
Translate english queries to SQL using the given schema.
|
Schema: node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List all distinct column names that have labels associated with them.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: How many assets does each user account own? If two account have the same name, count the values as one account. Return the names and counts.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Show all tables created after June 10 2024.
|
Translate english queries to SQL using the given schema.
|
Schema: node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Find all tables with a column named 'zip_code'
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: What is the total size of files owned by each user?
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Print the creation date and last modified date for the product description id column.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ;
English query: Find the records tagged with the 'state' classification.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print metadata records for fsq table.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List the source assets for the 20 oldest relations in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: How many assets are present in the lake for each label asset type?
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Print the name of all columns tagged with classification 'date'.
|
Translate english queries to SQL using the given schema.
|
Schema: node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: Print description of table count for relational databases that have 35 tables or more.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Print the names of all classifications associated with a column whose description contains the terms 'purchase order'.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print all records for password salt columns.
|
Translate english queries to SQL using the given schema.
|
Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: List ids for all folders that contain more than 100 files.
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Display the name and creation date of tables that contain the word 'weight' in their names a column that contains the word 'building' in it's name?
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print out pairs of table names for every joinable edge.
|
Translate english queries to SQL using the given schema.
|
Schema: node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show the total size of all files added in the last 30 days for each owner account.
|
Translate english queries to SQL using the given schema.
|
Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List all tables that are unionable with the table 'swim_for_life'.
|
Translate english queries to SQL using the given schema.
|
Schema: node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print the name and description of databases whose description contains the string 'vector'.
|
Translate english queries to SQL using the given schema.
|
Schema: node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Find records for all columns that have address in their name or description.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print the name of all columns tagged with classification 'identifier'.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List all details for all tables.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show the creation date for the 5 biggest tables by the number of columns.
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Display all file names and sizes for files with size greater than 100K.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Count the number of edges for each node.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: What are the different column types?
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List names and descriptions of all databases in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Find all records for the table named 'bill_of_materials'.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: How many assets are owned by each account older than 2 years?
|
Translate english queries to SQL using the given schema.
|
Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print all metadata records for classification labels.
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Which are the columns that are associated with the classification 'enterprise'?
|
Translate english queries to SQL using the given schema.
|
Schema: node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: Find all tables in the lake that have 5 columns or more.
|
Translate english queries to SQL using the given schema.
|
Schema: node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Order all nosql databases in the lake by their last modified timestamp.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_dir: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print the id, description and size for all directories.
|
Translate english queries to SQL using the given schema.
|
Schema: node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ;
English query: Locate records for all columns named 'std_cost'.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: For each user, print a count of assets.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: List all the business terms and classifications in the lake. Output their full names.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print extension and size of the 25 most recently created files.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Display all the joinable relation records found in the last 24 hours.
|
Translate english queries to SQL using the given schema.
|
Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Count the number of business terms belonging to each asset owner.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: List the files with sizes in the lake sorted in descending order.
|
Translate english queries to SQL using the given schema.
|
Schema: node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: For each asset type, how many databases are present in the lake?
|
Translate english queries to SQL using the given schema.
|
Schema: node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Sort the nosql databases in the lake by their last modified date from least recently modified to most recently modified.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Print out the username and the number of assets owned by that user.
|
Translate english queries to SQL using the given schema.
|
Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Find all tables derived from files with prefix 'dot_vzv'.
|
Translate english queries to SQL using the given schema.
|
Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_has_dir_dir: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: How many directories are present in the data lake?
|
Translate english queries to SQL using the given schema.
|
Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Display all the metadata for each column in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ;
English query: Print the row count, column count and modification timestamp for the 25 most recently modified tables.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Display the number of folders belonging to each asset owner.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Which assets have the word 'scenario' in their name or description?
|
Translate english queries to SQL using the given schema.
|
Schema: node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List all assets immediately under the folder 'part4'.
|
Translate english queries to SQL using the given schema.
|
Schema: node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_dir: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ;
English query: Show all directories that contain the term 'weather' in it's name or description.
|
Translate english queries to SQL using the given schema.
|
Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Show the names of all the derived tables in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show the type and length of all columns in the data lake.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Select id and names of columns are associated with classifications.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Display the maximum column length for the column named 'cult_name'.
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: What are 10 biggest tables by number of rows?
|
Translate english queries to SQL using the given schema.
|
Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Count the number of tables derived from each table in the past 3 weeks.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: How many tables does the lake contain?
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Show the creation date and description for all labels and order the records by creation date.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ;
English query: Find all columns associated with the business term 'model_id'.
|
Translate english queries to SQL using the given schema.
|
Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Calculate the sum of all file sizes belonging to each owner account.
|
Translate english queries to SQL using the given schema.
|
Schema: node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: How many columns do each of the 30 oldest tables in the lake have?
|
Translate english queries to SQL using the given schema.
|
Schema: edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Find all tables in the lake derived files.
|
Translate english queries to SQL using the given schema.
|
Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Print the description, creation date and maximum length of the document summary column in the document table.
|
Translate english queries to SQL using the given schema.
|
Schema: node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: List all terms associated with columns.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: How many columns does each table in the lake contain?
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Which folders have more than 100 files?
|
Translate english queries to SQL using the given schema.
|
Schema: node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Show the number of assets owned by all accounts that have been modified in the past 1 day.
|
Translate english queries to SQL using the given schema.
|
Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show the name, long name and description for the start date column in the bill of materials table.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print the description and creation dates for all labels.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_dir: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print the creation and last modification timestamp for the human resources directory.
|
Translate english queries to SQL using the given schema.
|
Schema: node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show table records for the top 3 tables by number of columns.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: What are all the assets that belong to the user with asset id 1?
|
Translate english queries to SQL using the given schema.
|
Schema: node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Print the names of all columns of type integer.
|
Translate english queries to SQL using the given schema.
|
Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Count all possible joinable tables for each table in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: Show the short name, long name and last modified timestamp for all tables.
|
Translate english queries to SQL using the given schema.
|
Schema: node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print the mean size of a file directly inside each folder in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print all records for the 25 most recently modified assets.
|
Translate english queries to SQL using the given schema.
|
Schema: node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show all records for columns that have the term 'prod' in them.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Display the id, names and creation dates for all biz terms.
|
Translate english queries to SQL using the given schema.
|
Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print the id and names of columns that are tagged with one or more classifications.
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_dir_dir: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: List ids for all directories that contain a file name 'tax_report.csv'.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Show the tables that were derived from json files.
|
Translate english queries to SQL using the given schema.
|
Schema: node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: What are all the assets owned by 'Adam H Smith'?
|
Translate english queries to SQL using the given schema.
|
Schema: edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: Count the number of columns of each type in the 'person' table.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ;
English query: Which are the tables contain a column that includes the word 'borough' in it's name?
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Count the number of columns in all tables that contain the term 'scen' in it's name.
|
Translate english queries to SQL using the given schema.
|
Schema: node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Count the number of assets owned by each owner id.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: List the number of tables derived from each table in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: How many tables have 'ship' in their names?
|
Translate english queries to SQL using the given schema.
|
Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Show the number of tables derived from each table in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ;
English query: Print the name of all tables in the lake that were derived from xlsx files.
|
Translate english queries to SQL using the given schema.
|
Schema: node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: For each asset owner that owns more than 10 assets, show the total number of assets owned.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.