Microsoft
Software
Hardware
Network
Question : Oracle query
can anyone advise on following sql-
TABLE A HAS COL- ID,code,acno
How can i retreive records which have more than one unique value of (code,acno) base on ID
Example-
id code acno
1 A 3
1 A 3
2 A 3
2 b 3
Result expected is-
2 b 3
2 A 3
Answer : Oracle query
select id,code,acno from
(select id,code,acno,count(*) over(partition by id,code,acno) cntcombo,count(*) over (partition by id) cntid from tablea)
where cntcombo != cntid;
Random Solutions
anchor on seperate page not working in safari and firefox
Mail stuck in Lotus oubox
video driver - cannot find correct one - aspect 8640 laptop
Exporting mailboxes to PST in Exchange 2007 running on SBS 2008
SCCM Operating System Deployment with SCCM and Multiple Model's of HP Notebooks
XP 10 inbound connection limit question
Documentation for Palo Alto PA 500 firewall
mount: unknown filesystem type 'vfat'
Exchange 2010 Domain Prep
Binding List<Class> to DropDownList C#