Archive for the ‘General SQL’ Category

Swap values in 2 rows SQL

Октябрь 12th, 2009
I encountered a situation at work that I feel would be a good brain teaser. I was working on a project and needed a way to swap values from 2 different rows in a SQL table. Obviously I can do it on client side (like PHP) to do it; but that wouldn’t be a good [...]
PlanetMySQL Voting: Vote UP / Vote DOWN