box-o-sand/postgresql/tutorial/weather/init.sql
Dan Buch 1593c21031 Chugging through the 'basics' tutorial
mostly for fun ... and to see if I'm missing any foundational bits.
2012-07-14 10:59:48 -04:00

13 lines
178 B
SQL

CREATE TABLE weather (
city varchar(80),
temp_lo int,
temp_hi int,
prcp real,
date date
);
CREATE TABLE cities (
name varchar(80),
location point
);