I am an Access guru who is attempting to better learn how to use MySQL. In Access, I had the following query:
Query7 code:
Since I can't store "queries" in MySQL on the server, how can I fix the first query so that it selects the records in Query7 as a virtual table?
MrsBean
Code:
SELECT phReqDocs.*, Query7.TransSubList, Query7.TransSubOrder
FROM phReqDocs LEFT JOIN Query7 ON phReqDocs.TransDoc = Query7.DocName;
Query7 code:
Code:
SELECT phTransDefaultDocs.*, phDocuments.DocName
FROM phTransDefaultDocs INNER JOIN phDocuments ON phTransDefaultDocs.AssignDoc=phDocuments.DocID;
Since I can't store "queries" in MySQL on the server, how can I fix the first query so that it selects the records in Query7 as a virtual table?
MrsBean