Skip navigation links
Showing entries 1 to 6

Tags Filter: query (reset)

Articles
Add to Favourites +1 Vote Up -0Vote Down
Some days ago I was working in a quiz project. Where user will play quiz and for each correct answer they will earn points. One of the task of this quiz application was, to get rank of a particular user. Now I am showing how could I solve this problem using mysql query.
Articles
Add to Favourites +1 Vote Up -0Vote Down
If you want to retrieve result based on today, this week or this month then you should visit the article to learn the mysql techniques.
Articles
Add to Favourites +0 Vote Up -1Vote Down
Mark Callaghan tests the query cache. "The query cache has had an interesting history with MySQL. I don't have much experience with it. I might want to use it in the future so I enabled it during a run of sysbench readonly on an 8-core server. The results are fascinating."
Articles
Add to Favourites +0 Vote Up -0Vote Down
By "Good SQL Querying", I am not referring to "how to make your queries more perfomant." I am about to go on a mini-rant about how to make readable and self-documenting SQL queries.One practice that will get me instantly going on a rant is using a comma join. There is NO reason to do the following:-- uses the sakila sample databaseSELECT first_name, last_name, addressFROM customer,address;What kind of join did the original author intend? A CROSS JOIN? Or did they really want an INNER JOIN and forget the WHERE clause?The answer: you do not know for sure; you can only guess. Had the query beenSELECT first_name,last_name,addressFROM customer INNER JOIN address;you would know that the author intended an INNER JOIN; had the query beenSELECT first_name,last_name,addressFROM customer CROSS JOIN address;you would know that the author intended a CROSS JOIN. I advocate using INNER JOIN instead of JOIN because like  []
Presentations
Add to Favourites +0 Vote Up -0Vote Down
Following a Query Back and Forth in the MySQL Server
Presentations
Add to Favourites +0 Vote Up -0Vote Down
Mikael "Monty" Widenius, father of MySQL, gives an overview of query execution and use of temp tables in the MySQL Server.
Showing entries 1 to 6