CS157b
Chris Pollett
Feb 19, 2018
CREATE TABLE TEST(I INT) ENGINE = MYISAM; ALTER TABLE TEST ENGINE = INNODB;
CREATE INDEX FOO ON BOB(A) USING BTREE; or CREATE INDEX FOO ON BOB(A) USING HASH;
CREATE TABLE sqlite_master( type text, name text, tbl_name text, rootpage integer, sql text );
Which of the following statements is true?
SELECT * FROM Points p WHERE NOT EXISTS( SELECT * FROM Points q WHERE (q.x-10.0)*(q.x-10.0) + (q.y-20.0)*(q.y-20.0) < (p.x-10.0)*(p.x-10.0) + (p.y-20.0)*(p.y-20.0) );