User Profile

Collapse

Profile Sidebar

Collapse
LordGoran
LordGoran
Last Activity: Aug 21 '07, 05:27 PM
Joined: Jul 19 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • LordGoran
    replied to Need a subquery
    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....
    See more | Go to post

    Leave a comment:


  • LordGoran
    started a topic Need a subquery

    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.
    ...
    See more | Go to post
    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
Working...