@Override
	public String toSql(String tblName,List<String> headers,List<String> columns,
			HashMap<String,ForeignKey> foreignKeys) {;
		StringBuilder builder = new StringBuilder();
		builder.append("INSERT INTO ");
		builder.append(tblName);
		builder.append("(");
		for(int i = 0 ; i < headers.size() ; i++){
			builder.append(headers.get(i));
			if(i < headers.size()-1){
				builder.append(",");
			}
		}
		builder.append(") VALUES(");
		for(int i = 0 ; i < headers.size() ; i++){
			ForeignKey key = foreignKeys.get(headers.get(i));
			if(key == null){
				builder.append("'");
				builder.append(columns.get(i));
				builder.append("'");
			}else{
				builder.append(key.toSQL(columns.get(i)));
			}
			if(i < headers.size()-1){
				builder.append(",");
			}
		}
		builder.append(");");
		return builder.toString();
	}