MySQL Tutorials

MySQL Strengths and Weaknesses

  • 2008-11-23
  • Comments
  • Emiley J.
  • 57

This article contains some information about the strengths and weaknesses of MySQL.
Read More

Changing the Structure of an Existing Table in MySQL

  • 2010-10-24
  • Comments
  • Sathya Narayana
  • 58

First you'll add the price field to the table, using the ADD command and specifying the properties of the field: mysql> ALTER TABLE book ADD (price INTEGER);
Read More

Querying the Database in MySQL

  • 2010-10-24
  • Comments
  • Sathya Narayana
  • 58

When retrieving data with a SELECT query, you can order the returned rows by adding an ORDER BY clause to the command. The ORDER BY statement is followed by the column that you want to sort on, and finally you specify whether to order highest to lowest (a descending sort as indicated by DESC) or lowest to highest (an ascending sort, as indicated by ASC). ASC is the default sort, so it's assumed if neither DESC nor ASC is specified. For instance, the following command displays books in order of price, highest price first:
Read More

Modifying data and using WHERE clause in MySQL

  • 2010-10-24
  • Comments
  • Sathya Narayana
  • 57

You can modify data using the UPDATE...SET command. When using this syntax, you simply specify the table where you want to change column values after the UPDATE statement and specify which column or columns are to be affected after the SET statement.
Read More

Deleting Data in MySQL

  • 2010-10-24
  • Comments
  • Sathya Narayana
  • 56

To delete a given row or set of rows, you use the DELETE FROM...WHERE command. For instance, you can delete the book called Mr Bunny's Guide to JDO with this command:
Read More

Inserting Data into Tables in MySQL

  • 2010-10-24
  • Comments
  • Sathya Narayana
  • 58

To do this, you need to use the INSERT INTO...VALUES command.
Read More

Most Viewed Articles on MySQL

Latest Tutorials

Subscribe to Tutorials

Related Tutorials

Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access them.

ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client

Changing the Structure of an Existing Table in MySQL

Inserting Data into Tables in MySQL

Querying the Database in MySQL

Modifying data and using WHERE clause in MySQL

Deleting Data in MySQL

What is SQL Injection

MySQL Strengths and Weaknesses

Table __________ is marked as crashed and should be repaired.

Archived Comments

1. thank you for code
View Tutorial          By: turki at 2013-12-11 13:23:44

2. Thanks, this is exactly i am looking for. I need t
View Tutorial          By: VictorH at 2009-08-31 16:11:55

3. Hi Friends.... This code is working correctly with
View Tutorial          By: kasi at 2009-11-25 23:52:56

4. as in property we set the value and then retrieve
View Tutorial          By: Deep at 2011-03-18 21:00:54

5. Thanks - very useful!
View Tutorial          By: Adam Musial-Bright at 2010-02-28 06:14:39

6. really helpfull and gets all the stuff what u want
View Tutorial          By: yash at 2009-10-25 12:28:57

7. Hi,
I've tried this but got a problem. Firs

View Tutorial          By: Hendrik Jabs at 2009-12-10 02:46:13

8. it's cool
View Tutorial          By: RInam Shah at 2011-06-20 02:48:20

9. please explain importance of java and explain it's
View Tutorial          By: sandhi.vijayanth reddy at 2012-10-01 16:30:54

10. great resource
View Tutorial          By: Anonymous at 2011-04-14 03:14:43