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
loop an array in an array and insert into db
Exchange 2003 on SBS 2003 Active Sync and Blackberry/iPhone Configuration Help Needed
Data Encryption Software
Help with Lucene query in Alfresco
Batch File: Remove spaces in variable
Calling IE to run on second monitor in batch file log in script
changing external server name.. do I need to change anything in Outlook
SBS 2008 - STOP c00002e2
Is exercising in an air conditionedroom a good idea?
I want to make Liberty reserve API