01-11-2008, 09:31 PM
|
#4 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
The HAVING clause will allow you to use a value. You can also use variables in MySQL, like so:
sql Code:
SELECT @myVar:=COUNT(myColumn)
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|