Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

create temporal table in sql

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.
 
PREVIOUS NEXT
Tagged: #create #temporal #table #sql
ADD COMMENT
Topic
Name
2+3 =