<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: MySQL &#8211; NULL values and sorting</title>
	<atom:link href="http://www.dinke.net/blog/en/2009/10/04/mysql-null-values-and-sorting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dinke.net/blog/en/2009/10/04/mysql-null-values-and-sorting/</link>
	<description>Dinke&#039;s Personal Blog</description>
	<lastBuildDate>Wed, 18 Aug 2010 21:11:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: dinke</title>
		<link>http://www.dinke.net/blog/en/2009/10/04/mysql-null-values-and-sorting/comment-page-1/#comment-202</link>
		<dc:creator>dinke</dc:creator>
		<pubDate>Wed, 25 Nov 2009 20:14:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinke.net/blog/?p=558#comment-202</guid>
		<description>Yes, you should be able to use it exactly as you wrote :)</description>
		<content:encoded><![CDATA[<p>Yes, you should be able to use it exactly as you wrote :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vitor Albuquerque</title>
		<link>http://www.dinke.net/blog/en/2009/10/04/mysql-null-values-and-sorting/comment-page-1/#comment-203</link>
		<dc:creator>Vitor Albuquerque</dc:creator>
		<pubDate>Wed, 25 Nov 2009 13:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinke.net/blog/?p=558#comment-203</guid>
		<description>How can i use it with aliases?

select * from domains
order by if(expire_date is null, 1, 0), expire_date asc;

like this query:

select *, expire_date AS expires from domains
order by if(expires is null, 1, 0), expires asc;</description>
		<content:encoded><![CDATA[<p>How can i use it with aliases?</p>
<p>select * from domains<br />
order by if(expire_date is null, 1, 0), expire_date asc;</p>
<p>like this query:</p>
<p>select *, expire_date AS expires from domains<br />
order by if(expires is null, 1, 0), expires asc;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
