What does SQL stands for?
Structured Query Language
is a computer language for storing, manipulating and retrieving data stored in relational database.
SQL or Structured Query Language
What does RDBMS stands for?
Relational Database Management System.
SQL is the standard language for _______ _______ ______
Relational Database Management System.
like MySQL, MS Access, Oracle, Sybase, Informix, Postgres and SQL Server use SQL as their standard database language.
Relational Database Management System (RDBMS)
SQL
is basically just a software application which we can use to create and manage different databases.
Relational Database Management System.
is the basis for SQL, and for all modern database systems such as MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access
Relational Database Management System.
What are the components of RDBMS
What are the numeric data types
TINYINT
SMALLINT
MEDIUMINT(size)
INT
BIGINT
DECIMAL(x,y)
can store numbers from -128 to 127
TINYINT
can store numbers from -32768 to 32767
SMALLINT
can store numbers from -8,388,608 to 8,388,607
MEDIUMINT(size)
can store numbers from -2,147,483,648 to 2,147,483,647
INT
can store numbers from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
BIGINT
can store decimal number of total x digits (max up to 65) of which y digits (max up to 30) are allocated after the decimal point
DECIMAL(x,y)
What are the string data types
VARCHAR(x)
BINARY(x)
TINYTEXT
MEDIUMTEXT
LONGTEXT
can store characters up to given length (max 8000 characters)
VARCHAR(x)
can store binary strings of fixed length
BINARY(x)
can store up to 255 characters TEXT(x) can store characters up to the given limit (max 65,535 bytes)
TINYTEXT
can store characters up to 16,777,215 characters
MEDIUM TEXT
can store characters up to 4,294,967,295 characters
LONGTEXT
What are the date and time data types
TIMESTAMP(fsp)
DATE
TIME(fsp)
Year
can store date and time Format: YYYY-MM-DD hh:mm:ss. (‘1970-01-01 00:00:00’ UTC)
TIMESTAMP(fsp)