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
Problems with protocol buffers
Get Column Name in Trigger
Getting (and setting) text values from a CRM Pick List?
Use Windows Server with SBS 2003
FPDF Multiple Images from MySQL
setup NAT on Cisco ASA
Best Way To Subtract DateTime Fields
File Lock Problem
VLAN ACL ?
HP-UNIX - compressing/zipping files that are 31GB