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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:47:47+00:00 2026-05-26T11:47:47+00:00

i have table visits with columns like the below visit_id member_id logout_datetime(format like this

  • 0

i have table visits

with columns like the below

visit_id
member_id
logout_datetime(format like this ...'yyyy-MM-dd HH:mm:ss')
visit_message (like accept, refuse)

i want to insert the logoutdatetime value into visits table

where member_id = 1 and visit_message = "accept"

how can i do that using mysql

would any one pls help on this …

many thanks in advance..

  • 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-26T11:47:47+00:00Added an answer on May 26, 2026 at 11:47 am

    What about:

    UPDATE visits
    SET logout_datetime = NOW()
    WHERE member_id = 1 AND visit_message = "accept"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a visit table with columns member_id visit_id visit_logout_datetime(values like this... ' now
I have Visit table Visit_Id Visit_Date values(09-09-2011) Visit_status values like (accepted , refused) member_Id
I have a table called visit with the following columns: visit_Id member_Id visit_Date visit_Time
I have a table named visiting that looks like this: id | visitor_id |
I have a member table with columns member_id member_lastname member_firstname i have another table
Let's say we have a table for items that looks like this item_id item_visits
I Have a table with the following columns: patient_id, visit_id, and visit_date. How can
I have table with 50 entries (users with such details like Name Surname Location
I have table with some fields that the value will be 1 0. This
I have table with 3 columns A B C. I want to select *

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.