Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

MySQL

#Data Type in mySQL

Data TypeDescriptionUse Case
CHARString (0-255), can store characters of fixed lengthCHAR(50)
VARCHARString (0-255), can store characters up to given lengthVARCHAR(50)
BLOBString (0-65535), can store characters up to given lengthVARCHAR(50)
INTInteger (-2, 147, 483 to 2, 147, 483, 647)INT
TINYINTInteger (-128 to 127)TINYINT
BIGINTInteger (-9, 223, 372, 036, 854, 775, 808 to 9, 223, 372, 036, 854, 775, 807)BIGINT
BITCan store x-bit values x can range from 1 to 64BIT(2)
FLOATDecimal number -with precision to 23 digitsFLOAT
DOUBLEDecimal number -with precision to 24 to 53 digitsDOUBLE
BOOLEANBoolean values 0 or 1BOOLEAN
DATEDate in format of YYYY-MM--DD ranging from 1000-01-01 to 9999-12-31DATE
YEARYear in 4 digits format ranging from 1901 to 2155YEAR

About

This repository contains a collection of MySQL scripts, exercises, and projects to help you learn and practice MySQL database concepts, query writing, and management.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors