Code used in the video
Select * from ss.stockratings where stock='TSLA' order by ratingtime desc limit 1;Insert into ss.ratings(stock ,ratingtime,id,growth_rating,momentum_rating, value_rating,vgm_rating) values ('TSLA',dateof(now()),now(),'A','D','A','F');
CREATE TABLE ss.stockratings (
id uuid,
stock text,
ratingtime timestamp,
growth_rating text,
momentum_rating text,
value_rating text,
vgm_rating text,
PRIMARY KEY ( stock, ratingtime,id)
);
No comments:
Post a Comment