SELECT *
FROM (SELECT column1, column2
FROM table_1)
AS virtual_table
WHERE column1 = '홍길동';
WITH WithTable AS (
SELECT column1, column2
FROM table_1
WHERE condition
)
SELECT *
FROM WithTable
WHERE column1 = '홍길동';
CREATE TEMPORARY TABLE temp_table
AS SELECT column1, column2
FROM table1;
SELECT * FROM temp_table;
CREATE VIEW view_table
AS SELECT column1, column2
FROM table_1;
SELECT *
FROM view_table;