I have a excel table as below. I want to output the table below with "SQL Query" column as .sql. can you please help how to achieve this
Input
| Code | SQL Query |
| 123 | SELECT Orders.OrderID, Customers.CustomerName FROM Orders INNER JOIN Customers ON Orders.CustomerID = Customers.CustomerID; |
I am doing a output file as "123.sql"
when I open the "123.sql" file I am getting the column heading and the codes are inside a " " like below. How can I get "123.sql" file without the "SQL Query" and without the Quotes " "
SQL Query "SELECT Orders.OrderID, Customers.CustomerName FROM Orders INNER JOIN Customers ON Orders.CustomerID = Customers.CustomerID;" |