troubleshooting Question

Mysql delete records

Avatar of Johnny Newbee
Johnny NewbeeFlag for United States of America asked on
PHPMySQL ServerSQL
11 Comments1 Solution301 ViewsLast Modified:
Hi,

I have about twenty tables in Mysql 5.0 db for a application. For demo purpose, I need to delete the most records except three rows left, which should have linked records among the tables. What should be the correct procedure to generate proper linkage and a complete delete sql that only leave three rows left?

Thank you.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 11 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros