Tags
Asked 3 years ago
1 Jul 2021
Views 207
Carolyne

Carolyne posted

How to make a empty MySQL table?

How to make a empty MySQL table?
ravi

ravi
answered Jul 2 '21 00:00

no it is not possible to make empty table

CREATE TABLE TestResults   


it will give error like as below :

A table must have at least 1 column

if you run this query like this


CREATE TABLE TestResults  ()


it will give error like as below :


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 ')' at line 1
Post Answer