13

I have a problem where I need to just export selected data from my phpmyadmin, i'm using XAMPP.

I have a table named "Tbl_Records" and I only need to get all the data of year 2014 or just a specific year in that table.

I tried

Select * From Tbl_Records Where Year = 2014

in Phpmyadmin to get only the specific year and then exported the data but it still exported everything.

2
  • 1
    What version of phpmyadmin are you using? After you run the query, make sure to use the Export link below the table, not the Export Tab at the top of the page. Commented Dec 10, 2014 at 3:03
  • You solved my question dude, how can i give you a + point or something for your answer? Thanks very much for your time and effort. Commented Dec 10, 2014 at 3:10

1 Answer 1

23

You need to use the Export link located under the data from the query and not the Export tab at the top, as shown in the picture below:

enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

when I click that option on a query with subqueries it forgets the query and goes to the whole table.
@AwokeKnowing - it does appear that way, but go ahead and follow through to completion. The export will only contain the data you selected, despite appearances.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.