Question: I have following table.

```
Sales:
id      quantity    price_charged
------------------------------
101         2           100
102         3           300
103         1           120

```

I want to select the records such that it repeat Rows N time according to quantity column value.

So I need following results

```
id    quantity    price_charged
--------------------------------
101     1          50
101     1          50
102     1          100
102     1          100
102     1          100
103     1          120

```

Answer: 
I've found the problem. The IP Routing was working ok, the problem was that I'd been using the ExitNodes from {ar} and there's only one node for Argentina. So, it's always the same IP.
I found the following method very handy and useful rather than the way you tried above. Make sure to put the right location of your `tor.exe` file within `torexe` variable. Proof of concept:

```
import requests
import os

torexe = os.popen(r"C:\Users\WCS\Desktop\Tor Browser\Browser\TorBrowser\Tor\tor.exe")

with requests.Session() as s:
    s.proxies['http']  = 'socks5h://localhost:9050'
    res = s.get("http://icanhazip.com")
    print(res.text)

torexe.close()

```