messages
listlengths
3
3
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nINSERT INTO TB_RDFOLDERKEYWD...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nUPDATE TB_STDEPT A\n ...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT \tnvl(tb2.clss_cd,'')...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nUPDATE TB_STORG\n\t\tSET l...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT B.*\n\t\tFROM (\n\t\t...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT F.*\n\t\tFROM (\n\t\t...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT bis_clss_id, bis_clss...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT B.*\n\t\tFROM (\n\t\t...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT REPLACE(REPLACE(KEYWD...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT F.*\n\t\tFROM (\n\t\t...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT REPLACE(REPLACE(KEYWD...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT F.*\n\t\tFROM (\n\t\t...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT menu_id\n\t\t , m...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nUPDATE TB_STUSER\n\t\tSET ...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nDELETE FROM TB_STCREATSYS \n...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT COUNT(1)\n\t FROM\n\t...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT REPLACE(REPLACE(KEYWD...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nUPDATE TB_STORG A\n S...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT F.*\n\t\tFROM (\n\t\t...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT bis_clss_id, bis_clss...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT bis_clss_id, bis_clss...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT DISTINCT '' BIS_CLSS_...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nUPDATE TB_STQNA \n\t\tSET\t ...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT \tnvl(tb2.clss_cd,'')...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT bis_clss_id, bis_clss...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT count(1)\n\t FROM (S...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT \ttb.clss_nm AS clss_...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT D.CREAT_YYYY\n\t ...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT D.BIS_CLSS_ID\n\t ...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nUPDATE TB_STDEPT\n\t\tSET ...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT COUNT(1)\n\t \tFROM (...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT /*+ index_desc (TB_ST...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT count(1)\n\t\tFROM (\...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT bis_clss_id, bis_clss...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT C.org_cd\n\t\t , ...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT D.creat_yyyy\n\t\t\t,...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nINSERT INTO tb_storg (\n\t\t...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT bis_clss_id, bis_clss...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nDELETE TB_ZZUNIT a\n\t\tWHER...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT COUNT(1)\n\t\tFROM (\...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nINSERT INTO TB_STCREATSYS ( ...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nINSERT INTO tb_storg (\n\t\t...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT D.BIS_CLSS_ID\n\t ...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nINSERT INTO TB_RDFOLDERKEYWD...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT \tnvl(tb2.clss_cd,'')...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT D.board_sno\n\t\t ...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nINSERT INTO TB_ZZUNIT\n\t\t(...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT bis_clss_id, bis_clss...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT C.menu_id user_id\n\t...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT D.creat_yyyy\n\t\t\t,...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT bis_clss_id, bis_clss...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT A.BIS_CLSS_ID CLSS_ID...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT B.*\n\t\tFROM (\n\t\t...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT bis_clss_id, bis_clss...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT bis_clss_id, bis_clss...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT menu_id\n\t\t , m...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nINSERT INTO TB_STORG\n\t\t( ...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT COUNT(1) FROM\n\t(\n\...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT A.BIS_CLSS_ID,\n\t\t ...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT bis_clss_id, bis_clss...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT D.BIS_CLSS_ID\n\t ...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT D.CREAT_YYYY\n\t ...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nUPDATE \tTB_ZZCLSS A\n\t\tSE...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT AA.*\n\t\t\t, BB.mf_i...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT B.*\n\t\tFROM (\n\t\t...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT D.*\n\t\tFROM (\n\t\t...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT COUNT(1)\n\t FROM\n\t...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT bis_clss_id, bis_clss...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT COUNT(1)\n FRO...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\nSELECT BB.*\n\t\tFROM (\n\t\...
[ { "content": "You are an expert SQL converter specializing in Oracle to PostgreSQL migration. Convert the given Oracle query to PostgreSQL syntax while maintaining the same logic and results.", "role": "system" }, { "content": "Convert this Oracle query to PostgreSQL:\n\n(\n\t\t\tSELECT * FROM (\n\t...