How To Filter MySql Data Using Jquery?

How To Filter MySql Data Using Jquery?

Hello All.
 
I have a database which currently holds clients name,city,county,post code,country etc.
 
I'm looking for a way to filter this data based on user input.
 
So when a user clicks on a certain name then the table of data filters automatically, then when the user clicks on a certain county it filters the already filtered data even more and then finally when the user clicks on a country it filters even more. The three inputs will be on the same page in a single div.
 
Sorry if thats a little unclear, i'm struggling to put it into words.
 
A friend told me that this would also require the use of ajax in order to filter the data automatically without refreshing the page.
 
Cheers
 
Simon