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
Recurring Router problem
InfoPath - CONCAT, Line break and copying user comments into a repeating table each time a new user adds comments in a browser-enabled field
How to cleanly kill an Excel object from memory.
Fax services SBS 2008
Revert to Visual Studio 2008
Show All Records In Query if Nothing Selected in Listbox - Part II
java include : a simple question
Windows Server 2003 Intermittent Freezing Issues
rsync with One host in DMZ
Start applications from command promt