Click here to Skip to main content
15,912,977 members
Home / Discussions / Database
   

Database

 
GeneralRe: Cannot Informix execute procedure under unix Pin
LoadBitmap27-Feb-07 13:53
LoadBitmap27-Feb-07 13:53 
Questionquery to print only the duplicate records Pin
indian14326-Feb-07 20:11
indian14326-Feb-07 20:11 
AnswerRe: query to print only the duplicate records Pin
Krish - KP26-Feb-07 20:50
Krish - KP26-Feb-07 20:50 
GeneralRe: query to print only the duplicate records Pin
indian14328-Feb-07 20:14
indian14328-Feb-07 20:14 
GeneralRe: query to print only the duplicate records Pin
Krish - KP28-Feb-07 22:18
Krish - KP28-Feb-07 22:18 
GeneralRe: query to print only the duplicate records Pin
indian14328-Feb-07 22:25
indian14328-Feb-07 22:25 
GeneralRe: query to print only the duplicate records Pin
Krish - KP1-Mar-07 16:53
Krish - KP1-Mar-07 16:53 
GeneralRe: query to print only the duplicate records Pin
indian1431-Mar-07 18:03
indian1431-Mar-07 18:03 
KP lets suppose this is my table structure, with a, b, c are columns. Now I would like to print only those columns which are duplicate. And by using the query its not printing any thing.

* SELECT a, b, c FROM SampleTable GROUP BY a, b, c HAVING COUNT(*) > 1 *
But if I give <=1 or < or = its giving atleast some values.

And even if I give this also * SELECT a, b FROM SampleTable GROUP BY a, b HAVING COUNT(*) > 1 *

And * SELECT a, b FROM SampleTable GROUP BY a, b HAVING COUNT(a) > 1 * its also not giving me any thing.

Thank you.

----------------------------------
a b c
----------------------------------
AA 12 1
BB 12 tyt
CC rtr yuyu
TT Gfg yuy
TT sdsd iuiu
AA dsfdf uiui
DD Ere bvn
EE DS hj
FF dfd bn
GG fdf bnbn
HH Tr bnb
AA FDF bn
BB fdfd bn
RR dfd bn
II dfdf bvn
JJ dsfd nvbnnb
KK dfdf hnmnmn
LL dfdf nm
MM dsfdf nmn
NN dfd mn
NN dfdf mn
TT dfdf mnghjf
OO fdgfg jhj
PP fgf j
QQ fgf j
RR fgfg jhgjh
SS fgfg fdgfdg
TT fgf f
UU fgfgf gf
VV fgfg gh
XX ffg h
YY ghg bbv
ZZ rfg tyt
TT fgfg gfg
UU fgf fgf
VV fgf fgf
XX fgfg g

Regards,
Mohd. Abdul Aleem,


S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.

GeneralRe: query to print only the duplicate records Pin
Krish - KP2-Mar-07 0:26
Krish - KP2-Mar-07 0:26 
GeneralRe: query to print only the duplicate records Pin
indian1432-Mar-07 0:40
indian1432-Mar-07 0:40 
Questionneed help resolving error in custom sp Pin
brainfuelmedia_26-Feb-07 11:18
brainfuelmedia_26-Feb-07 11:18 
AnswerRe: need help resolving error in custom sp Pin
WoutL26-Feb-07 11:49
WoutL26-Feb-07 11:49 
AnswerRe: need help resolving error in custom sp Pin
Krish - KP26-Feb-07 16:43
Krish - KP26-Feb-07 16:43 
QuestionWhat does dock or link tables into Access mean? Pin
Marcus J. Smith26-Feb-07 7:59
professionalMarcus J. Smith26-Feb-07 7:59 
Questionlooking up date in sql server Pin
tvfoto26-Feb-07 6:31
tvfoto26-Feb-07 6:31 
AnswerRe: repost Pin
tvfoto26-Feb-07 6:34
tvfoto26-Feb-07 6:34 
AnswerRe: looking up date in sql server Pin
andyharman26-Feb-07 23:47
professionalandyharman26-Feb-07 23:47 
GeneralRe: looking up date in sql server Pin
tvfoto27-Feb-07 6:12
tvfoto27-Feb-07 6:12 
GeneralRe: looking up date in sql server Pin
tvfoto27-Feb-07 6:17
tvfoto27-Feb-07 6:17 
Questionretrieving View's SQL statement [modified] Pin
hamidreza_buddy25-Feb-07 23:36
hamidreza_buddy25-Feb-07 23:36 
AnswerRe: retrieving View's SQL statement Pin
Mark J. Miller26-Feb-07 5:14
Mark J. Miller26-Feb-07 5:14 
QuestionPutting related Two records to one row Pin
Praveen 12325-Feb-07 19:28
Praveen 12325-Feb-07 19:28 
AnswerRe: Putting related Two records to one row Pin
Sylvester george25-Feb-07 23:11
Sylvester george25-Feb-07 23:11 
QuestionRe: Putting related Two records to one row Pin
Praveen 12325-Feb-07 23:23
Praveen 12325-Feb-07 23:23 
AnswerRe: Putting related Two records to one row Pin
Pete O'Hanlon26-Feb-07 0:41
mvePete O'Hanlon26-Feb-07 0:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.