<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Courier New" size=2>nome................data_publicacao<BR>João 
Cézar..........2007-07-04<BR>Caroline Hahn.......2007-07-04<BR>Felipe 
Barbosa......2007-07-04<BR>Ricardo Werle.......2007-07-04<BR>Jáder 
Ullrich.......2007-07-04<BR>Felipe Barbosa......2007-07-04<BR>João 
Cézar..........2007-07-04<BR>Ilma de Jesus...... 2007-07-03<BR>Aline 
Melo..........2007-07-03<BR>Fernando Cruz.......2007-07-03</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>pra me retornar os útlimos 10 da tabela por ordem 
de data_publicacao, eu faço o seguinte:<BR>"SELECT `nome`,`data_publicacao` FROM 
`tabela_nomes` ORDER BY `data_publicacao` DESC LIMIT 10";</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Só que, os nomes dentro da data 2007-07-04 devem 
estar ordenados por ASC, e os data 2007-07-03 também.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Preciso me familiarizar melhor com essas cláusulas 
de ordenamento... alguém pode me dar essa simples ajuda?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Já pesquisei e infelizmente não consegui dar 
jeito...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>[]s,</FONT></DIV>
<DIV><FONT face=Arial size=2>Fernando</FONT></DIV></BODY></HTML>