instruction
stringclasses 1
value | input
stringlengths 732
1.33k
|
|---|---|
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_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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; 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 ; 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 ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Display long name, creation date and last modified date for the pay history 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_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_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_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 ;
English query: Show the descriptions for the 10 newest assets in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: 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_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_owner: 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_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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Print the average file size for each asset owner.
|
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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; 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_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 ;
English query: For each directory node id, count the number of directory node edges.
|
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_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_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 ;
English query: How many subfolders does each folder have?
|
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_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_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_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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List the top 10 people who own the most relational databases.
|
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_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_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; 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 ;
English query: Sort all nosql database owners by the number of nosql databases they own.
|
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_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_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_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: Print the number of columns in each table for tables created in the last one 45 days.
|
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: 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_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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; 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 ;
English query: Show the total number of assets owned by each owner account. Only consider accounts that are older than 2 years.
|
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_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_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_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 ;
English query: What are the 5 oldest tables in the data lake?
|
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_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 ; 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_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: How many association relationships are recorded in the data lake?
|
Translate english queries to SQL using the given schema.
|
Schema: 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_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_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_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 ;
English query: Print all metadata for joinable table relationships.
|
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_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_business_term: 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_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 the extension, creation date and last modified date for all files in the lake.
|
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: 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 ; 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_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 ;
English query: Show the creation dates for the 10 oldest assets in the 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_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: 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 ; 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: Sort all rdbms by their last modified timestamp.
|
Translate english queries to SQL using the given schema.
|
Schema: edge: 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_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_dir_dir: 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 ; 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 ;
English query: Name all the directories inside dbo directory.
|
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_class_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_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_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_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 ;
English query: Print column ids and the number of business terms associated with that column. Only showl columns associated with at least 1 business term.
|
Translate english queries to SQL using the given schema.
|
Schema: 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_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_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 ; 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 ;
English query: Name any 5 directories that were modified in the past 10 days.
|
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_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_owner: 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_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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Count the number of assets of each type owned by each user.
|
Translate english queries to SQL using the given schema.
|
Schema: edge: 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_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 ; 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_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 ; 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: Print the id for all folders which have a file name 'kyc.csv'.
|
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_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: 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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print the creation date, description and last modification date for the sales database.
|
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_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 ; 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_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 ;
English query: Print the names and descriptions of all tables that have more than 25 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 ; 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_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 ;
English query: Print out the count of subfolders for each folder.
|
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_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_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_owner: 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 ;
English query: Display the number of assets of each type owned by each user account.
|
Translate english queries to SQL using the given schema.
|
Schema: 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_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_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 ;
English query: Count the number of joinable relationships found for each table in the past 13 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_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_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; 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 ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Find all columns with word 'school' in it's name within a table whose name starts with the word 'traffic'.
|
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_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_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_business_term: 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 ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: What is the average file size for each asset owner?
|
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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; 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_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 ; 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 ;
English query: List all records for the csv file named 'prospective_buyer'.
|
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_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_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_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ;
English query: What is the average size of a subfolder in each folder?
|
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_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_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 ; 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_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: Order all columns in the lake by their creation date.
|
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_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 ; 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 ; 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 ;
English query: What are the creation times for all folders 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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; 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_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_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_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Which tables contain the word 'work' in their names and have one or more columns that contains the word 'hours' in their names?
|
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 ; 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_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 ;
English query: Show short name and long name for the table from from 'business_entity_address" file.
|
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_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_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_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 ; 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: How many tables have 'dim' 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 ; 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_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_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_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Give me the names and descriptions of all the derived tables.
|
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 ; 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_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_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 ;
English query: Show joinable tables in the lake.
|
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_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_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_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: How many tables and files are there in the 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_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_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: 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_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: How many columns is each classification associated with?
|
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_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 ; 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_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 ;
English query: Display 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_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_business_term: 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 ; 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_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 ;
English query: Show the number of columns associated with each business term.
|
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_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_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_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 short name, long name and description for the modification column in the bill of materials table.
|
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 ; 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_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: 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 ; 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: For each owner account, display the mean size of a file added in past year.
|
Translate english queries to SQL using the given schema.
|
Schema: 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_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: 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_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: Display the creation date, description and last modification date for the sales db.
|
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_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 ; 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: How many columns does the taxi zones table have?
|
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 ; 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: 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_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 ;
English query: For each table, show the number of tables that have been derived from it in the past one week.
|
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_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_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_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 ;
English query: Show the average size of a file owned by each user for all users who own more than 10 files.
|
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_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 ; 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_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 ;
English query: What is the average size of a folder created in the last 10 days for 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_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_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_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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: What are the different types of files in the lake?
|
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_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_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_class_col: 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 ;
English query: Show all tables created in the last 24 hours.
|
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: 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_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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List the assets owned by the user with long name 'Jane Doe'
|
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_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_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_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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Give me the last modified timestamp and creation date for the column named 'a_type_id'.
|
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_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_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 ; 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 ;
English query: Which are the databases in the lake owned by 'zzheng'?
|
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_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_label: 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_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 ; 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: List all classification full labels that contain the word 'market'.
|
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_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_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 ; 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: Which tables 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: 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_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_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_label: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Display creation timestamp and description for the classification labeled 'state'.
|
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_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_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_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 ;
English query: Show all relational databases that contain more than 10 tables.
|
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_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_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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Show the short name, long name and description for the modification column in the bill of materials table.
|
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_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_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 ; 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_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 ;
English query: Which are the tables in the lake that are joinable with other tables?
|
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: 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_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_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: Count the number of columns for all tables that were created in the past 10 days and have more than 20 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_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_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_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 ;
English query: Print the number of rows, number of columns and the description for all tables in the lake.
|
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_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_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_business_term: 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 ;
English query: List the top 10 people who own the most databases.
|
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_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_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_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 ;
English query: Print the cumulative size of all files added in the last 30 days for each user.
|
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_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_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 ; 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 ;
English query: Show the name, long name and description for all folders that contain at least one file directly inside them.
|
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: 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_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_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_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Name the 5 earliest created folders in the data lake.
|
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_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_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: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Display the description and number of tables for all relational databases.
|
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_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 ; 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 ;
English query: How many folders does the lake contain?
|
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_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_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_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 ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: How many unique database names are there in the lake?
|
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_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 ; 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_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_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: Display the name and description for all databases whose description contains the string 'vector'.
|
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_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_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_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_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 ;
English query: Give the count of assets for each asset type with the type_id.
|
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_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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_own: 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_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 ;
English query: Display the names of all the relational databases owned by cslab.
|
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 ; 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 ; 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_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_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: Give the description for the classification labeled 'date'.
|
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_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_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_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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show all columns with the term 'prod' in their name or description.
|
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_dir_dir: 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_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_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 names of the last 5 modified directories.
|
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_own: 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_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_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_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 owner accounts own more than 5 relational databases?
|
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_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 ; 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_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 ;
English query: Print the name and creation date of each business term.
|
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 ; 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_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 ; 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 rows and number of columns for the 10 biggest tables by number of rows.
|
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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; 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_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_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: Find all files which contain a table whose name starts with the the phrase 'verified_locations'.
|
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_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_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_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 ;
English query: Print the names and creation dates of the 5 oldest folders in the data lake.
|
Translate english queries to SQL using the given schema.
|
Schema: 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_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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; 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: Find the average size of a file for each different extension.
|
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_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 ; 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_owner: 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 ;
English query: List all users who own exactly 5 assets
|
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 ; 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_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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: How many databases are present in the 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: 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_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 ;
English query: How many nodes are there in the schema graph for the lake?
|
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: 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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; 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_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: Count the number of columns in all tables that contain the term 'nyc' in it's name.
|
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 ; 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_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_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 ;
English query: How many columns of each type are present in the 'dim_sales_reason' 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_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 ; 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: 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: List the number of assets owned by all users with 5 assets or more.
|
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 ; 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_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 ;
English query: Count the number of string columns 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_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 ; 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 ; 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_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 ;
English query: For each file extension, what is the max size of a file?
|
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_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_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_label: 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: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Display classification labels that contain the word 'market'.
|
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 ; 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_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_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: Print the names of tables that are unionable with at least one other table.
|
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_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_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_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_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 'employee' in it's 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_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_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: 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: Count the number of nosql databases 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_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 ; 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 ; 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_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 ;
English query: Print all metadata for the column named 'mod_date'.
|
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_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: 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_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 ;
English query: List all classification along with it's 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: 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 ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Show all fields for the DDG table node.
|
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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; 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 ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; 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 ;
English query: Print all records the 'dim_sales_territory' table.
|
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 ; edge: 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 ; 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: What are the joinable table pairs found in the last 30 hours?
|
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_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_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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Count the total number of tables 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_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_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_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_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 tables with the term 'eph' or 'employee_pay_history' in it's name.
|
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 ; 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_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_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: 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 the names and creation date of the 5 oldest derived tables.
|
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_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 ; 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_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 in the jc table that contains 'hours' in it's name.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.