Is there a subtag available to know how many rows are returned on an sql [query]? I want to do the following: [query list=1 sql="select * from table"] [if <number of rows returns> > 1] [list] [sql-code] . [/list] [/if] Thanks, Peter