Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PL/SQL Question

ChoMan23Jan 25 2012 — edited Jan 25 2012
Create Table Test(
ID Number
MedName VARCHAR(2),
Date date,

)

insert into Test
VALUES 1,'Benadryl','12/31/2012'

insert into Test
VALUES 1,'Tylenol','12/10/2012'

insert into Test
VALUES 1,'Ibroprofen','12/31/2012'


What I am trying to do is show records that have received both Benadryl and Tylenol for the same ID and date. Any help would be appreciated. I am using Oracle 11g.

Edited by: 792208 on Jan 25, 2012 6:39 AM

Edited by: 792208 on Jan 25, 2012 6:42 AM
This post has been answered by Frank Kulash on Jan 25 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 22 2012
Added on Jan 25 2012
9 comments
99 views