Skip navigation links

MySQL Forums :: Newbie :: How Can I Delete Entire Row in Tables?


Advanced Search

How Can I Delete Entire Row in Tables?
Posted by: Carlos Williams ()
Date: October 01, 2009 08:44AM

To start, I am very new to MySQL and have been reading the manual as much as I can but sometimes it's a bit overwhelming with options:

I have created my database with some tables and also entered some data in the tables. Now I would like to know how I can simply delete an entire row of data from my table:

mysql> select * from it;
+-----------------+-----------+--------+-----------------------+---------------------------+
| name            | username  | office | position              | mail                      |
+-----------------+-----------+--------+-----------------------+---------------------------+
| Carlos Williams | cwilliams | 124    | Administrator   | NULL  |   
| Jason Madeline  | jmadeline | 124    | Administrator | NULL  |
+-----------------+-----------+--------+-----------------------+---------------------------+
2 rows in set (0.00 sec)

My question is how would I use the "delete" syntax to remove the entire row of "Jason" from the table?

mysql> delete from it where ?

Options: ReplyQuote


Subject Written By Posted
How Can I Delete Entire Row in Tables? Carlos Williams 10/01/2009 08:44AM
Re: How Can I Delete Entire Row in Tables? Chad Bourque 10/01/2009 09:05AM
Re: How Can I Delete Entire Row in Tables? Carlos Williams 10/01/2009 09:07AM
Re: How Can I Delete Entire Row in Tables? Chad Bourque 10/01/2009 09:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.