Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

MySQL

970 views

Published on

About MySQL

Published in: Technology
  • Be the first to comment

  • Be the first to like this

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>

×