CREATE a foreign key

From SQLZOO
Jump to: navigation, search

CREATE TABLE microprocessors

(jaar INTEGER PRIMARY KEY
,architectuur VARCHAR(15)
,fabricant VARCHAR(10)
,aantalcores INTEGER
,aantalthreads INTEGER

);

INSERT INTO microprocessors(jaar, architectuur, fabricant, aantalcores, aantalthreads) VALUES (2011,Sandy Bridge,intel,4,8);

SELECT * FROM microprocessors;

Personal tools
Namespaces

Variants
Actions
Reference
Toolbox
Google AdSense