sql - Counting distinct results and how to use sub queries in MySQL -


There is a problem finding the best way to do this.

My query is as follows:

  Datatable from SELECT * where `type` = 'new' and 'permit' = 'valid' and year (` issuer ') = '2012' order 'Swamy' ASC  

This creates the personal results I find, but from that subset of data, let me know the list of individual (separate) "owner" , And how often they are (

I'm not sure how to query my query as a sub query Use and run another query on the result.

I will usually only export the result, then work on it from there, but I have some time today and I feel that I have the right to do this I want some help in learning the way.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -