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
How to block web proxys like ninjacloak.com?
vcenter Agents for ESX server
TP-Link td w8960n wireless bridge setup
server 2008 capacity
Cocoa xcode simple startup (iPhone)
DMZ with single WAN IP on SonicWall TZ-200?
Running Access VBA on Open Office Base
ORA-00701: object necessary for warmstarting database cannot be altered
Access 2010 VBA - determining which "Yes/No" boxes are checked on a continupus form
Editable dropdown list in ASP.net 3.5 using C#