title: Follow some format to get data from db and fetch to another table
body: <p>Ok I have table call restapi information and I have a json format containing the restapi format I want to pull the data from db using sql and fetch to another table using python but I only need what is in restapi format not all the records and I also want to create a unique Id column to the same table using python can I do that? Should I use Django</p>
  <p>SELECT * FROM Customers WHERE Last_Name='Smith';</p>
  <p>SELECT First_Name, Nickname FROM Friends WHERE Nickname LIKE '%brain%';</p>
  <p>SELECT CustomerName, City FROM Customers; Try it Yourself »</p>
  <p>I want to extract data from these queries to match the restapi json format which mens only what needed and fetch this values and thier names to table which calls restapi table for each value and it’s name using python</p>
  <p>After this I want to create columns contained unique Id for each value and keep adding in case want to add anything to table later</p>