Answers for "select all columns without duplicates oracle"

SQL
1

oracle duplicate table

-- Copy a table (datas, columns and storage parameters)
CREATE TABLE my_new_table AS SELECT * FROM my_source_table;
-- Use NOLOGGING, and PARALLEL if allowed for faster copy
CREATE TABLE my_new_table
    PARALLEL 10 NOLOGGING
AS
SELECT /*+ parallel(10) */ * FROM my_source_table;
-- To create an empty table:
CREATE TABLE my_new_table AS SELECT * FROM my_source_table
	WHERE rownum = 0;
Posted by: Guest on January-23-2021
0

how to delete duplicate rows in oracle

DELETE FROM your_table
WHERE rowid not in
(SELECT MIN(rowid)
FROM your_table
GROUP BY column1, column2, column3);
Posted by: Guest on December-04-2020

Code answers related to "select all columns without duplicates oracle"

Code answers related to "SQL"

Browse Popular Code Answers by Language