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

  • Home
  • SEARCH
  • 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 8059539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:42:08+00:00 2026-06-05T09:42:08+00:00

I have two table persons and order. I needto join these two tables. $sql=mysql_query(select

  • 0

I have two table persons and order. I needto join these two tables.

$sql=mysql_query("select id from users");
 while($row = mysql_fetch_row($sq))
  {
   $id=$row['id']

  } 

now using this dynamic id I want to join table persons and order

table persons.

id  LastName    FirstName   Address     
1   Hansen      Timoteivn   Sandnes
2   Svendson    Tove        Sandnes
3   Pettersen   Kari        Stavanger

table orders

  id    orders  OrderNo
    1   y   1256
    2   n   11251
    2   m   5555
  • 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-05T09:42:12+00:00Added an answer on June 5, 2026 at 9:42 am

    go to on this URL and read it

    http://blog.sqlauthority.com/2009/04/13/sql-server-introduction-to-joins-basic-of-joins/

    I think it is very helpful to understanding join in SQL…

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

Sidebar

Related Questions

I have two tables like these: CREATE TABLE people ( id INT NOT NULL,
I have two tables: CREATE TABLE #HOURS (DAY INTEGER, HOUR INTEGER) CREATE TABLE #PERSONS
I have two tables: teams, and persons. table teams have three columns, id ,
I have two table emptable1(empid,status) emptable2(empid,week) i want to select all the empid whose
I have two tables Table public.tags_to_entities Column | Type | Modifiers --------+---------+----------- tid |
I have two tables: Table items: | id | name | description | |
i have the two classes Person and Attribut, in short: @Entity @Indexed @Table(name=persons) public
Suppose I have a table whose function is specifically to link two other tables
How can I get a list of the order of tables? I have two
Say, I have two tables Person and Car and I link these two. The

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.