create table PlatonicForms (name varchar(20), sides integer(3));
create table Colors (hex varchar(6), color varchar(20));
create table MorePlatonics (name varchar(20), sides integer(3));
create table ShapesColors(color varchar(20), shape varchar(20));
I am trying to use this intersect
SELECT *
FROM PlatonicForms
INTERSECT
SELECT *
FROM MorePlatonics;
but I get this error
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT * FROM MorePlatonics' at line 3
I don't know what I am doing wrong