Question
How do i find only duplicate entries in a database table?

Answers

Rails: User.group(:email).having("count(email)>1
Mysql: select * from users group by first,email having count(*) > 1   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q Photosynthesis takes place inside plant cells in
  • Q Explain the difference between data replication in a distributed system and the maintenance of a remote backup site?
  • Q How to get sql from obiee for reports?
  • Q What do you mean by bean wiring?
  • Q The gas that usually cause explosion in coal mines is–
  • Q Write Notes on Fructose oligosaccharides
  • Q Explain about web analytics problem with Java?
  • Q What is the way to execute a UNIX command in the background?
  • Q What is the Magna Carta? (A)Bill that makes it mandatory to put signs in only French (B)A breach of contract in which the injured party seeks compensation (C)The charter that limited the King’s ruling power and made all rulers subject to the law (D)Laws developed by Napoleon Bonaparte from Justinian Law (E)A statute
  • Q Which style specification method should be used? Why?
  • Q Was india required to cut its tariffs on agricultural products as a result of the uruguay round of agriculture negotiations?