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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T03:07:14+00:00 2026-06-19T03:07:14+00:00

I have tables labels id INT A_I id_user INT id_label INT labels_data id INT

  • 0

I have tables

labels

id INT A_I
id_user INT
id_label INT

labels_data

id INT A_I
label VARCHAR(10)
name VARCHAR(30)

tasks

id INT A_I
name VARCHAR(30)
value VARCHAR(1000)

And i want add entry to the table named tasks and I want add 3-4 entries to the table named labels. How I can do it and can i do it in one query??

Thanks…

  • 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-06-19T03:07:15+00:00Added an answer on June 19, 2026 at 3:07 am

    If you are doing this directly through queries, then you will need one query for each row you are inserting to a table. So this will be one Insert to Tasks and 3-4 inserts to labels.

    See the mysql manual for Insert syntax.

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

Sidebar

Related Questions

I am wanting to have a label column ( VARCHAR ) and I want
I have the following database tables : user int unsigned id varchar login group
I have 3 MySQL tables: shelf --------------- id project_id label books --------------- id project_id
I have tables like this: tblUsers int UserID string UserName tblUsersInRoles int UserID int
I have a table with a following format. PID ID Label Value ------------------------------------------ 1
I have a generic Dimension and DimensionMember tables. CREATE TABLE [dbo].[Dimension] ( [ID] [int]
I have added the custom attributes using $setup->addAttribute('customer','default_business',array( 'type' => 'int', 'label' => 'Default
For Android I have two labels in a table row. I am trying to
I have a DB that has the label table with info in it. I
I do have a table data as shown below: <td> <label for=title>Title : </label>

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.