Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3789348
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T12:08:36+00:00 2026-05-19T12:08:36+00:00

I know there is more than one question out there that matches this, but

  • 0

I know there is more than one question out there that matches this, but I am relatively new to mysql, and I can’t seem to make this work using sub quests or the USING key word, plus I find the mysql on line docs a complete mystery.

I started trying to build my DELETE query using a SELECT query as my base and was able to get all the rows that I wanted to delete:

select *
from writings_tags_link
join writing_tags on writing_tags.id = writings_tags_link.tag_id
where writing_tags.tag = 'tag one'

and then just replaced select all with DELETE so:

delete
from writings_tags_link
join writing_tags on writing_tags.id = writings_tags_link.tag_id
where writing_tags.tag = 'tag one'

I gather from both the error message and from other similar posts that you can’t use ‘ON’ to join tables in a delete query, you have to use USING or a sub query. The query I built with USING returns a really strange error, first the query:

DELETE
FROM writings_tags_link
USING writing_tags_link INNER JOIN writing_tags  
WHERE writing_tags.id = writings_tags_link.tag_id 
AND writing_tags.tag ='tag one'

error:

#1109 - Unknown table 'writings_tags_link' in MULTI DELETE

This table does exist, obviously, my original select query returned the desired results. Any help / explanation would be so very appreciated!

Please keep in mind, I’m only trying to delete the data in the linking table.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T12:08:37+00:00Added an answer on May 19, 2026 at 12:08 pm

    Your information is incorrect about requiring the use of the USING keyword in DELETE syntax when using JOINs – the documentation provides examples in the multi-delete section:

    DELETE wtl
      FROM WRITINGS_TAGS_LINK wtl
      JOIN WRITING_TAGS wt ON wt.id = wtl.tag_id
     WHERE wt.tag = 'tag one'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know there is this post , but I still want to know more
I've searched for this info and see similar questions, but not one that matches
This more of an out of interest question than an urgently need an answer
I know that there are more practical ways of going about what I'm trying
I know and use eric meyer CSS reset, but is there any more things
I know there is ongoing work for in this regards but what is the
I know there is a very similar question here but I was hoping to
I don't know if this is a dumb question but I have this two
EDIT : This reproducible SIGSEGV happens on a Linux machine with more than one
My question originates from this question, where one of the comments suggests that a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.