I am sorry about the novice nature of questions, but I could not find a post related to this elementary question. Say, I select the name of all customers from Germany in table "Customers".
SELECT c.customer_name, c.Country
FROM Customers c
WHERE c.Country = 'Germany'
So, I have a nice result with all customers from Germany. So, what's next? Here is one way that I could potentially save data that I selected by creating a new table:
CREATE TABLE name_country AS
SELECT Name, Country
FROM Customers
WHERE Country = 'Germany'
and I created a table called "name_country" in the database. Is this the only way of saving selected name-country in the database?
Question 2: is there a difference between the code above and the following code?
INSERT INTO name_country
SELECT Name, Country
FROM Customers
WHERE Country = 'Germany'