Some teams in NBA will trade their lottery picks in the next few years! How did these draft picks come from?

Each team automatically gets two draft picks every year, but it doesn't depend on whether they can enter the lottery show in the playoffs that year. Generally, only the first round or the second round is distinguished when trading. Some teams trade draft picks, but guarantee rankings, such as the top ten or the top three.