It should work if both columns are numerical. Say int, decimal, float,
double and so on.

Babs

-----Ursprüngliche Nachricht-----
Von: MYSQL [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 16. April 2004 01:50
An: mysql
Betreff: Query Question

Hi,
I am wondering if this is possible:

Say I have a table with 2 columns,  Column_Count and Column_TotalCount;

Is it possible to use a query to select all rows from the table where
Column_Count is greater than Column_TotalCount?
Like this:

SELECT * FROM mytable WHERE Column_Count > Column_TotalCount;

Thanks.



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to