anchor.diff:  					" GROUP BY u.state"+
   					" ORDER BY u.state ASC"+
   					" LIMIT 1 OFFSET "+next_r_offset;
  +			SQL_3="SELECT s.pid, u.state, SUM(s.quantity*s.price) AS amount"+
  +					" FROM sales AS s, users AS u"+
  +					" WHERE u.state IN (SELECT DISTINCT state FROM users WHERE state = '"+state+"' ORDER BY state ASC LIMIT 20 OFFSET "+r_offset+")"+
  +					" AND s.pid IN (SELECT id FROM products ORDER BY name ASC LIMIT 10 OFFSET "+c_offset+")"+
  +					" AND s.uid = u.id"+
  +					" GROUP BY u.state, s.pid";
   		}
   	}
   	//scope = customers
  
positive.code: 					" GROUP BY u.name,u.id"+
  					" ORDER BY u.name ASC LIMIT 1"+
  					" OFFSET "+next_r_offset;
  		}
  		else if (selector == 00)
  		{
  
negative.code: 		        	<option value="45 and 65">45-65</option>
  		        	<option value="65 and 150">65-</option>
  		        </select>
  		        </td><td>
  		        <select class="form-control" name="category" <%= disabled %>>
  		        	<option value="all">All Categories</option>
  		        	<% while(c_rs.next())
  