Home » RDBMS Server » Server Administration » How can I avoid redundant query?
How can I avoid redundant query? [message #372141] Sun, 14 January 2001 02:39
Yun
Messages: 1
Registered: January 2001
Junior Member
In the following case, id and age are the columns of
(SOME QUERY). What kind of structure should I use to
avoid the repeating of the query without creating view?

Thanks.

------------------------------------
select id from (SOME QUERY)
where age=
(select max(age) from (SOME QUERY));
Previous Topic: Searching between alphanumeric ranges
Next Topic: recursive queries in SQL
Goto Forum:
  


Current Time: Wed May 15 13:12:42 CDT 2024