📜  在 sql 代码示例中创建时态表

📅  最后修改于: 2022-03-11 15:05:14.549000             🧑  作者: Mango

代码示例1
WITH new_table AS (
             SELECT *
             FROM existing_table
             WHERE distance >= 20)

# You can then run multiple queries on this filtered data without 
#having to filter the data everytime  write complex subqueries.
# NB WITH/temporal tables is always defined first before writing queries.