Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

microsoft access courses - microsoft access queries and

Forum home » Delegate support and help forum » Microsoft Access Training and help » microsoft access courses - Microsoft Access Queries and SQL

microsoft access courses - Microsoft Access Queries and SQL

ResolvedVersion Standard

Dave has attended:
No courses

Microsoft Access Queries and SQL

I was trying to create a query and I found the view within Ms Access 2003 were you are able to write an sql query. I would really like to know how the sql code so that ms access will extract the fields name, address and phone number from one table and the orders that they have place from another table.

Thanks, this will really help
Dave

RE: Microsoft Access Queries and SQL

Hi Dave

I am glad you found the SQL features that Microsoft Access 2003 has to offer. The sql you need to write within Microsoft Access 2003 is:

select  ID1, name, address, phone number, order, ID2 from table 1, table 2
where ID1 = ID2


If you have fields that are named the same in both table you should declare the fields you want as table1.ID1 and table2.ID1 etc.

Hope this helps
David

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.