private String makeQueryString(QueryData query, QueryType type, String newData){
		String queryData = "";
		
		// Create appropriate query string
		switch (type){
		case COMPANY:
			queryData = "UPDATE adjusters SET company='" + query.getCompany() 
			+ "' WHERE name='" + query.getName()
			+ "' AND phone='" + query.getPhone()
			+ "' AND fax='" + query.getFax() + "'";
			break;	
		case NAME:
			queryData = "UPDATE adjusters SET name='" + query.getName() 
			+ "' WHERE company='" + query.getCompany()
			+ "' AND phone='" + query.getPhone()
			+ "' AND fax='" + query.getFax() + "'";
			break;	
		case PHONE:
			queryData = "UPDATE adjusters SET phone='" + query.getPhone() 
			+ "' WHERE company='" + query.getCompany()
			+ "' AND name='" + query.getName()
			+ "' AND fax='" + query.getFax() + "'";
			break;
		case FAX:
			queryData = "UPDATE adjusters SET fax='" + query.getFax() 
			+ "' WHERE company='" + query.getCompany()
			+ "' AND name='" + query.getName()
			+ "' AND phone='" + query.getPhone() + "'";
			break;
		case DELETE:
			queryData = "DELETE FROM adjusters WHERE company='" + query.getCompany() 
			+ "' AND name='" + query.getName()
			+ "' AND phone='" + query.getPhone()
			+ "' AND fax='" + query.getFax() + "'";
			break;
		case CREATE:
			queryData = "CREATE TABLE IF NOT EXISTS adjusters (company TEXT, name TEXT, phone TEXT, fax TEXT)";
			break;
		case INSERT:
			queryData = "INSERT into adjusters values " + newData;
			break;
		case SELECT:
			queryData = "SELECT * FROM adjusters";
			break;
		}
		return queryData;
	}