SQL - Data Types - 1keydata
SQL - Data Types - 1keydata
SQL Tutorial
Basic SQL Commands
SQL SELECT
SQL DISTINCT
SQL WHERE SQL > Data Definition Language (DDL) > Create Table Statement
SQL AND OR
In the CREATE TABLE page, we mentioned that it is necessary to specify the data type for each column when we create a t
SQL IN
what are the different types of data we can store in a table? While it is beyond the scope of this tutorial to list the exact d
SQL BETWEEN
supported by all the major database tools, we can nevertheless group the different data types into the following categorie
SQL Wildcard
SQL LIKE Numeric
SQL ORDER BY Character String
SQL GROUP BY Date/Datetime
SQL HAVING Binary
SQL ALIAS
SQL AS Numeric
SQL SELECT UNIQUE
SQL JOIN This type of data stores numerical values. Data types that fall in this category include Integer, Float, Real, Numeric, or Dec
SQL INNER JOIN functions that operate on this type of data include COUNT, SUM, MAX, MIN, and AVG.
SQL OUTER JOIN
SQL LEFT OUTER JOIN
Character String
SQL CROSS JOIN
This type of data stores character values. The two common types are CHAR(n) and VARCHAR(n). The CHAR(n) data type hol
SQL INSERT INTO
padded with spaces at the end if needed. VARCHAR stands for Varying Char, meaning that the length of the field can vary.
SQL INSERT INTO SELECT
VARCHAR(10) data type holds up to 10 characters. But if data is only 8 characters long, then it will only store 8 characters.
SQL UPDATE
functions that operate on this type of data are discussed in String Functions.
SQL DELETE FROM
SQL Functions
SQL Average
SQL COUNT
Copyright © 2016 1keydata.com All Rights Reserved Privacy Policy About Contact
SQL MAX
SQL MIN
SQL SUM
SQL ROUND
String Functions
SQL CAST
SQL CONVERT
SQL CONCATENATE
SQL SUBSTRING
SQL INSTR
SQL TRIM
http://www.1keydata.com/sql/sqldatatypes.html 1/1