show/hide this revision's text 2 added 26 characters in body

Hi,

I need help in writing a query in select list, Is this possible in TD. In Oracle we are able to do it. I have a requirement like this:

select col1, col2, Round((col2*100.0/*(select Round((col2*100.0/**(select count(col4) from tableh group by col)),*999.9)
col)),**999.9)
FROM (select col1,count(col2) 
      from tablea, tableb
      Where tablea.col1 = tableb.col1
      and tablea.col2 = tableb.col2
      group by col1)

Thanks in advance. TDHelp

show/hide this revision's text 1

query in select list

Hi,

I need help in writing a query in select list, Is this possible in TD. In Oracle we are able to do it. I have a requirement like this: select col1, col2, Round((col2*100.0/*(select count(col4) from tableh group by col)),*999.9) FROM (select col1,count(col2) from tablea, tableb Where tablea.col1 = tableb.col1 and tablea.col2 = tableb.col2 group by col1)

Thanks in advance. TDHelp