MYSQL

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Subqueries in MySQL < 4.1

    0 answers - 428 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    See
    for some tips
    Dan
    8/23/06, spacemarc <spacemarc (AT) gmail (DOT) comwrote:
    Hi,
    I have a query like this:
    SELECT table1.*,(
    SELECT ****( field2 )
    FRM table2
    WHERE id=10
    ) AS total
    FRM table1
    GRUP BY id
    LIMIT 1
    but the subqueries do not work with mysql < 4.1. How can I convert it
    (or make to work) in MySQL 3.x, 4.0 possibly in one only query?
    thanks

Re: Subqueries in MySQL < 4.1


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 5 =
QUESTION ON "MYSQL"

EMSDN.COM