Answers for "SQL CREATE TABLE WITH CONDITION"

SQL
0

create table using the clause with as

CREATE TABLE t
AS 
WITH some_data AS ( 
   SELECT 1 as some_value 
   FROM dual

   UNION ALL 

   SELECT 2 
   FROM dual
) 
SELECT * 
FROM some_data
Posted by: Guest on December-02-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language