It's looking through the database to pull rows that match the select parameters, then a second query is applied to the first to see which of the results have more than one SHIPTO_VEND_ADD R_CODE. I thought that a subquery might give me the results.
Access allows for stored procedures while my version of MySQL doesn't....
User Profile
Collapse
-
Need a subquery
I'm stumped with this one. I'm trying to recode an SQL statement written in Access that will work for MySQL (4.1.22). In Access it used a stored Query, I'd like to use a subquery to replace the stored query. Here is the stored query that was saved as qryOrderShiptoL ocs:
[code=mysql]
SELECT
tblOELine.ORD_N O,
tblOEInfo.ORD_D ATE,
Count(tblOELine .LINE_NO) AS CountOfLINE_NO,
tblOELine.
...Last edited by Atli; Jul 19 '07, 02:40 PM. Reason: Added code tags and made query more readable. Please try to format large queries so they can be easilly read.
No activity results to display
Show More
Leave a comment: