SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    delete a row and delete multiple rows in a table ?

    Hi,

    Can you show me how to delete one particular row in a table

    and delete multiple rows in a table ? I read the manual but got confused.

  2. #2
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,263
    Mentioned
    60 Post(s)
    Tagged
    3 Thread(s)
    delete one particular row --
    Code:
    DELETE
      FROM gromulphastic
     WHERE corbustackle = 'clapfrepple'
    delete multiple rows --
    Code:
    DELETE
      FROM frabilgimjer
     WHERE quistipunctous IN ( 'scrimflabat'
                             , 'haplistplogget'
                             , 'horbliston' )
    delete all rows --
    Code:
    DELETE
      FROM opsilfrummer
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"

  3. #3
    SitePoint Guru
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you very much


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •