Skip
Arish's avatar

230. SQL Data Types


Common Data Types

TypeDescription
INTEGERWhole numbers
TEXT/VARCHARText strings
REAL/FLOATDecimal numbers
DATEDate values
BOOLEANTrue/False
sql
1CREATE TABLE products (
2  id INTEGER,
3  name VARCHAR(100),
4  price REAL,
5  created DATE
6);