<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.sqlzoo.net/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.sqlzoo.net/w/index.php?title=SELECT&amp;feed=atom&amp;action=history</id>
		<title>SELECT - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.sqlzoo.net/w/index.php?title=SELECT&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.sqlzoo.net/w/index.php?title=SELECT&amp;action=history"/>
		<updated>2013-05-24T03:01:47Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.4</generator>

	<entry>
		<id>http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=7910&amp;oldid=prev</id>
		<title>15.211.201.82 at 16:59, 22 January 2013</title>
		<link rel="alternate" type="text/html" href="http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=7910&amp;oldid=prev"/>
				<updated>2013-01-22T16:59:13Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:59, 22 January 2013&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*The column names on the select line control which columns you get&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*The column names on the select line control which columns you get&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*The FROM clause controls which table you access&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*The FROM clause controls which table you access&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;div class=params&amp;gt;schema:scott&amp;lt;/div&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The table &amp;lt;code&amp;gt;games&amp;lt;/code&amp;gt; shows the year and the city hosting the Olympic Games.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The table &amp;lt;code&amp;gt;games&amp;lt;/code&amp;gt; shows the year and the city hosting the Olympic Games.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;table border='1'&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;table border='1'&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>15.211.201.82</name></author>	</entry>

	<entry>
		<id>http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=6354&amp;oldid=prev</id>
		<title>110.93.196.59 at 08:03, 3 January 2013</title>
		<link rel="alternate" type="text/html" href="http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=6354&amp;oldid=prev"/>
				<updated>2013-01-03T08:03:24Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 08:03, 3 January 2013&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*The FROM clause controls which table you access&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*The FROM clause controls which table you access&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=params&amp;gt;schema:scott&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=params&amp;gt;schema:scott&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The table &amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/del&gt;&amp;lt;/code&amp;gt; shows the year and the city hosting the Olympic Games.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The table &amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/ins&gt;&amp;lt;/code&amp;gt; shows the year and the city hosting the Olympic Games.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;table border='1'&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;table border='1'&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;caption&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/del&gt;&amp;lt;/caption&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;caption&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/ins&gt;&amp;lt;/caption&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;th&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ENAME&lt;/del&gt;&amp;lt;/th&amp;gt; &amp;lt;th&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;JOB&lt;/del&gt;&amp;lt;/th&amp;gt; &amp;lt;th&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SAL&lt;/del&gt;&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;th&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;yr&lt;/ins&gt;&amp;lt;/th&amp;gt; &amp;lt;th&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;city&lt;/ins&gt;&amp;lt;/th&amp;gt; &amp;lt;th&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;y1&lt;/ins&gt;&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SMITH&lt;/del&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;CLERK&lt;/del&gt;&amp;lt;/td&amp;gt;&amp;#160; &amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;800&lt;/del&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2000&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Sydney&lt;/ins&gt;&amp;lt;/td&amp;gt;&amp;#160; &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ALLEN&lt;/del&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SALESMAN&lt;/del&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1600&lt;/del&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2004&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Athens&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2000&lt;/ins&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;WARD&lt;/del&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SALESMAN&lt;/del&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1250&lt;/del&gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2008&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Beijing&lt;/ins&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2004&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;MARTIN&lt;/del&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SALESMAN&lt;/del&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1250&lt;/del&gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2012&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;London&lt;/ins&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2008&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/table&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/table&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=qu&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=qu&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The SELECT statement returns results from a &amp;lt;i&amp;gt;table&amp;lt;/i&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The SELECT statement returns results from a &amp;lt;i&amp;gt;table&amp;lt;/i&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;In this example the table is &amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/del&gt;&amp;lt;/code&amp;gt; and the columns are&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;In this example the table is &amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/ins&gt;&amp;lt;/code&amp;gt; and the columns are&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ENAME&lt;/del&gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;JOB&lt;/del&gt;&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;yr&lt;/ins&gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;city&lt;/ins&gt;&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=tidy&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=tidy&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;DROP TABLE &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/del&gt;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;DROP TABLE &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/ins&gt;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=setup&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=setup&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;CREATE TABLE &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ENAME &lt;/del&gt;INT, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;JOB &lt;/del&gt;VARCHAR(20),&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SAL &lt;/del&gt;INT);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;CREATE TABLE &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;yr &lt;/ins&gt;INT, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;city &lt;/ins&gt;VARCHAR(20),&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;y1 &lt;/ins&gt;INT);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ENAME&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;JOB, SAL&lt;/del&gt;) VALUES ('&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SMITH','CLERK&lt;/del&gt;',&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;800&lt;/del&gt;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;city&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;yr&lt;/ins&gt;) VALUES ('&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Sydney&lt;/ins&gt;',&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2000&lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ENAME&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;JOB&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SAL&lt;/del&gt;) VALUES ('&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ALLEN&lt;/del&gt;',&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SALESMAN&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1600&lt;/del&gt;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;city&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;yr&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;y1&lt;/ins&gt;) VALUES ('&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Athens&lt;/ins&gt;',&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2004&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2000&lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ENAME&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;JOB&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SAL&lt;/del&gt;) VALUES ('&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;WARD&lt;/del&gt;',&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SALESMAN&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1250&lt;/del&gt;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;city&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;yr&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;y1&lt;/ins&gt;) VALUES ('&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Beijing&lt;/ins&gt;',&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2008&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2004&lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ENAME&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;JOB&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SAL&lt;/del&gt;) VALUES ('&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;MARTIN&lt;/del&gt;',&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;SALESMAN&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1250&lt;/del&gt;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;city&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;yr&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;y1&lt;/ins&gt;) VALUES ('&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;London&lt;/ins&gt;',&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2012&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2008&lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=def&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=def&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;SELECT &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ENAME&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;JOB &lt;/del&gt;FROM games&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;SELECT &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;yr&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;city &lt;/ins&gt;FROM games&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>110.93.196.59</name></author>	</entry>

	<entry>
		<id>http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=6353&amp;oldid=prev</id>
		<title>110.93.196.59 at 07:58, 3 January 2013</title>
		<link rel="alternate" type="text/html" href="http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=6353&amp;oldid=prev"/>
				<updated>2013-01-03T07:58:54Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 07:58, 3 January 2013&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;WARD&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;SALESMAN&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1250&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;WARD&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;SALESMAN&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1250&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;MARTIN&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;SALESMAN&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1250&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;MARTIN&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;SALESMAN&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1250&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;BLAKE&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;MANAGER&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2850&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;CLARK&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;MANAGER&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2450&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;SCOTT&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;ANALYST&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3000&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;KING&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;PRESIDENT&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5000&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/table&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/table&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=qu&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=qu&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO EMP(ENAME,JOB, SAL) VALUES ('WARD',SALESMAN,1250);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO EMP(ENAME,JOB, SAL) VALUES ('WARD',SALESMAN,1250);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO EMP(ENAME,JOB, SAL) VALUES ('MARTIN',SALESMAN,1250);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO EMP(ENAME,JOB, SAL) VALUES ('MARTIN',SALESMAN,1250);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;INSERT INTO EMP(ENAME,JOB, SAL) VALUES ('BLAKE',MANAGER,2850);&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;INSERT INTO EMP(ENAME,JOB, SAL) VALUES ('CLARK',MANAGER,2450);&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;INSERT INTO EMP(ENAME,JOB, SAL) VALUES ('SCOTT',ANALYST,3000);&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;INSERT INTO EMP(ENAME,JOB, SAL) VALUES ('KING',PRESIDENT,5000);&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=def&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=def&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>110.93.196.59</name></author>	</entry>

	<entry>
		<id>http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=6352&amp;oldid=prev</id>
		<title>110.93.196.59 at 07:57, 3 January 2013</title>
		<link rel="alternate" type="text/html" href="http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=6352&amp;oldid=prev"/>
				<updated>2013-01-03T07:57:24Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 07:57, 3 January 2013&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*The FROM clause controls which table you access&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*The FROM clause controls which table you access&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=params&amp;gt;schema:scott&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=params&amp;gt;schema:scott&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The table &amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/del&gt;&amp;lt;/code&amp;gt; shows the year and the city hosting the Olympic Games.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The table &amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/ins&gt;&amp;lt;/code&amp;gt; shows the year and the city hosting the Olympic Games.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;table border='1'&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;table border='1'&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;caption&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/del&gt;&amp;lt;/caption&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;caption&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/ins&gt;&amp;lt;/caption&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;th&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;yr&lt;/del&gt;&amp;lt;/th&amp;gt; &amp;lt;th&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;city&lt;/del&gt;&amp;lt;/th&amp;gt; &amp;lt;th&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;y1&lt;/del&gt;&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;th&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ENAME&lt;/ins&gt;&amp;lt;/th&amp;gt; &amp;lt;th&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;JOB&lt;/ins&gt;&amp;lt;/th&amp;gt; &amp;lt;th&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SAL&lt;/ins&gt;&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2000&lt;/del&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Sydney&lt;/del&gt;&amp;lt;/td&amp;gt;&amp;#160; &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SMITH&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;CLERK&lt;/ins&gt;&amp;lt;/td&amp;gt;&amp;#160; &amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;800&lt;/ins&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2004&lt;/del&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Athens&lt;/del&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2000&lt;/del&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ALLEN&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SALESMAN&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1600&lt;/ins&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2008&lt;/del&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Beijing&lt;/del&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2004&lt;/del&gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;WARD&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SALESMAN&lt;/ins&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1250&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2012&lt;/del&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;London&lt;/del&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2008&lt;/del&gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;MARTIN&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SALESMAN&lt;/ins&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1250&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;BLAKE&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;MANAGER&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2850&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;CLARK&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;MANAGER&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2450&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;SCOTT&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;ANALYST&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3000&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;KING&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;PRESIDENT&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5000&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/table&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/table&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=qu&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=qu&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The SELECT statement returns results from a &amp;lt;i&amp;gt;table&amp;lt;/i&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The SELECT statement returns results from a &amp;lt;i&amp;gt;table&amp;lt;/i&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;In this example the table is &amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/del&gt;&amp;lt;/code&amp;gt; and the columns are&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;In this example the table is &amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/ins&gt;&amp;lt;/code&amp;gt; and the columns are&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;yr&lt;/del&gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;city&lt;/del&gt;&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ENAME&lt;/ins&gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;JOB&lt;/ins&gt;&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=tidy&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=tidy&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;DROP TABLE &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/del&gt;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;DROP TABLE &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/ins&gt;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=setup&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=setup&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;CREATE TABLE &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;yr &lt;/del&gt;INT, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;city &lt;/del&gt;VARCHAR(20),&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;y1 &lt;/del&gt;INT);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;CREATE TABLE &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ENAME &lt;/ins&gt;INT, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;JOB &lt;/ins&gt;VARCHAR(20),&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SAL &lt;/ins&gt;INT);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;city&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;yr&lt;/del&gt;) VALUES ('&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Sydney&lt;/del&gt;',&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2000&lt;/del&gt;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ENAME&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;JOB, SAL&lt;/ins&gt;) VALUES ('&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SMITH&lt;/ins&gt;',&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'CLERK',800);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;city&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;yr&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;y1&lt;/del&gt;) VALUES ('&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Athens&lt;/del&gt;',&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2004&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2000&lt;/del&gt;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;INSERT INTO EMP(ENAME,JOB, SAL) VALUES ('ALLEN',SALESMAN,1600);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;city&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;yr&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;y1&lt;/del&gt;) VALUES ('&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Beijing&lt;/del&gt;',&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2008&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2004&lt;/del&gt;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;INSERT INTO EMP(ENAME,JOB, SAL) VALUES ('WARD',SALESMAN,1250);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;games&lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;city&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;yr&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;y1&lt;/del&gt;) VALUES ('&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;London&lt;/del&gt;',&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2012&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2008&lt;/del&gt;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;INSERT INTO EMP(ENAME,JOB, SAL) VALUES ('MARTIN',SALESMAN,1250);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;INSERT INTO EMP(ENAME,JOB, SAL) VALUES ('BLAKE',MANAGER,2850&lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ENAME&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;JOB&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SAL&lt;/ins&gt;) VALUES ('&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;CLARK&lt;/ins&gt;',&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;MANAGER&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2450&lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ENAME&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;JOB&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SAL&lt;/ins&gt;) VALUES ('&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SCOTT&lt;/ins&gt;',&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ANALYST&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;3000&lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;EMP&lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ENAME&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;JOB&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SAL&lt;/ins&gt;) VALUES ('&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;KING&lt;/ins&gt;',&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;PRESIDENT&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;5000&lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=def&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=def&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;SELECT &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;yr&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;city &lt;/del&gt;FROM games&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;SELECT &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ENAME&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;JOB &lt;/ins&gt;FROM games&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>110.93.196.59</name></author>	</entry>

	<entry>
		<id>http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=6220&amp;oldid=prev</id>
		<title>JesseTG: Fixed the two internal links at the bottom</title>
		<link rel="alternate" type="text/html" href="http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=6220&amp;oldid=prev"/>
				<updated>2012-12-29T04:20:19Z</updated>
		
		<summary type="html">&lt;p&gt;Fixed the two internal links at the bottom&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 04:20, 29 December 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===See also:===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===See also:===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;http://sqlzoo.net/w/index.php/SELECT_from_BBC_Tutorial &lt;/del&gt;SELECT Tutorial] - practice using the SELECT command&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[SELECT_basics | &lt;/ins&gt;SELECT Tutorial&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;] - practice using the SELECT command&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[SELECT_.._WHERE&amp;#160; |SELECT ... WHERE] - the WHERE clause allows you to get some rows but not others&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;[SELECT_.._WHERE&amp;#160; |SELECT ... WHERE&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;] - the WHERE clause allows you to get some rows but not others&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JesseTG</name></author>	</entry>

	<entry>
		<id>http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=5896&amp;oldid=prev</id>
		<title>120.107.155.51 at 01:44, 24 December 2012</title>
		<link rel="alternate" type="text/html" href="http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=5896&amp;oldid=prev"/>
				<updated>2012-12-24T01:44:56Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 01:44, 24 December 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;CREATE TABLE games(yr INT, city VARCHAR(20),y1 INT);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;CREATE TABLE games(yr INT, city VARCHAR(20),y1 INT);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('Sydney',2000);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('Sydney',2000);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('Athens',2004,2000);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;,y1&lt;/ins&gt;) VALUES ('Athens',2004,2000);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('Beijing',2008,2004);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;,y1&lt;/ins&gt;) VALUES ('Beijing',2008,2004);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('London',2012,2008);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;,y1&lt;/ins&gt;) VALUES ('London',2012,2008);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=def&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=def&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>120.107.155.51</name></author>	</entry>

	<entry>
		<id>http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=5742&amp;oldid=prev</id>
		<title>125.19.34.4 at 09:57, 20 December 2012</title>
		<link rel="alternate" type="text/html" href="http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=5742&amp;oldid=prev"/>
				<updated>2012-12-20T09:57:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:57, 20 December 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=setup&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=setup&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;CREATE TABLE games(yr INT, city VARCHAR(20),y1 INT);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;CREATE TABLE games(yr INT, city VARCHAR(20),y1 INT);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ouroalpha&lt;/del&gt;',2000);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Sydney&lt;/ins&gt;',2000);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('Athens',2004,2000);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('Athens',2004,2000);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('Beijing',2008,2004);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('Beijing',2008,2004);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>125.19.34.4</name></author>	</entry>

	<entry>
		<id>http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=5741&amp;oldid=prev</id>
		<title>125.19.34.4 at 09:53, 20 December 2012</title>
		<link rel="alternate" type="text/html" href="http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=5741&amp;oldid=prev"/>
				<updated>2012-12-20T09:53:27Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:53, 20 December 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=setup&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=setup&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;CREATE TABLE games(yr INT, city VARCHAR(20));&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;CREATE TABLE games(yr INT, city VARCHAR(20)&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;,y1 INT&lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('ouroalpha',2000);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('ouroalpha',2000);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('Athens',2004);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('Athens',2004&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;,2000&lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('Beijing',2008);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('Beijing',2008&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;,2004&lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('London',2012);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSERT INTO games(city,yr) VALUES ('London',2012&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;,2008&lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=def&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=def&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>125.19.34.4</name></author>	</entry>

	<entry>
		<id>http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=5740&amp;oldid=prev</id>
		<title>125.19.34.4 at 09:51, 20 December 2012</title>
		<link rel="alternate" type="text/html" href="http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=5740&amp;oldid=prev"/>
				<updated>2012-12-20T09:51:18Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:51, 20 December 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;table border='1'&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;table border='1'&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;caption&amp;gt;games&amp;lt;/caption&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;caption&amp;gt;games&amp;lt;/caption&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;th&amp;gt;yr&amp;lt;/th&amp;gt; &amp;lt;th&amp;gt;city&amp;lt;/th&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;th&amp;gt;yr&amp;lt;/th&amp;gt; &amp;lt;th&amp;gt;city&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/th&amp;gt; &amp;lt;th&amp;gt;y1&lt;/ins&gt;&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;2000&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;Sydney&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;2000&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;Sydney&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/td&amp;gt;&amp;#160; &amp;lt;td&amp;gt;&lt;/ins&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;2004&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;Athens&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;2004&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;Athens&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;2000&lt;/ins&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;2008&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;Beijing&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;2008&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;Beijing&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2004&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;2012&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;London&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt; &amp;lt;td align='right'&amp;gt;2012&amp;lt;/td&amp;gt; &amp;lt;td&amp;gt;London&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2008&lt;/ins&gt;&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/table&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/table&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=qu&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div class=qu&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>125.19.34.4</name></author>	</entry>

	<entry>
		<id>http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=4992&amp;oldid=prev</id>
		<title>212.18.201.14: Undo revision 2771 by Connor (talk)</title>
		<link rel="alternate" type="text/html" href="http://www.sqlzoo.net/w/index.php?title=SELECT&amp;diff=4992&amp;oldid=prev"/>
				<updated>2012-12-04T15:26:37Z</updated>
		
		<summary type="html">&lt;p&gt;Undo revision 2771 by &lt;a href=&quot;/wiki/Special:Contributions/Connor&quot; title=&quot;Special:Contributions/Connor&quot;&gt;Connor&lt;/a&gt; (&lt;a href=&quot;/w/index.php?title=User_talk:Connor&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Connor (page does not exist)&quot;&gt;talk&lt;/a&gt;)&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:26, 4 December 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===See also:===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===See also:===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[http://sqlzoo.net/w/index.php/SELECT_from_BBC_Tutorial SELECT Tutorial] - practice using the SELECT command&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[http://sqlzoo.net/w/index.php/SELECT_from_BBC_Tutorial SELECT Tutorial] - practice using the SELECT command&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/del&gt;SELECT ... WHERE&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/del&gt;] - the WHERE clause allows you to get some rows but not others&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SELECT_.._WHERE&amp;#160; |&lt;/ins&gt;SELECT ... WHERE] - the WHERE clause allows you to get some rows but not others&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>212.18.201.14</name></author>	</entry>

	</feed>