First: check the case in which you type tables’ names. It’s very important. word_types
and WORD_TYPES
are two different tables.
Second: If you want to check if table exists and if it doesn’t then create one, I recommend you to use the following example:
CREATE TABLE IF NOT EXISTS TEST(ID INT PRIMARY KEY, NAME VARCHAR(255));