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

	<entry>
		<id>http://sqlzoo.net/w/index.php?title=DROP&amp;diff=1482&amp;oldid=prev</id>
		<title>Connor: Created page with &quot; &lt;h1&gt;DROP&lt;/h1&gt; &lt;p&gt;The table &lt;code&gt;games&lt;/code&gt; shows the year and the city hosting the Olympic Games.&lt;/p&gt; &lt;table&gt; &lt;caption align='center'&gt;games&lt;/caption&gt; &lt;tr&gt;&lt;th align='center...&quot;</title>
		<link rel="alternate" type="text/html" href="http://sqlzoo.net/w/index.php?title=DROP&amp;diff=1482&amp;oldid=prev"/>
				<updated>2012-07-17T12:21:07Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; &amp;lt;h1&amp;gt;DROP&amp;lt;/h1&amp;gt; &amp;lt;p&amp;gt;The table &amp;lt;code&amp;gt;games&amp;lt;/code&amp;gt; shows the year and the city hosting the Olympic Games.&amp;lt;/p&amp;gt; &amp;lt;table&amp;gt; &amp;lt;caption align=&amp;#039;center&amp;#039;&amp;gt;games&amp;lt;/caption&amp;gt; &amp;lt;tr&amp;gt;&amp;lt;th align=&amp;#039;center...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&amp;lt;h1&amp;gt;DROP&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The table &amp;lt;code&amp;gt;games&amp;lt;/code&amp;gt; shows the year and the city hosting the Olympic Games.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;caption align='center'&amp;gt;games&amp;lt;/caption&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th align='center'&amp;gt;'''yr'''&amp;lt;/th&amp;gt;&amp;lt;th align='center'&amp;gt;'''city'''&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;2000&amp;lt;/td&amp;gt;&amp;lt;td align='left'&amp;gt;Sydney&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;2004&amp;lt;/td&amp;gt;&amp;lt;td align='left'&amp;gt;Athens&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;2008&amp;lt;/td&amp;gt;&amp;lt;td align='left'&amp;gt;Beijing&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;2012&amp;lt;/td&amp;gt;&amp;lt;td align='left'&amp;gt;London&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;div class='ht'&amp;gt;&lt;br /&gt;
&amp;lt;div class=params&amp;gt;schema:scott&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;source lang=sql class='tidy'&amp;gt; DROP TABLE games&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;source lang=sql class='setup'&amp;gt; CREATE TABLE games(&lt;br /&gt;
  yr INTEGER PRIMARY KEY,&lt;br /&gt;
  city VARCHAR(20));&lt;br /&gt;
INSERT INTO games VALUES (2000,'Sydney');&lt;br /&gt;
INSERT INTO games VALUES (2004,'Athens');&lt;br /&gt;
INSERT INTO games VALUES (2008,'Beijing');&lt;br /&gt;
INSERT INTO games VALUES (2012,'London');&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
You can drop a table, a view or an index. The data will be lost. &lt;br /&gt;
&amp;lt;source lang='sql' class='def e-oracle'&amp;gt;&lt;br /&gt;
DROP VIEW old_games;&lt;br /&gt;
DROP INDEX gamesIdx ON scott.games;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&amp;lt;source lang='sql' class='def'&amp;gt;&lt;br /&gt;
DROP VIEW old_games;&lt;br /&gt;
DROP INDEX gamesIdx ON games;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;See also&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;[[CREATE_TABLE |CREATE]]&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;[[DELETE |DELETE]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Connor</name></author>	</entry>

	</feed>