What is wrong with my query?

Posted by user299874 on Stack Overflow See other posts from Stack Overflow or by user299874
Published on 2010-03-23T12:18:46Z Indexed on 2010/03/23 12:23 UTC
Read the original article Hit count: 344

Filed under:
|
SELECT h11, HA11
FROM florin.h11
WHERE (3>d1 AND 3<d2) OR (3>d1 AND 3=d2 AND id=MAX(id))
UNION (3=d1 AND 3<d2 AND id=MIN(id));`

Here a screenshot of my table stucture: alt text

© Stack Overflow or respective owner

Related posts about mysql

Related posts about sql