Imagination MySQL Tutorial
https://selfimagination.in/tips
Developed by :
Sandip Nigam
1. Terminology of MySQL
1.1 Database
Complete
1.1.1 Table
#
Column 1
Column 2
Column 3
Row 1
Row 2
Row 3
Complete
Read More
See Video
1.1.2 View
#
Column 1
Column 2
Column 3
Row 1
Row 2
Row 3
Complete
Read More
See Video
1.1.3 Function
Complete
1.1.3.1 MySQL Inbuild Function
Complete
1.1.3.1.1 Scalar Function
Complete
1.1.3.1.1.1 String Function
TRIM
LTRIM
RTRIM
UPPER
LOWER
UCASE
LCASE
LEFT
RIGHT
SUBSTR
LOCATE
LENGTH
CONCAT
CONCAT_WS
Complete
Read More
See Video
1.1.3.1.1.2 Number Function
DIV
MOD
ABS
RAND
ROUND
CEIL
FLOOR
TRUNCATE
POWER
SQRT
CONV
Complete
Read More
See Video
1.1.3.1.1.3 Date Time Function
DATE RELATED FUNCTION
CURDATE
MAKEDATE
DATE
DAYNAME
MONTHNAME
MONTH
ADDDATE
DATEDIFF
LAST_DAY
DATE_ADD
DATE_SUB
YEAR
TIME RELATED FUNCTION
CURTIME
MAKETIME
NOW
TIME_TO_SEC
SEC_TO_TIME
TIME
Complete
Read More
See Video
1.1.3.1.2 Aggregate Function
COUNT
SUM
AVG
MIN
MAX
Complete
Read More
See Video
1.1.3.1.3 Window Function
Complete
1.1.3.1.3.1 Window Aggregate Function
COUNT() OVER()
SUM() OVER()
AVG() OVER()
MIN() OVER()
MAX() OVER()
Complete
Read More
See Video
1.1.3.1.3.2 Window Analytical Function
ROW_NUMBER
RANK
DENSE_RANK
PERCENT_RANK
FIRST_VALUE
LAST_VALUE
NTH_VALUE
NTILE
LEAD
LAG
Complete
Read More
See Video
1.1.3.2 MySQL UDF (User Define Function)
PARAMETER
IN (OPTIONAL)
RETURN
SINGLE VALUE
Complete
Read More
See Video
1.1.4 Stored Procedure
PARAMETER
IN
OUT
INOUT
Complete
Read More
See Video
1.1.5 Trigger
EVENT
TIME
INSERT
UPDATE
DELETE
BEFORE
AFTER
Complete
Read More
See Video
1.1.6 Index
CLUSTERED INDEX
Primary Index
Unique Index or Unique
NON CLUSTERED INDEX
Simple Index or Index
Spatial Index (like Geo Columns)
FullText index (For Char, Varchar, Text)
Complete
Read More
See Video
1.2 User
USER
User 1
User 2
User 3
DATABASE
Database 1
Database 2
Database 3
PRIVILAGES
ALL PRIVILEGES
CREATE
DROP
INSERT
UPDATE
DELETE
SELECT
Complete
.
.
2. MySQL Commands
2.1 DDL (Data Defination Language)
2.1.1 Table DDL Command
#
CREATE
ALTER
DROP
DATABASE
TABLE
INDEX
2.1.2 Non-Table DDL Command
#
CREATE
ALTER
DROP
VIEW
FUNCTION
PROCEDURE
TRIGGER
2.2 DML (Data Manupulation Language)
#
TABLE
PROCEDURE
INSERT
UPDATE
DELETE
CALL
2.3 DQL (Data Query Language)
SELECT
DISTINCT
FROM
WHERE
GROUP BY
HAVING
ORDER BY
2.4 DCL (Data Control Language)
GRANT
REVOKE
2.5 TCL (Transaction Control Language)
COMMIT
ROLLBACK