<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FarmSoft Studios Scratchpad &#187; database</title>
	<atom:link href="http://scratchpad.farmsoftstudios.com/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://scratchpad.farmsoftstudios.com</link>
	<description>What We're Thinking About Right Now...</description>
	<lastBuildDate>Tue, 03 May 2011 21:47:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Sorting Multiple Columns With MySQL</title>
		<link>http://scratchpad.farmsoftstudios.com/2009/06/web-design/sorting-multiple-columns-with-mysql/</link>
		<comments>http://scratchpad.farmsoftstudios.com/2009/06/web-design/sorting-multiple-columns-with-mysql/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 15:57:13 +0000</pubDate>
		<dc:creator>FarmSoft Studios</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://scratchpad.farmsoftstudios.com/?p=155</guid>
		<description><![CDATA[Ever wanted to sort your MySQL results by several columns? SELECT * FROM orderspecs ORDER BY height, depth, width; Now what if you want the columns to have different sort orders in the sub-sorted columns? No problem. Just specify the order for each column. SELECT * FROM orderspecs ORDER BY height DESC, depth ASC, width [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to sort your MySQL results by several columns?</p>
<pre>SELECT * FROM orderspecs ORDER BY height, depth, width;</pre>
<p>Now what if you want the columns to have different sort orders in the sub-sorted columns?  No problem.  Just specify the order for each column.</p>
<pre>SELECT * FROM orderspecs ORDER BY height DESC, depth ASC, width DESC;</pre>
]]></content:encoded>
			<wfw:commentRss>http://scratchpad.farmsoftstudios.com/2009/06/web-design/sorting-multiple-columns-with-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

