<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Writing an SQL Query' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Writing an SQL Query' posted on the 'MySQL' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Wed, 23 May 2012 22:08:16 -0700</pubDate>
    <lastBuildDate>Wed, 23 May 2012 22:08:16 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Writing an SQL Query</title>
      <link>http://www.programmersheaven.com/mb/mysql/408924/408924/writing-an-sql-query/</link>
      <description>Hi Guys,&lt;br /&gt;
&lt;br /&gt;
Im new to this forum so sorry if i am posting in the wrong place.&lt;br /&gt;
I am wondering if anyone can help me, i have a test question that i have no idea what the answer is the question is.&lt;br /&gt;
&lt;br /&gt;
"Please write an SQL query to display the first name, surname, and sex of all the technicians who are 25 and over"&lt;br /&gt;
&lt;br /&gt;
and then under the question i have a table that looks something like this -&lt;br /&gt;
&lt;br /&gt;
First Name | Surname | Age | Sex | Position&lt;br /&gt;
&lt;br /&gt;
With 28 names and so on..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If anyone could help with the answer/commands for this that would be great.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/mysql/408924/408924/writing-an-sql-query/</guid>
      <pubDate>Fri, 06 Nov 2009 07:01:58 -0700</pubDate>
      <category>MySQL</category>
    </item>
    <item>
      <title>Re: Writing an SQL Query</title>
      <link>http://www.programmersheaven.com/mb/mysql/408924/408933/re-writing-an-sql-query/#408933</link>
      <description>Sorry, I don't see you this question, I'm sorry. I wish you to find the correct answer&lt;br /&gt;
www.see-shoes.com&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/mysql/408924/408933/re-writing-an-sql-query/#408933</guid>
      <pubDate>Fri, 06 Nov 2009 11:53:29 -0700</pubDate>
      <category>MySQL</category>
    </item>
    <item>
      <title>Re: Writing an SQL Query</title>
      <link>http://www.programmersheaven.com/mb/mysql/408924/408934/re-writing-an-sql-query/#408934</link>
      <description>Sorry, I don't see you this question, I'm sorry. I wish you to find the correct answer&lt;br /&gt;
www.see-shoes.com&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/mysql/408924/408934/re-writing-an-sql-query/#408934</guid>
      <pubDate>Fri, 06 Nov 2009 11:55:15 -0700</pubDate>
      <category>MySQL</category>
    </item>
    <item>
      <title>Re: Writing an SQL Query</title>
      <link>http://www.programmersheaven.com/mb/mysql/408924/408985/re-writing-an-sql-query/#408985</link>
      <description>I wish you to find the correct answer。I’m sorry.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/mysql/408924/408985/re-writing-an-sql-query/#408985</guid>
      <pubDate>Mon, 09 Nov 2009 12:16:12 -0700</pubDate>
      <category>MySQL</category>
    </item>
    <item>
      <title>Re: Writing an SQL Query</title>
      <link>http://www.programmersheaven.com/mb/mysql/408924/408990/re-writing-an-sql-query/#408990</link>
      <description>SELECT First Name, Surname, Sex, FROM NameOfTable WHERE Age &amp;gt; 25 AND Position = 'Technician'&lt;br /&gt;
&lt;br /&gt;
Obviously change NameOfTable to the actual table name, if you wanna be fancy you could add at the end:&lt;br /&gt;
&lt;br /&gt;
ORDER BY Age Asc&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
ORDER BY Age Desc&lt;br /&gt;
&lt;br /&gt;
To sort it by age, ascending or descending, or you could sort it by Surname or whatever. Dai&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
------------------------------------------&lt;br /&gt;
Do or do not, there is no try.  |&lt;br /&gt;
------------------------------------------</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/mysql/408924/408990/re-writing-an-sql-query/#408990</guid>
      <pubDate>Mon, 09 Nov 2009 14:38:53 -0700</pubDate>
      <category>MySQL</category>
    </item>
  </channel>
</rss>
