Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Naga.

Asked: August 01, 2017 - 7:36 am UTC

Last updated: August 05, 2017 - 9:19 pm UTC

Version: 110

Viewed 1000+ times

You Asked

I have table employee...which has two columns like....Name and Id...

create table employee(name varchar2(10),id number);


Insert into employee values('A',1);

Insert into employee values('B',2);

Insert into employee values('C',3);

Name id-----input.
A 4
B 2
C 3
D 1.

Now i need a output like in below.
Name id
A 4
A 4
A 4
A 4
B 2
B 2
C 3
C 3
C 3
D 1.



and Connor said...


Is this answer out of date? If it is, please let us know via a Comment

More to Explore

SQL

The Oracle documentation contains a complete SQL reference.