instruction
stringclasses 1
value | input
stringlengths 732
1.33k
|
|---|---|
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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_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 ;
English query: Print the number of labels belonging to each user. Only print it for users who own more than 10 labels.
|
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_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_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Find tables obtained from the file 'nycc.csv'.
|
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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Order all relational databases by number of 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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_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 last modified date for all columns in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Count total files and folders directly under each folder.
|
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_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_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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Sort columns by modification timestamp.
|
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_label: 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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; 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_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show all metadata records for labels.
|
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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Show the names of the 10 people who own the most SQL database nodes.
|
Translate english queries to SQL using the given schema.
|
Schema: node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: How many tables have the word 'weight' in it's name?
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_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 ; 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: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: For each business term, count the number of columns it has been assigned to in the past 1 year.
|
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: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print short name, long name and description for files in the HR directory.
|
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_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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 ;
English query: For each owner, display the sum of all file sizes created in the past month.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_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: 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_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_assoc_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 records for a sample of 5 folders in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_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 ;
English query: Count the number of files added to each directory in the past 3 days.
|
Translate english queries to SQL using the given schema.
|
Schema: node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: How many assets are owned by each user account created in the past week?
|
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 ; 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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; 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: Show the labels with descriptions for all labels in the database.
|
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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Display the ids of users that own more than 20 assets.
|
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_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_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_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: Show all metadata records for all classification label column association relations.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_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_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: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Order all assets in descending order of their last modified timestamp.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; 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 ; 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: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: How many columns are associated with each classification that contains 'water' as a prefix?
|
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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_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 ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: How many labels are owned by each asset owner that owns more than 10 labels
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_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 ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show the number of business terms owned by each owner account.
|
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_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_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 ; 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: Count the number of columns for each table that has more than 15 columns.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print the creation dates and descriptions of all 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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Give the name, long name and description for all columns named 'mod_date'.
|
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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_has_dir_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 ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print the name, long name and description for the dbo directory
|
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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_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: Display the name and creation date of all tables in the lake derived from excel files.
|
Translate english queries to SQL using the given schema.
|
Schema: node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Order all classification labels by 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 ; 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 ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node: 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 ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: For each classification that has 'water' as a prefix, how many columns are associated with it?
|
Translate english queries to SQL using the given schema.
|
Schema: edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Print the names of all columns that are tagged with one or more business terms.
|
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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; 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 ; 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: Show me the number of assets of each type owned by each owner account.
|
Translate english queries to SQL using the given schema.
|
Schema: node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print the names and descriptions of all users who own less than 10 assets.
|
Translate english queries to SQL using the given schema.
|
Schema: node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print the creation date, description and last modification date for the database named 'sales_db'.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: 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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Show the names of all files belonging to the folder 'part1'.
|
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_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_joinable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_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: Count the number of joinable tables for each table id 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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_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 ;
English query: How many files are there in the folder named 'adventureworks'?
|
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_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 ; 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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print all fields for label association edges.
|
Translate english queries to SQL using the given schema.
|
Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_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 ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: For each user account, print the creation date and the number of business terms owned by that account.
|
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: node_id type_id type_name short_name long_name description creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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 ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: List the name, description and creation date of the employee database.
|
Translate english queries to SQL using the given schema.
|
Schema: node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_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 ;
English query: Show all the nosql databases in the lake ordered chronologically by their creation date.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; 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 ; 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 ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ;
English query: Find all classifications belonging to 'testuser' that were created in the past 30 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_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_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 ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_dir: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ;
English query: Print the mean directory size for each asset owner account.
|
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: 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_label: 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: 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 ; 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 with ids associated with the classification 'enterprise'.
|
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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: For each owner account that owns more than 25 business terms, show the number of business terms owned.
|
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_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 ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_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: Find all tables and columns with 'work' in it's title and a column that contains 'hours' in it's name.
|
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_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List all files immediately under the directory 'part1'
|
Translate english queries to SQL using the given schema.
|
Schema: node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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: What is the minimum size of a folder created in the last 10 days for each asset owner.
|
Translate english queries to SQL using the given schema.
|
Schema: node_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_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; 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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Display the names and types for columns with the string 'doc' 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_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_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_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 ;
English query: Show the number of assets owned by all accounts that have been modified in the past 1 day. The owner name must be detailed.
|
Translate english queries to SQL using the given schema.
|
Schema: node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; 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: 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: Sort databases in the lake by their last modified timestamp.
|
Translate english queries to SQL using the given schema.
|
Schema: node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; 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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; edge_has_dir_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 ;
English query: Count the number of edges for each directory node.
|
Translate english queries to SQL using the given schema.
|
Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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 ; 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 ;
English query: List all the files 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_label: 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: 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_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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Give me the id and name for all columns with at least one label.
|
Translate english queries to SQL using the given schema.
|
Schema: node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print short name, long name and description for files within the human resources folder.
|
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: 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 ; 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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Display the creation date for all tables 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 ; 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_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_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: Show the number of columns and description for the 10 biggest tables by number of rows.
|
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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Count the number of columns tagged with the classification 'customer' within each table.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_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_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ;
English query: Print names and creation dates of all tables in the lake derived from csv files.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show all the people who created business terms in the last 25 days.
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id 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_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_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: Count the number of columns for each table that has less than 15 columns.
|
Translate english queries to SQL using the given schema.
|
Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_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_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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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 ;
English query: Give me the names of columns that are of type integer.
|
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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Which are the tables that have a column named 'zip'?
|
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 ; 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 ; 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_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_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Give a sample of 5 directories that were modified in the past 10 days.
|
Translate english queries to SQL using the given schema.
|
Schema: node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_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 ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Print all the metadata for every nosql database in the data 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 ; 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_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_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 ;
English query: What are the files and folders directly under folder 'sales'?
|
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 ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; 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_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 ;
English query: Find tables obtained from the file 'shift.csv'.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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_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 ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ;
English query: For each type_id, how many assets are present in the lake?
|
Translate english queries to SQL using the given schema.
|
Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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 ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; 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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ;
English query: Print creation timestamps for nosql databases.
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_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_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_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Count the number of assets owned by each account older than a 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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_has_file_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: How many files were added to the directory 'part4' in the last 5 years?
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Give me all pairs of joinable tables found in the last 24 hours.
|
Translate english queries to SQL using the given schema.
|
Schema: node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; edge_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 ;
English query: Print the number of rows and number of columns in the delivery method table.
|
Translate english queries to SQL using the given schema.
|
Schema: node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; 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 ; 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_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 all csv files that have 'work' in their names.
|
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 ; 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 ; 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: node_id type_id type_name short_name long_name description creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ;
English query: Find all tables with 'work' in it's title and a column that contains 'hours' in it's name.
|
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_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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show the description, number of rows and number of columns for every single table.
|
Translate english queries to SQL using the given schema.
|
Schema: node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_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: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; 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_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: Give all column names association with the classification 'date'.
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_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 ; 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: Find columns associated with business terms created in the last 15 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 ; 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_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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: How many business terms does each user own?
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List all the files owned by 'asmith'.
|
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_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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: Show the names and descriptions for labels created in the past 20 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_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_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_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_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: Print all fields for the prospective buyer file node.
|
Translate english queries to SQL using the given schema.
|
Schema: node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Which files are located one level below the directory 'part1'?
|
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_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: 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_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_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: Display all records for any 10 assets 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_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_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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Give me 10 asset names from the data lake.
|
Translate english queries to SQL using the given schema.
|
Schema: node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_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_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; 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 instances of edges of each type.
|
Translate english queries to SQL using the given schema.
|
Schema: node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_database: node_id type_id type_name short_name long_name description creation_date modified_date database_type ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_unionable_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Print the creation dates of all owner accounts.
|
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_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 ; 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 ;
English query: Sort all files by size and display extensions and descriptions.
|
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_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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Count the total number of relational databases 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_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Count the number of databases owned by each asset owner.
|
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_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 ; 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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: List the tables with number of tables derived from each table name 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 ; 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_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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 ;
English query: What is the average size of a file owned by each user who owns 25 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 ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_has_dir_file: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; 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 ;
English query: For each owner account, display the mean size of a file added in past month.
|
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_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_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_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show the number of unionable relationships found for each table in the past 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 ; edge_has_table_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_column: node_id type_id type_name short_name long_name description creation_date modified_date col_type max_col_length ;
English query: Show the column types for all columns in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: edge_derive_table_table: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; 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_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_label: node_id type_id type_name short_name long_name description creation_date modified_date ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ;
English query: How many assets are present in the lake for each label asset type id?
|
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_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; edge_own: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; edge_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 ; 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: How many directories are owned by each owner account?
|
Translate english queries to SQL using the given schema.
|
Schema: node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ; node_business_term: node_id type_id type_name short_name long_name description creation_date modified_date ; node_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 ; 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_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: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Show all metadata for any 5 tables in the lake.
|
Translate english queries to SQL using the given schema.
|
Schema: node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node: node_id type_id type_name short_name long_name description creation_date modified_date ; node_table: node_id type_id type_name short_name long_name description creation_date modified_date num_cols num_rows ; node_rdbms: node_id type_id type_name short_name long_name description creation_date modified_date num_tables ; edge_assoc_class_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; edge_assoc_term_col: edge_id type_id type_name short_name long_name description source_node_id target_node_id creation_date modified_date ; node_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 ;
English query: How many columns are associated with each classification label that has 'fact' 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 ; node_nosql: node_id type_id type_name short_name long_name description creation_date modified_date ; node_directory: node_id type_id type_name short_name long_name description creation_date modified_date dsize ; node_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ; node: 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_owner: node_id type_id type_name short_name long_name description creation_date modified_date ; node_classification: node_id type_id type_name short_name long_name description creation_date modified_date ;
English query: Display the cumulative size of all files created in the past month for each 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_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_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_file: node_id type_id type_name short_name long_name description creation_date modified_date extension fsize ;
English query: Display the names of all files in the directory 'part1'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.