Dataset Viewer
Auto-converted to Parquet Duplicate
prompt
stringlengths
368
684
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Validate if '12345678.12' fits the NUMBER(10,2) precision and scale rules.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["12345678.12"]], "excel_metadata": [{"column_name": "Salary_Amount", "data_type": "NUMBER(10,2)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Valid. The value '12345678.12' uses exactly 10 digits and the decimal precision is within 2.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Determine if '1234567898.12' is valid for the NUMBER(10,2) datatype.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["1234567898.12"]], "excel_metadata": [{"column_name": "Salary_Amount", "data_type": "NUMBER(10,2)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Invalid. '1234567898.12' exceeds the allowed total digit count of 10.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Validate if the value '1234.5' can be stored in VARCHAR2(5).<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["1234.5"]], "excel_metadata": [{"column_name": "Product_Code", "data_type": "VARCHAR2(5)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Invalid. '1234.5' contains 6 characters, exceeding the allowed limit of 5.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Determine whether '12345' fits into the VARCHAR2(5) column definition.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["12345"]], "excel_metadata": [{"column_name": "Product_Code", "data_type": "VARCHAR2(5)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Valid. The string '12345' fits the 5-character limit.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Verify if the value '10.1' can be accepted by the NUMBER(10,8) datatype.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["10.1"]], "excel_metadata": [{"column_name": "Normalized_Score", "data_type": "NUMBER(10,8)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Valid. After padding zeros, the value becomes '10.10000000' and fits within the allowed precision.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Evaluate whether '123.1' is valid for NUMBER(10,8).<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["123.1"]], "excel_metadata": [{"column_name": "Normalized_Score", "data_type": "NUMBER(10,8)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Invalid. After padding, '123.10000000' has 11 digits which exceeds the total precision limit of 10.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Is the value '12.456' valid for a NUMBER(5,3) column?<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["12.456"]], "excel_metadata": [{"column_name": "Discount", "data_type": "NUMBER(5,3)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Valid. '12.456' meets both the total digit and decimal precision limits.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Is the value '1.2345' valid for a NUMBER(5,3) defined column?<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["1.2345"]], "excel_metadata": [{"column_name": "Discount", "data_type": "NUMBER(5,3)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Invalid. '1.2345' exceeds the defined decimal precision of 3.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Check if 'A567' is valid for a NUMBER(6,0) column.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["A567"]], "excel_metadata": [{"column_name": "Customer_ID", "data_type": "NUMBER(6,0)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Invalid. Non-numeric value 'A567' cannot be stored in a NUMBER datatype column.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Inspect for NULL violations where ALLOW_NULL=No. ',' represents NULL, '' represents an empty string.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["123", "456"], ["123", "", "789"], [",,", ""]], "excel_metadata": [{"column_name": "Order_ID", "data_type": "NUMBER(5)", "allow_null": "No"}, {"column_name": "Product_Code", "data_type": "VARCHAR2(10)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Row 2 and Row 3 have NULLs in columns defined as NOT NULL. Must be corrected before loading.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Check if the table name 'EMPLOYEE DETAILS' follows Oracle database naming conventions.<|eot_id|><|start_header_id|>user<|end_header_id|>{"table_name": "EMPLOYEE DETAILS"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Invalid. Oracle table names must not contain spaces. Suggested fix: EMPLOYEE_DETAILS.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Determine the maximum string length in the 'CustomerName' column.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["Alice"], ["Bob"], ["Christopher"], ["Dan"]], "column_name": "CustomerName"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>The maximum length in 'CustomerName' is 11 (value: 'Christopher').<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Calculate the total sum, average, and highest sales from the 'Total_Sales' column.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["200"], ["450"], ["800"], ["150"]], "column_name": "Total_Sales"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Total Sum: 1600 | Average: 400.0 | Highest Value: 800.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Verify if any row in the CSV file has a mismatch between the number of delimiters and the expected column count of 3.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": ["1001,John,HR", "1002,Mary,Admin,Extra"], "expected_columns": 3}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Row 2 contains 4 fields, but the expected count is 3. This violates the structure.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Identify rows where the NOT NULL constraint for column 'Employee_ID' is violated. An empty pair of commas ',,' indicates NULL.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [",,John", "101,Mary", "102,Anna"], "excel_metadata": [{"column_name": "Employee_ID", "data_type": "NUMBER(5)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Row 1 violates the NOT NULL constraint on 'Employee_ID'.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>A user asked a general question unrelated to the uploaded file. Decide whether to respond or not.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "What is the capital of France?"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>This question is unrelated to the uploaded data and cannot be answered.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Evaluate the column name 'Emp#ID' for Oracle database compliance.<|eot_id|><|start_header_id|>user<|end_header_id|>{"column_name": "Emp#ID"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Invalid. Oracle column names must not include special characters like '#'. Suggested correction: EMP_ID.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Determine whether '123456.78' satisfies the NUMBER(8,2) specification in terms of precision and scale.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["123456.78"]], "excel_metadata": [{"column_name": "Annual_Bonus", "data_type": "NUMBER(8,2)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Valid. The total number of digits including decimals is within the allowed 8 digits and scale is 2.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Is '99999999.99' compliant with the NUMBER(10,2) type, or does it violate the total digit count?<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["99999999.99"]], "excel_metadata": [{"column_name": "Invoice_Total", "data_type": "NUMBER(10,2)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Invalid. The value '99999999.99' has 11 digits, which exceeds the allowed precision of 10.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Check if 'AB-12' can be accepted in a VARCHAR2(4) column.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["AB-12"]], "excel_metadata": [{"column_name": "Item_Code", "data_type": "VARCHAR2(4)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Invalid. The value 'AB-12' contains 5 characters, exceeding the defined length limit of 4.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Assess whether the input '77.7777' adheres to the NUMBER(6,4) requirement after formatting.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["77.7777"]], "excel_metadata": [{"column_name": "Interest_Rate", "data_type": "NUMBER(6,4)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Valid. After formatting, the value has 6 digits total with 4 decimals, complying with NUMBER(6,4).<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Check if the value '123.45' can be stored in NUMBER(5,1) without overflow or rounding.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["123.45"]], "excel_metadata": [{"column_name": "Price_Adjustment", "data_type": "NUMBER(5,1)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Invalid. The scale of 2 exceeds the defined limit of 1 for NUMBER(5,1).<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>From the given rows, identify which ones have values missing in mandatory fields (NOT NULL columns). Treat empty string "" and comma "," as NULL.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["1001", "Shoes", "Black"], ["", "Jacket", "Blue"], ["1003", "", "Red"]], "excel_metadata": [{"column_name": "Product_ID", "data_type": "NUMBER(6)", "allow_null": "No"}, {"column_name": "Product_Name", "data_type": "VARCHAR2(20)", "allow_null": "No"}]}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Rows 2 and 3 contain missing values in NOT NULL columns: Product_ID and Product_Name, respectively.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Analyze the provided table name and decide whether it respects Oracle naming conventions.<|eot_id|><|start_header_id|>user<|end_header_id|>{"table_name": "SALES-REGION"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Invalid. Oracle object names must not contain hyphens. Consider renaming to SALES_REGION.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Find the average and maximum from the Revenue_Amount column and sum only values above 500.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": [["400"], ["650"], ["800"], ["300"]], "column_name": "Revenue_Amount"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Average: 537.5 | Maximum: 800 | Sum of values > 500: 1450<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Evaluate if the column name ORDER@ID is compliant with Oracle rules for identifiers.<|eot_id|><|start_header_id|>user<|end_header_id|>{"column_name": "ORDER@ID"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Invalid. Column names cannot include special symbols like '@'. Suggested alternative: ORDER_ID.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>In the CSV data below, verify if all rows conform to the expected structure of 4 columns. Highlight any structural inconsistencies.<|eot_id|><|start_header_id|>user<|end_header_id|>{"csv_data": ["2001,Mark,Sales,NY", "2002,Alice,Finance", "2003,Bob,HR,TX"], "expected_columns": 4}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Row 2 has only 3 columns instead of the expected 4. Data structure must be fixed for consistent parsing.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Check if any of the 'joining_date' entries are in an invalid format. Oracle expects DD-MON-YYYY."}<|eot_id|><|start_header_id|>assistant<|end_header_id|>The values '2023/01/30' and '15-13-2022' in 'joining_date' are not in Oracle's DD-MON-YYYY format. Additionally, '15-13-2022' has an invalid month value.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Some dates are weird in this file. Can you highlight ones that don’t look like Oracle-style dates?"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>'2024-02-30' is not valid because February doesn't have 30 days. Also, '31-APR-2023' has an invalid day for April.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Can you validate 'amount_paid' column? Some values have commas and others have weird decimals like '.45'."}<|eot_id|><|start_header_id|>assistant<|end_header_id|>'1,000.00' contains a comma which Oracle doesn't accept in numeric fields. Also, '.45' and '123.' are malformed and may cause issues during conversion.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "I noticed leading zeros in the 'discount' column. Are those okay for Oracle number fields?"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Values like '00015.50' and '0123' are syntactically acceptable but may indicate formatting issues if stored as strings. Remove leading zeros if not intentional.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Which column names in this file are invalid for Oracle tables?"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>The column '1REVENUE' starts with a number, and 'total$amount' includes a special character. Oracle object names can't start with digits or contain '$'.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Flag column names that break Oracle naming rules."}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Invalid column names include: 'totalunits!' (special character), 'REVENUE$' (special char), 'net_income_this_quarter_exceeds_char_limit_limit_limit' (exceeds 30 characters).<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Find the customer with the highest balance but ignore records where 'account_id' is null or 'balance' is non-numeric."}<|eot_id|><|start_header_id|>assistant<|end_header_id|>After filtering out null 'account_id' and malformed balances ('abc', '-'), the customer with the highest valid balance is CUST_1023 with 8750.25.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Give me the top 3 products by revenue but skip rows where quantity or price is missing or not numeric."}<|eot_id|><|start_header_id|>assistant<|end_header_id|>After removing invalid rows, the top 3 products by revenue (price * quantity) are: P102 (9,200), P110 (8,750), and P103 (7,850).<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "First validate all records against column constraints. Then compute total revenue per region and show the top one."}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Invalid entries removed: missing region, null price, and string values in 'quantity'. Highest total revenue after cleanup: 'West' region with $29,500.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Validate the structure, then give me average salary per department. Exclude invalid or missing salaries."}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Removed records with missing 'salary' or non-numeric values. Average salary: HR – 5200, Finance – 6300, IT – 7100. Highest: IT.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "This file looks corrupted. Can you find any row with extra columns or wrong delimiters?"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Row 14 uses '|' instead of ',', and row 20 has 6 columns instead of 5. Header mismatch detected on line 1 vs actual data.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "I think this CSV has missing headers and inconsistent columns. Can you confirm?"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>The file is missing header names. Rows 2 and 4 have fewer columns than expected. Some delimiters are tabs instead of commas.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Hey, can you check if this file has any data quality problems? Especially around nulls or column length limits?"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Found 3 columns with NULLs where NOT NULL was expected. Also, values in 'customer_name' exceeded 50 characters in 5 rows.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Mind checking this dataset? I think some fields are empty or way too long for the target table."}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Column 'email' has 12 entries exceeding the VARCHAR(100) limit. Column 'phone_number' has blanks in 8 rows.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Can you first validate for any NOT NULL violations, then give me the total quantity by region?"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Rows with nulls in 'region' or 'quantity' removed. Total quantity by region: East – 3000, North – 2450, West – 3250.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Which column names should be changed to meet Oracle standards?"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>'Revenue$' has an invalid character. '123Profit' starts with a number. 'summary_notes_long_column_name_that_exceeds_limits' is longer than 30 characters.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Some date entries are blank or have slashes instead of hyphens. Can you catch those?"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Values like '01/12/2023' and '' (blank) in 'start_date' are invalid. Oracle expects DD-MON-YYYY format.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Find all invalid numeric fields, especially the ones with commas or weird decimal formatting."}<|eot_id|><|start_header_id|>assistant<|end_header_id|>'1,234' and '.99' in 'unit_price' are invalid. Oracle doesn't support commas, and '.99' needs a leading digit.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "This file seems broken — some rows have extra columns, and the header looks weird. Can you help?"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Line 3 has 7 columns instead of 6. Header on line 1 uses semicolons instead of commas.<|eot_id|>
<|begin_of_text|><|start_header_id|>system<|end_header_id|>Perform the following task.<|eot_id|><|start_header_id|>user<|end_header_id|>{"user_query": "Quick check: do any values break Oracle rules for column length or type?"}<|eot_id|><|start_header_id|>assistant<|end_header_id|>Column 'product_code' exceeds max length of 10 in 6 rows. 'price' has non-numeric entries like 'ten'.<|eot_id|>
README.md exists but content is empty.
Downloads last month
1