title: random numbers in java
body: <p>I have the following table created using java as the front end and mysql as the backend.</p>
  
  <pre><code>mysql&gt; select * from consumer9;
  -------------             
  4 rows in set (0.13 sec)
  
  
  
  Service_ID          Service_Type                            consumer_feedback 
  
  100                    computing                                          -1
  35                     printer                                             0
  73                    computing                                           -1
  50                     data                                                1
  </code></pre>
  
  <p>I have generated these values using the concept of random numbers.
  I want to get the output where the Service_types(Printer,Computing,data) are distributed uniformally in all the tables with the feedback values of 1 occuring most number of times.</p>