instruction
stringclasses 1
value | input
stringlengths 732
1.33k
|
|---|---|
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_own: 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_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 ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Count the number of nodes of each type owned by each owner node.
|
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 ; 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_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Order files by their sizes.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show the size of the 10 biggest csv files in the lake sorted in descending order of their sizes.
|
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_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 ; 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: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print all the data for the sales quota 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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_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: 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_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 that each business term has been assigned to in the past 25 days.
|
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_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_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 ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Which tables have more than 100 rows in them?
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; 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_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Sort all databases in the lake by their creation date.
|
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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_own: 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 folder belonging to each owner account.
|
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_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Which tables in the data lake have more than 25 columns?
|
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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: For each column type, count the number of occurences.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; 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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Show the name, description and type for all databases in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; 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_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: Find all files which contain a table whose name starts with the the phrase 'vendor'.
|
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_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_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_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: Print the type and description for all columns in the POH 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_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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print out the number of string columns 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 ; 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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_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: Show all directories created in the last 24 hours.
|
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_label: 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_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ;
English query: Print the average size of a file belonging to each user. Only consider users that own 20 files 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 ; 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_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: List the number of assets owned by each user.
|
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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_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: How many files were added to the directory 'part4' in the last one year?
|
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_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_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 ; 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 ;
English query: Print the cumulative size of files owned by each user.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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 names of all the fact tables.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_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: Print the name of all tables in the lake derived from excel files.
|
Translate english queries to SQL using the given schema.
|
Schema: node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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: List the top 10 user accounts with the most assets.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; 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: 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 ;
English query: Display all the records for 10 oldest assets in the lake by modified 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 ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_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 ; 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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Print the description and number of tables for all relational databases in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge: 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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show all csv files that have 'nyc' in their names.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_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 ; 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 ; 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 ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: How many columns are associated with each business term that contains the word 'id' 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_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 ; 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 ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List all records for the 'cv' column.
|
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 ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Count the number of tables belonging to each asset owner.
|
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_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_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_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 ; 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: Which are the tables in the lake that are joinable with other tables.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_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_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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Order all biz terms by creation date.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_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_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_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 ;
English query: Show the column name and description for all columns that have a description.
|
Translate english queries to SQL using the given schema.
|
Schema: node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; 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_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_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_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show the type and count of instances for each node type that contains more than 25 instances.
|
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_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_owner: 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: For each account that has a description, give me the number of assets owned.
|
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 ; edge_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List the owner id for every table.
|
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_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_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 ; 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: Find all tables derived from files with prefix 'fact'.
|
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 ; 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_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 ;
English query: What are the 25 oldest folders in the data lake?
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_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 ;
English query: Show all the business terms in the 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 ; 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_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_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: Count total relations edges in the 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_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 ; 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 ; 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_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: Show all metadata for any 10 tables in the lake.
|
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 ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_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: Print the names of all string columns created in the past 3 days.
|
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 ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_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 ; 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: Show all the tables that were derived from excel files.
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; 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_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_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Count relational databases.
|
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_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Find all columns that were created in the past one year and contains the term 'id' 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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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: Find all tables whose name contains 'dim' as a prefix and has a column which contains 'd_sales' as a prefix.
|
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: 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 ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List all asset nodes in the lake created in the past 4 days.
|
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_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_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_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: Show the extension and description for all files in the lake.
|
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: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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_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: Identify all classifications with the term 'market' in it.
|
Translate english queries to SQL using the given schema.
|
Schema: node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; 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: 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: Show the descriptions for all tables in the data 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_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_label: 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_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 and descriptions of all the columns in the data lake along with the table that they belong to.
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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_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 ;
English query: Print the creation date, last modification date, column type and description for the credit card id column.
|
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_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ;
English query: Count bool cols added in the past 3 days.
|
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_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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_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 ;
English query: Print all files in the persons folder.
|
Translate english queries to SQL using the given schema.
|
Schema: node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; 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: How many labels are owned by each user?
|
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 ; 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 ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Print out the creation dates for all folders.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: For each table, count the number of columns associated with the classification 'customer'.
|
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_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_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Show all metadata for label association relationships created in the past week.
|
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_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 ; 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_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_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 classification labels by creation timestamp.
|
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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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_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 ;
English query: Count the number of integer columns in the 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 ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Print description, row count and column count for 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 ; 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_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 ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Print names and descriptions for all columns with the term 'prod' in it.
|
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_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_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_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 folders in the lake with size greater than 1GB.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_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_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 ; 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 ;
English query: Display the column type, column length and description for each column.
|
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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; 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 ;
English query: Print the name and size of the 10 biggest csv files in the lake sorted in descending order of their sizes.
|
Translate english queries to SQL using the given schema.
|
Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node: 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_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 ;
English query: Display all relational databases that contain more than 20 tables.
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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 ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Give the long name, creation_date and description for the DDG table.
|
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_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_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_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: Show all the metadata for column from table relations.
|
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_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: Show the description and number of tables for all rdbms in the 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_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 ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: What are the folders present in the lake?
|
Translate english queries to SQL using the given schema.
|
Schema: edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; 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 ; 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 ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Show the total number of assets owned by each owner account. Only consider accounts that own more than 10 assets.
|
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_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_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_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_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: Order folders by modification timestamp and display names, ids and descriptions.
|
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_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 ; 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_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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Give the name, longname, type and description for all columns in the POH table.
|
Translate english queries to SQL using the given schema.
|
Schema: node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; 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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Find all tables in the lake derived from json files and have more than 50 columns.
|
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_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print the number of assets belonging to each user. Only consider users who own more than 30 assets.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; 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_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; 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_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 ;
English query: How many assets of each type id were created in the last 3 days?
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_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_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; 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_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print all records for relations outlining a column within a 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_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_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_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_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Which are the databases in the lake owned by 'cslab'?
|
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: 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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; 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 ;
English query: Display creation full name and description for the classification labeled 'state'.
|
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 ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Display all the business terms 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 ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Find all classifications with the term 'market'.
|
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_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_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_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_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: Count the number of columns of each type present in tables in that contain the word 'water' 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_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_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_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Sort all labels chronologically by creation date.
|
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_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 ; 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 ; edge: 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 tables derived from each source table id.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; 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_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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Count the number of columns for all tables created in the last one week.
|
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_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; 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_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 ;
English query: Print the name, description and creation date of every single nosql database with 'sales' in it's description.
|
Translate english queries to SQL using the given schema.
|
Schema: node_label: 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_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 ;
English query: Count the number of columns inside each table that have a classification label that contains the term 'phone' in it.
|
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_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_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_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; 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: Show all the metadata for table from file relations.
|
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_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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: Print the names and descriptions for all files that begin with the prefix 'dim'.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_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_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: 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: Give the name, long name and description of the spanish country names column in the geography table.
|
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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; 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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Show all ids for directories that have more than 15 files inside them.
|
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_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 ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_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 ;
English query: List all columns of type integer.
|
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_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_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 ;
English query: Give me the name and creation date of nosql databases created in the past 20 days.
|
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_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_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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_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: Show all descriptions for asset owners.
|
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_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_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 ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Count the number of classification tags for each column.
|
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 ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_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 ; 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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show the number of files and directories contained by each directory that has more than 25 sub items.
|
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 ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; 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_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ;
English query: Show all folders which have total file size greater than 1000Kb with the size.
|
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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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_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 ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Find all columns associated with the classification 'enterprise'.
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: 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 ; 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 ;
English query: Display the sizes of the 10 biggest files in the lake.
|
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_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: 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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: For each file, show me the file name, description and owner id.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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 ; 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 ; 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: How many assets does the user 'jdoe' own?
|
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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; 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_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ;
English query: For each owner, find the average size of files containing a description.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.