title: one to many mapping without any relation in tables mysql
body: <p>i have two tables named as oc_users and oc_groups there is no specific relation between both the tables as shown below so, here i want to map each user with each group:</p>
  
  <p>1)table 1: 
  select uid from oc_users;</p>
  
  <pre><code>+-----------------+   
  | uid             |    
  +-----------------+   
  | manesh@abc.in   |    
  | pankaj          |    
  | sumit           |    
  +-----------------+
  </code></pre>
  
  <p>2)table 2: 
  select gid from oc_groups;</p>
  
  <pre><code>+---------+    
  | gid     |    
  +---------+    
  | qlc     |    
  | qlc-web |    
  +---------+
  </code></pre>
  
  <p>Then i want o/p like:</p>
  
  <pre><code>+---------+-----------------+    
  | gid     | uid             |    
  +---------+-----------------+    
  | qlc     | manesh@abc.in   |    
  | qlc     | pankaj          |    
  | qlc     | sumit           |    
  | qlc-web | manesh@abc.in   |    
  | qlc-web | pankaj          |    
  | qlc-web | sumit           |    
  +---------+-----------------+
  </code></pre>