Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Need a sql query: retrieve all duplicate records in table?

Answer Posted / ssd

SELECT username, email, COUNT(*) FROM users
GROUP BY username, email HAVING COUNT(*) > 1

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we know running job is batch or interactive?

1116


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2992


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

1219


What is difference between bind by copy and bind by reference?

2466


can I touch the array during treatments?

1168


how do I declare a table or array in rpg iv?

1174


what are the key words you must use when using a subfile?

1175


How to call one program from another program in RPG? please help me with the code

1718


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

2008


How Chain operation copies the record's data to the input buffer for the program?

1597


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

1187


What is the difference between copybooks and subprocedures in as400?

1353


What is ment by record level identifier?

1135


what is a rpg?

1187


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

2311