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 694285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:50:28+00:00 2026-05-14T02:50:28+00:00

for example i use following command to find a record SELECT `users`.`mail` FROM `users`

  • 0

for example i use following command to find a record

SELECT `users`.`mail` 
  FROM `users` 
 WHERE `users`.`uid` = %s

if found an match, then i should like to delete this record, and update in the same query an another table. i can solve this with ‘joins’ ?

  • 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-14T02:50:28+00:00Added an answer on May 14, 2026 at 2:50 am

    if found an match, then i should like to delete this record, and update in the same query an another table. i can solve this with ‘joins’ ?

    Not with a single SQL query, no.

    But you could perform those actions, using separate SQL queries, within a single stored procedure. This would be faster than submitting three queries separately from your application, because there’s no time/performance lost transferring data back and forth over the wire (to and from your application code).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use protocol buffers for my first time. I am following
I have an Isilon NAS in 10.20.30.11 for example, and I mounted it like
I have read quite a lot of R docs, but I can't find anything
I'm writing an app with Titanium Developer which lets me use Javascript, PHP, Ruby
I have an Arduino microcontroller listening on COM3. Using the arduino IDE and the
I have been playing with PostgreSQL's notification system and cannot for the life of
Grails has very good support for binding request parameters to a domain object and
Sorry I know similar question have been asked many times before but like most
I am trying to backup all the files on our server using some SSH
I am trying to automate my deployment process and am now thoroughly confused. I

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.