SELECT nota, COUNT(nota) AS total, (COUNT(nota)*100/(select count(t1.nota) from teste t1)) AS percent FROM teste GROUP BY nota
- Cipriano de Borba likes this
Posted by boirock
on 11/08/2008, 16:19
SELECT nota, COUNT(nota) AS total, (COUNT(nota)*100/(select count(t1.nota) from teste t1)) AS percent FROM teste GROUP BY nota
Posted by boirock
on 14/07/2008, 17:58
Posted by boirock
on 07/04/2008, 13:02
<html> <head> <script> function OpenModal(){ var result; if (window.showModalDialog) { result = window.showModalDialog('teste2.html'); } else { result = window.open('teste2.html','Nome','height=255,width=250,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,modal=yes'); } if(result!=null) { alert(result); } } </script> </head> <body> <a href="java script:OpenModal();">chamar</a> </body> </html>
<html> <head> <script> function fechar() { window.returnValue='valor retornado com sucesso!'; window.close(); } </script> </head> <body> <a href="java script:fechar();">fechar</a> </body> </html>
Posted by boirock
on 08/03/2007, 09:43
Community Forum Software by IP.Board
Licensed to: Webmasters Online