MySQL Function name Note

Source: Internet
Author: User

$conn = mysql_connect ();

Process language;
No-process language;
/*

Sql
DDL define
DML mainpulate
DCL Control
Interacitve SQL
embeded SQL

SELECT User_name,age
From Tbl_user
WHERE age>18
Key words:
CREATE TABLE
DROP TABLE
ALTER TABLE
CREATE INDEX
DROP INDEX
CREATE PROCEDURE
DROP PROCEDURE

SELECT
INSERT
UPDATE
DELETE

GRANT
REVOKE

COMMIT
ROLLBACK
-----
2. Data Type:
INT Type:
TINYINT 1byte
Samillint 2 bytes
Mediumint 3 bytes
INT 4 bytes
BIGINT 8bytes

Real Number Type:
FLOAT 4 bytes
DOUBLE 8 bytes
DECIMAL (20,2)

String Type: >80%
VARCHAR can change
CHAR length-unchanged
Text >> tinytext text Mediumtext longtext//charset
Blob >> Tinyblob blob mediumblob Longblob//binary
DATETIME 8 bytes
TIMESTAMP 1970-1-1 gerorg time-2938

Select Data Type Standard:
1. Minimize
2. Simple
3. Index not NULL
--------

3. Common operation
Add Delete Edit Search

Apt-get:advancded-package-tools
Update
Install
Remove
Autoremove
Purge
Upgrade
Source
Check

MySQL Function name Note

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.