In this paper, we will study the existence and qualitative property of standing waves ψ(x, t) = e − iEt ε u(x) for the nonlinear Schrödinger equation iε ∂ψ ∂t + ε 2 2m x ψ − (V (x) + E)ψ + K(x)|ψ| p−1 ψ = 0, (t, x) ∈ R + × R N. Let G(x) = [V (x)] p+1 p−1 − N 2 × [K(x)] − 2 p−1 and suppose that G(x) has k local minimum points. Then, for any l ∈ {1,. .. , k}, we prove the existence of the standing waves in H 1 (R N) having exactly l local maximum points which concentrate near l local minimum points of G(x) respectively as ε → 0. The potentials V (x) and K(x) are allowed to be either compactly supported or unbounded at infinity. Therefore, we give a positive answer to a problem proposed by Ambrosetti and Malchiodi (2007) [2].