Thanks for prompt response. I tried the query at the mySQL prompt line.
It returned Error 1064 at line 3.
I did check the mySQL manual and it lists on the version 4. I am runing version 3.23.54 on RedHat Linux.
Is that the reason why it did not work?
Thanks.
Hi there:
Thank you all for the helps! I just have another question about the use of Table name as the field of "Union select" to describe the data sources. The SQL describes as such:
-------------------------------------
SELECT City, CompanyName, ContactName, "Customers"...
I am a newbies for mySQL. Is the query not working because the "form" instead of "from"?
-------------------------------------
select * form data where match (name,town,area) against ("north");
Hi;
I am quite new to mySQL. I run a simple subquery on mySQL 3.23.54 and the statement is:
------------------------------------------------
SELECT Products.ProductName, Products.UnitPrice
FROM Products
WHERE Products.UnitPrice > (SELECT AVG(Products.UnitPrice) FROM Products)
ORDER BY...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.