Mysql

1,277 views
1,227 views

Published on

About MySQL

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,277
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
24
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Mysql

  1. 1. What is mysql <ul><li>Mysql is a RDBMS </li></ul><ul><li>Open source data base </li></ul><ul><li>Multithreading </li></ul><ul><li>Multi-user </li></ul>
  2. 2. Sql statements <ul><li>Two types of sql statements </li></ul><ul><li>DDL – data definition language </li></ul><ul><li>select </li></ul><ul><li>insert </li></ul><ul><li>update </li></ul><ul><li>delete </li></ul>
  3. 3. <ul><li>DML – Data manipulation language </li></ul><ul><ul><ul><li>Update </li></ul></ul></ul><ul><ul><ul><li>Alter </li></ul></ul></ul><ul><ul><ul><li>Drop table </li></ul></ul></ul><ul><ul><ul><li>Drop index </li></ul></ul></ul><ul><ul><ul><li>Create index </li></ul></ul></ul>
  4. 4. Select syntax <ul><li>Select syntax </li></ul><ul><li>SELECT [ALL | DISTINCT | DISTINCTROW select_expr , ... [FROM table_references [WHERE where_condition ] [GROUP BY { col_name | expr | position } [ASC | DESC], ... [WITH ROLLUP]] [HAVING where_condition ] [ORDER BY { col_name | expr | position } [ASC | DESC], ...] [LIMIT {[ offset ,] row_count | row_count </li></ul>
  5. 5. joins <ul><li>Natural join </li></ul><ul><ul><ul><li>Inner join </li></ul></ul></ul><ul><li>Cross join </li></ul><ul><ul><ul><li>Left join </li></ul></ul></ul><ul><ul><ul><li>Right join </li></ul></ul></ul>

×