messages
listlengths
3
3
meta
dict
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "00a646740301c946", "schema": "library", "unit_type": "query", "category": "rownum", "template_id": "rownum_inline", "split": "train", "estimated_tokens": 544 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "020c54ec25fd9491", "schema": "retail", "unit_type": "query", "category": "to_char_date", "template_id": "to_date_literal", "split": "train", "estimated_tokens": 290 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "02487c3bcf9a3fe4", "schema": "retail", "unit_type": "query", "category": "rownum", "template_id": "rownum_with_filter", "split": "train", "estimated_tokens": 530 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "032b24e99d751d3e", "schema": "retail", "unit_type": "query", "category": "dual", "template_id": "dual_literal", "split": "train", "estimated_tokens": 263 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "0376fa7b33995263", "schema": "hr", "unit_type": "query", "category": "to_char_date", "template_id": "to_char_date_iso", "split": "train", "estimated_tokens": 659 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "03a59ddea1e701d3", "schema": "retail", "unit_type": "query", "category": "to_char_date", "template_id": "to_char_date_iso", "split": "train", "estimated_tokens": 533 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "04d52937bf6d1e0a", "schema": "hr", "unit_type": "query", "category": "rownum", "template_id": "rownum_inline", "split": "train", "estimated_tokens": 629 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "05c1a4dc0cf6c71b", "schema": "hr", "unit_type": "query", "category": "string_func", "template_id": "string_length_funcs", "split": "train", "estimated_tokens": 434 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "05e0af142ad7e2c5", "schema": "library", "unit_type": "query", "category": "add_months", "template_id": "add_months_basic", "split": "train", "estimated_tokens": 672 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "06792e3f25fe6fed", "schema": "library", "unit_type": "query", "category": "null_concat", "template_id": "concat_function", "split": "train", "estimated_tokens": 474 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "07286fc067733247", "schema": "hr", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_offset", "split": "train", "estimated_tokens": 659 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "07d80e491fe09d96", "schema": "hr", "unit_type": "query", "category": "add_months", "template_id": "add_months_filter", "split": "train", "estimated_tokens": 679 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "07ec957679194b48", "schema": "library", "unit_type": "query", "category": "rownum", "template_id": "rownum_ordered_subquery", "split": "train", "estimated_tokens": 481 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "080b5c6c7f666338", "schema": "retail", "unit_type": "query", "category": "trunc_date", "template_id": "trunc_date_day", "split": "train", "estimated_tokens": 527 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "082a165d609042fc", "schema": "retail", "unit_type": "query", "category": "null_concat", "template_id": "concat_fact_nullable", "split": "train", "estimated_tokens": 524 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "0936dc79b74c65e9", "schema": "hr", "unit_type": "query", "category": "rownum", "template_id": "rownum_as_column", "split": "train", "estimated_tokens": 642 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "09750dea2e1098b8", "schema": "hr", "unit_type": "query", "category": "nvl", "template_id": "nvl_numeric", "split": "train", "estimated_tokens": 655 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "09897f1ca5dbccb1", "schema": "retail", "unit_type": "query", "category": "rownum", "template_id": "rownum_inline", "split": "train", "estimated_tokens": 503 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "09b3d46d5f98e001", "schema": "library", "unit_type": "query", "category": "analytic", "template_id": "analytic_row_number", "split": "train", "estimated_tokens": 598 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "0a14a33935beb09c", "schema": "library", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_first_basic", "split": "train", "estimated_tokens": 476 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "0d33d0d4c79b01cd", "schema": "retail", "unit_type": "query", "category": "dual", "template_id": "dual_literal", "split": "train", "estimated_tokens": 257 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "0d550448ef360de5", "schema": "library", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_first_desc", "split": "train", "estimated_tokens": 568 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "0e454ed2088404b2", "schema": "retail", "unit_type": "query", "category": "to_char_date", "template_id": "extract_from_date", "split": "train", "estimated_tokens": 555 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "0e7660240ccf8ce8", "schema": "library", "unit_type": "query", "category": "string_func", "template_id": "string_length_funcs", "split": "train", "estimated_tokens": 490 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "0f53a7e799817c72", "schema": "retail", "unit_type": "query", "category": "trunc_date", "template_id": "trunc_date_unit", "split": "train", "estimated_tokens": 529 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "109c1214b860f46e", "schema": "library", "unit_type": "query", "category": "rownum", "template_id": "rownum_as_column", "split": "train", "estimated_tokens": 557 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "10f51d4cbd34af44", "schema": "hr", "unit_type": "query", "category": "nvl", "template_id": "nvl_text", "split": "train", "estimated_tokens": 413 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "127f09974643aecb", "schema": "retail", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_offset", "split": "train", "estimated_tokens": 531 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "13279a78020acce0", "schema": "retail", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_first_basic", "split": "train", "estimated_tokens": 553 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "13ee02d5c7af5eb1", "schema": "library", "unit_type": "query", "category": "to_char_date", "template_id": "to_char_date_iso", "split": "train", "estimated_tokens": 578 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "1457f9a0d88e1525", "schema": "hr", "unit_type": "query", "category": "analytic", "template_id": "analytic_lag_lead", "split": "train", "estimated_tokens": 707 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "14a4082ff3457f77", "schema": "retail", "unit_type": "query", "category": "rownum", "template_id": "rownum_inline", "split": "train", "estimated_tokens": 503 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "14e16eaf2302bd9e", "schema": "retail", "unit_type": "query", "category": "sequence", "template_id": "sequence_nextval", "split": "train", "estimated_tokens": 273 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "156adf109fbeb965", "schema": "retail", "unit_type": "query", "category": "dual", "template_id": "dual_arithmetic", "split": "train", "estimated_tokens": 283 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "159989a3d9def578", "schema": "retail", "unit_type": "query", "category": "subquery", "template_id": "subquery_not_exists", "split": "train", "estimated_tokens": 807 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "16405e5e0cbe78c7", "schema": "hr", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_offset", "split": "train", "estimated_tokens": 659 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "164a1aa15905dab3", "schema": "hr", "unit_type": "ddl", "category": "ddl_view", "template_id": "ddl_view_simple", "split": "train", "estimated_tokens": 653 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "16b08412719030f4", "schema": "retail", "unit_type": "query", "category": "nvl", "template_id": "nvl_in_aggregate", "split": "train", "estimated_tokens": 513 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "17a04304a0eb583b", "schema": "library", "unit_type": "query", "category": "to_char_date", "template_id": "to_char_date_iso", "split": "train", "estimated_tokens": 570 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "19bcfc5164de1d22", "schema": "hr", "unit_type": "query", "category": "aggregate", "template_id": "aggregate_having", "split": "train", "estimated_tokens": 675 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "1a0ca3d6d88116b5", "schema": "library", "unit_type": "query", "category": "trunc_date", "template_id": "trunc_date_day", "split": "train", "estimated_tokens": 566 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "1b53a951cfbc30d8", "schema": "library", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_offset", "split": "train", "estimated_tokens": 572 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "1b71569b93c4f085", "schema": "retail", "unit_type": "query", "category": "string_func", "template_id": "string_length_funcs", "split": "train", "estimated_tokens": 563 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "1be58034e7261381", "schema": "library", "unit_type": "query", "category": "string_func", "template_id": "string_pad_trim", "split": "train", "estimated_tokens": 490 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "1be5a8245721a904", "schema": "retail", "unit_type": "query", "category": "to_char_date", "template_id": "to_char_date_iso", "split": "train", "estimated_tokens": 533 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "1f1e21ae90ef1743", "schema": "hr", "unit_type": "query", "category": "add_months", "template_id": "add_months_basic", "split": "train", "estimated_tokens": 755 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "1f5d794dccdb7efb", "schema": "hr", "unit_type": "query", "category": "string_func", "template_id": "string_regexp", "split": "train", "estimated_tokens": 456 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "1f6e08897047489a", "schema": "library", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_offset", "split": "train", "estimated_tokens": 572 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "1f707c1f333e80a1", "schema": "library", "unit_type": "ddl", "category": "ddl_sequence", "template_id": "ddl_sequence_basic", "split": "train", "estimated_tokens": 302 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "1fce06bdf2feacd8", "schema": "library", "unit_type": "query", "category": "to_char_date", "template_id": "to_char_date_iso", "split": "train", "estimated_tokens": 574 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "208a3d6c1507d092", "schema": "hr", "unit_type": "ddl", "category": "ddl_sequence", "template_id": "ddl_sequence_basic", "split": "train", "estimated_tokens": 302 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "21596ffea2d037ce", "schema": "library", "unit_type": "query", "category": "string_func", "template_id": "string_length_funcs", "split": "train", "estimated_tokens": 490 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "218653755b8c9c6e", "schema": "hr", "unit_type": "query", "category": "string_func", "template_id": "string_length_funcs", "split": "train", "estimated_tokens": 434 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "24b0f3085add9ad5", "schema": "retail", "unit_type": "dml", "category": "dml_update", "template_id": "dml_update_all_matching", "split": "train", "estimated_tokens": 513 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "24ef9bdf9bc6ad48", "schema": "hr", "unit_type": "ddl", "category": "ddl_view", "template_id": "ddl_view_with_nvl", "split": "train", "estimated_tokens": 669 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "2522578999ab8989", "schema": "retail", "unit_type": "query", "category": "add_months", "template_id": "add_months_filter", "split": "train", "estimated_tokens": 556 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "257faa68d15ccced", "schema": "retail", "unit_type": "query", "category": "dual", "template_id": "dual_integer_division", "split": "train", "estimated_tokens": 261 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "25f90211e25d9c18", "schema": "library", "unit_type": "query", "category": "rownum", "template_id": "rownum_inline", "split": "train", "estimated_tokens": 544 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "264fcda104d2892c", "schema": "hr", "unit_type": "query", "category": "rownum", "template_id": "rownum_with_filter", "split": "train", "estimated_tokens": 654 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "27b4d0838ec6baaa", "schema": "library", "unit_type": "dml", "category": "dml_delete", "template_id": "dml_delete_filtered", "split": "train", "estimated_tokens": 542 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "2845e4bb7a61d6a3", "schema": "retail", "unit_type": "query", "category": "sequence", "template_id": "sequence_nextval_expr", "split": "train", "estimated_tokens": 276 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "2938a15a7ef36ef5", "schema": "retail", "unit_type": "query", "category": "analytic", "template_id": "analytic_lag_lead", "split": "train", "estimated_tokens": 577 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "2956231500208384", "schema": "retail", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_first_desc", "split": "train", "estimated_tokens": 527 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "297620095fa48155", "schema": "retail", "unit_type": "query", "category": "add_months", "template_id": "add_months_basic", "split": "train", "estimated_tokens": 631 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "29abdc6f1b150d36", "schema": "retail", "unit_type": "query", "category": "pivot", "template_id": "pivot_status_counts", "split": "train", "estimated_tokens": 628 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "29b1fed826b5abb0", "schema": "library", "unit_type": "query", "category": "analytic", "template_id": "analytic_rank", "split": "train", "estimated_tokens": 608 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "2ba5fb3925bf3242", "schema": "retail", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_offset", "split": "train", "estimated_tokens": 531 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "2cb063fa2f26023c", "schema": "library", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_offset", "split": "train", "estimated_tokens": 570 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "2d169c6684a42e1e", "schema": "library", "unit_type": "query", "category": "rownum", "template_id": "rownum_with_filter", "split": "train", "estimated_tokens": 572 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "2d91fe636fc20374", "schema": "library", "unit_type": "query", "category": "analytic", "template_id": "analytic_first_last_value", "split": "train", "estimated_tokens": 696 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "2dfbded7b8ecad31", "schema": "retail", "unit_type": "query", "category": "subquery", "template_id": "subquery_exists", "split": "train", "estimated_tokens": 805 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "2e1c69e3d04b04c8", "schema": "retail", "unit_type": "query", "category": "decode", "template_id": "decode_with_default", "split": "train", "estimated_tokens": 546 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "2e706544ff73dced", "schema": "hr", "unit_type": "query", "category": "analytic", "template_id": "analytic_row_number", "split": "train", "estimated_tokens": 693 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "2f14b9a2b7a239e8", "schema": "library", "unit_type": "query", "category": "add_months", "template_id": "add_months_basic", "split": "train", "estimated_tokens": 673 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "30d0de766e60267a", "schema": "retail", "unit_type": "ddl", "category": "ddl_sequence", "template_id": "ddl_sequence_basic", "split": "train", "estimated_tokens": 302 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "31985504540ba0d6", "schema": "hr", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_offset", "split": "train", "estimated_tokens": 659 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "31b1236629a15521", "schema": "retail", "unit_type": "query", "category": "aggregate", "template_id": "aggregate_having", "split": "train", "estimated_tokens": 531 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "3262e3b5d7a9f9b3", "schema": "library", "unit_type": "query", "category": "minus", "template_id": "minus_reversed", "split": "train", "estimated_tokens": 759 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "32c6c212091f0b96", "schema": "retail", "unit_type": "query", "category": "dual", "template_id": "dual_literal", "split": "train", "estimated_tokens": 261 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "32f7bed08e25e766", "schema": "retail", "unit_type": "query", "category": "rownum", "template_id": "rownum_ordered_subquery", "split": "train", "estimated_tokens": 556 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "333fe9c223794945", "schema": "hr", "unit_type": "query", "category": "minus", "template_id": "union_all_basic", "split": "train", "estimated_tokens": 774 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "33d56fc14f094014", "schema": "hr", "unit_type": "query", "category": "connect_by", "template_id": "connect_by_depth_filter", "split": "train", "estimated_tokens": 739 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "340c09572650899e", "schema": "hr", "unit_type": "query", "category": "minus", "template_id": "minus_reversed", "split": "train", "estimated_tokens": 785 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "344d06cc200be3db", "schema": "hr", "unit_type": "ddl", "category": "ddl_index", "template_id": "ddl_index_single", "split": "train", "estimated_tokens": 344 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "3478639ac7ad66a1", "schema": "retail", "unit_type": "query", "category": "nvl", "template_id": "coalesce_two", "split": "train", "estimated_tokens": 527 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "356e17ae98d20c9a", "schema": "hr", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_offset", "split": "train", "estimated_tokens": 659 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "35e92b400e76ddc1", "schema": "retail", "unit_type": "query", "category": "aggregate", "template_id": "aggregate_having", "split": "train", "estimated_tokens": 531 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "3627298a86ff2ba6", "schema": "retail", "unit_type": "ddl", "category": "ddl_view", "template_id": "ddl_view_with_nvl", "split": "train", "estimated_tokens": 542 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "37db8ce951abf4c8", "schema": "library", "unit_type": "query", "category": "subquery", "template_id": "subquery_not_exists", "split": "train", "estimated_tokens": 769 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "382bce74f5cfaab3", "schema": "library", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_offset", "split": "train", "estimated_tokens": 572 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "3831c6c41cae37d2", "schema": "library", "unit_type": "query", "category": "cte", "template_id": "cte_joined", "split": "train", "estimated_tokens": 814 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "38698fc1a7bfd9be", "schema": "retail", "unit_type": "dml", "category": "dml_update", "template_id": "dml_update_numeric", "split": "train", "estimated_tokens": 529 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "3962aec495852b8a", "schema": "retail", "unit_type": "query", "category": "string_func", "template_id": "string_pad_trim", "split": "train", "estimated_tokens": 563 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "3a0c1df74852dda2", "schema": "retail", "unit_type": "query", "category": "rownum", "template_id": "rownum_as_column", "split": "train", "estimated_tokens": 517 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "3b0470d486f1bb66", "schema": "retail", "unit_type": "query", "category": "fetch_first", "template_id": "fetch_first_basic", "split": "train", "estimated_tokens": 553 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "3b6685a10798b77d", "schema": "retail", "unit_type": "query", "category": "add_months", "template_id": "add_months_basic", "split": "train", "estimated_tokens": 631 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "3b6b48916ae81ecb", "schema": "hr", "unit_type": "query", "category": "to_char_date", "template_id": "to_char_date_iso", "split": "train", "estimated_tokens": 659 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "3bc6e6af64c44c68", "schema": "hr", "unit_type": "query", "category": "minus", "template_id": "minus_basic", "split": "train", "estimated_tokens": 748 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "3bca4cd91e1d00bc", "schema": "hr", "unit_type": "query", "category": "nvl", "template_id": "nvl_in_aggregate", "split": "train", "estimated_tokens": 638 }
[ { "role": "system", "content": "You translate Oracle SQL into PostgreSQL.\n\nRules:\n- Return only the PostgreSQL statement. No explanation, no markdown, no semicolon.\n- The translation must run on PostgreSQL 17 and return exactly what the Oracle\n statement returns on Oracle.\n- Oracle types map as: NUMB...
{ "unit_key": "3c27399a0f593034", "schema": "hr", "unit_type": "query", "category": "analytic", "template_id": "analytic_count_over", "split": "train", "estimated_tokens": 669 }