Consider the two statements below.

 

A: SELECT COUNT(DataID) FROM Data GROUP BY DataID ORDER BY COUNT(DataID);

B: SELECT COUNT(DataID) AS X FROM Data GROUP BY DataID ORDER BY X;

 

Is statement B faster than A? Why?
                                          
_________________________________________________________________
Hitta hetaste singlarna på MSN Dejting!
http://dejting.se.msn.com/channel/index.aspx?trackingid=1002952
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to