A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Access to MySQL conversion



 
 
Thread Tools Display Modes
  #1  
Old December 12th, 2006, 10:04 AM posted to microsoft.public.access.forms
bob8000
external usenet poster
 
Posts: 8
Default Access to MySQL conversion

Can anybody help me to convert an Access query in to a MySQL query
statement PLEASE

Access Query 10a is:
-------------------------------------------------------------------------------------------------------------
SELECT Customer.Cust_ID, Customer.Name,

EquipmentCategory.Category_Name
FROM EquipmentCategory INNER JOIN (Customer INNER JOIN

Equipment ON Customer.Cust_ID = Equipment.Cust_ID) ON

EquipmentCategory.Category_ID = Equipment.Category_ID
WHERE (((EquipmentCategory.Category_Name)="commercial")) ;
-------------------------------------------------------------------------------------------------------

Access Query 10b is:
---------------------------------------------------------------------------------------------------------
SELECT Customer.Cust_ID, Customer.Name,

EquipmentCategory.Category_Name
FROM EquipmentCategory INNER JOIN

(Customer INNER JOIN Equipment ON

Customer.Cust_ID=Equipment.Cust_ID) ON

EquipmentCategory.Category_ID=Equipment.Category_I D
WHERE

(((EquipmentCategory.Category_Name)"Commercial") );

---------------------------------------------------------------------------------------------

Query 10a just does the oppersite to Query 10b, that is all
NOW Query 10c uses Query 10a and 10b to achive my final query results

------------------------------------------------------------------------------------------------
SELECT Query10a.Cust_ID, Query10a.Name,

Query10a.Category_Name
FROM Query10a LEFT JOIN Query10b ON Query10a.Name

= Query10b.Name
WHERE (((Query10b.Name) Is Null));
---------------------------------------------------------------------------------------------------


So how would I tranfer all that in to a MySQL statement

Thanks

BOB8000

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:41 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.