473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

SQL join operators in select query

I am confuse about combining and view recordes in 3 different tables simultaneously using the SQL join Operatores in the select query statement;SalesPerson,Customers and Orders.
sample statement(Show the age of SalesPeople who have an Order Customer in the city Memphis which the city is in the Customer table and the Age is in the SalesPerson Table and the order is in Orders Table.
Oct 21 '10 #1
1 1469
Rixxe
7
The best way to understand this might be to use the UI in access, as it gives you the joins.

From trying to understand what you have described:
Do you have an ID thats unique for each customer in each table?
If so, you can link each table through the ID, then run whatever query you need.

To understand how joins work, use google and search 'SQL joins'... i'm sure you will find something.
Oct 21 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: jimh | last post by:
I'm not a SQL expert. I want to be able to write a stored procedure that will return 'people who bought this product also bought this...'. I have a user table that links to a transaction table...
1
by: GrungyApe | last post by:
I am new to this type of query and while I've found a lot of help on the forums, I am simply not getting it to work. Here is my attempt currently: SELECT DISTINCT(VADR.SUBSCRIBER_ID),...
1
by: septen | last post by:
Hi, I have a select query of 12 tables. The SQL code is as follows: SELECT OptChannelRangeAve.ChannelRangeMin, OptChannelRangeAve.ChannelRangeMax, OptChannelRangeAve.SampleAveraging,...
2
by: Metalzed | last post by:
I have 4 tabels tbOWNERS // PLAYERS ID , NAME 1 Mike 2 Rambo 3 Sam tbCARS // CARS THAT EXIST AND WHO OWNS THEM
2
by: Mark Roughton | last post by:
I have a form where the users need to view records for various criteria, one of which is a date field on which they may wish to view all related data for the selected date, for all dates upto and...
0
by: djflow | last post by:
Hi! II was wondering if you can help me with SQL query.. Below 7 separated select query works fine(only when they are retrieved separately) But I want to combined them together and so that i...
0
theGeek
by: theGeek | last post by:
Hi All!! Please look at the query below: select * from tab1 inner join tab2 on tab1.c1 = tab2.c1 inner join
2
by: paulmitchell507 | last post by:
I think I am attempting a simple procedure but I just can't figure out the correct syntax. My asp (classic) page runs a SELECT query to obtain dates and ID's from 2 tables uSQL = "SELECT...
1
by: TZEM | last post by:
Hi - I'm new to Access and trying to create a complicated database that records info about system interfaces. I want to create a crosstab query that returns a field from the interface record, if a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.