public String[] identifyCustomer(String name){
		String[] result = new String[7];
		String basic_query = "select * from customer where name='"+name+"'";
//		System.out.println(basic_query);
		Object[][] data = helper.executeSelectQuery(basic_query);
//		System.out.println(data.length);
		if(data.length>0){
			for(int i=0;i<data[0].length;i++){
				result[i] = data[0][i].toString();
			}
		}
		String period_query = "select sum(period) from reservation where customer_name='"+name+"'";
		Object[][] data2 = helper.executeSelectQuery(period_query);
		if(data2.length>0){
//			result[4] = data2[0][0].toString();
			if(data2[0][0] != null)
				result[4] = data2[0][0].toString();
		}
		String recent_query = "select max(start_day) from reservation where customer_name='"+name+"'";//ó¥
		Object[][] data3 = helper.executeSelectQuery(recent_query);
		if(data3.length>0){
			if(data3[0][0] != null)
				result[5] = data3[0][0].toString();
		}
		String staff_count_query = "select staff_name,count(staff_name) as staff_count from reservation where customer_name='"+name+"' group by staff_name order by staff_count desc";
		Object[][] data4 = helper.executeSelectQuery(staff_count_query);
		if(data4.length>0){
			result[6] = data4[0][0].toString()+" ("+data4[0][1]+"ȸ)";
		}
//		for(int i=0; i<result.length;i++){
//			if(result[i] != null)
//				System.out.print(result[i]+" ");
//		}
		
		return result;
	}