Exercise Code

an anonymous user · December 06, 2021 · SQL
create table stocks (
    symbol text primary key not NULL,
    name text not null,
    date date,
    price INTEGER

insert into stocks(symbol, name, price) values('DJI', 'Dar Jones Global', 34580);
insert into stocks values ('NASDAQ', 'NASDAQ Composite', 2021-05-02, 15085);

select * from stocks;


Please sign up or log in to contribute to the discussion.