/ Published in: SQL
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
SELECT * INTO OUTFILE '/tmp/stat.csv' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\n' FROM template_stats ORDER BY used_count DESC,favorite_count DESC;
Comments
 Subscribe to comments
                    Subscribe to comments
                
                