1.golang LIKE句の%指定
SQL := ` SELECT DISTINCT toemail AS email FROM histories WHERE fremail LIKE ? `; s := bytes.NewBufferString(""); s.WriteString(SQL); rows, err := mast_db.Query(s.String(), year_month, `%`+domain)
1.golang LIKE句の%指定
SQL := ` SELECT DISTINCT toemail AS email FROM histories WHERE fremail LIKE ? `; s := bytes.NewBufferString(""); s.WriteString(SQL); rows, err := mast_db.Query(s.String(), year_month, `%`+domain)