I have this query
SELECT *, COUNT(*) as count FROM PricePaid WHERE Postcode LIKE 'L23 0TP%' GROUP BY Postcode
I am getting this result :
L23 0PT House number 1 Bella Grove LIVERPOOL 2
But what I am looking for is a way to get this result :
L23 0PT House number 1 Bella Grove LIVERPOOL 2
L23 0PT House number 17 Bella Grove LIVERPOOL 2
You see I am displaying the results on a google map So initially I want to display a marker on the map showing each post code with the number of houses sold on the post code ( the count(*)part )
And then I need display a list of the propeties from that street in the same query to pass to an info window to then display all the properties on that post code.
Any one any idea if I can do this on one query, any pointers would be greatly appreciated thanks