Jump to content
Sign in to follow this  
Weiss

joinning 3 tables

Recommended Posts

Hi. i have 3 tables: orders, customer, custwish. (every table has id prim key, which match the 3 tables, meaning, if a customer has id=20, there's an order with id=20 regarding him and wishid=20 regarding him)

i wanna make a query where ill get all info from these tables  with the following restrictions:

orderid=customerid=custwishid ; livearea(in table customer) =1, delivered(in table orders)= 'n'

how can i do that with inner join? 

thanx!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...