<?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=Congestion_Hard&amp;feed=atom&amp;action=history</id>
		<title>Congestion Hard - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://sqlzoo.net/w/index.php?title=Congestion_Hard&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://sqlzoo.net/w/index.php?title=Congestion_Hard&amp;action=history"/>
		<updated>2013-05-23T17:42:39Z</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=Congestion_Hard&amp;diff=1915&amp;oldid=prev</id>
		<title>Connor: Created page with &quot;&lt;h1&gt;Congestion Charges: hard questions&lt;/h1&gt; &lt;p&gt;You may need to create views to complete these questions - but you do not have permission to create tables or views in the defau...&quot;</title>
		<link rel="alternate" type="text/html" href="http://sqlzoo.net/w/index.php?title=Congestion_Hard&amp;diff=1915&amp;oldid=prev"/>
				<updated>2012-07-19T13:55:16Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;h1&amp;gt;Congestion Charges: hard questions&amp;lt;/h1&amp;gt; &amp;lt;p&amp;gt;You may need to create views to complete these questions - but you do not have permission to create tables or views in the defau...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;h1&amp;gt;Congestion Charges: hard questions&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;You may need to create views to complete these questions - but you do not have permission to create tables or views in the default schema.&lt;br /&gt;
Your SQL commands are executed by user scott in schema gisq - you may create or drop views and tables in schema scott but not in gisq.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class='qu'&amp;gt;&lt;br /&gt;
When creating a view in scott you must specify the schema name of the sources and the destination.  &lt;br /&gt;
&amp;lt;source lang='sql' class='def'&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class='qu'&amp;gt;&lt;br /&gt;
There are four types of permit. &lt;br /&gt;
The most popular type means that this type has been issued the highest number of times. &lt;br /&gt;
Find out the most popular type, together with the total number of permits issued.   &lt;br /&gt;
&amp;lt;source lang='sql' class='def'&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class='qu'&amp;gt;&lt;br /&gt;
For each of the vehicles caught by camera 19 - show the registration, the earliest time at camera 19 and the time and camera at which it left the zone.   &lt;br /&gt;
&amp;lt;source lang='sql' class='def'&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class='qu'&amp;gt;&lt;br /&gt;
For all 19 cameras - show the position as IN, OUT or INTERNAL and the busiest hour for that camera.  &lt;br /&gt;
&amp;lt;source lang='sql' class='def'&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class='qu'&amp;gt;&lt;br /&gt;
Anomalous daily permits. Daily permits should not be issued for non-charging days. &lt;br /&gt;
Find a way to represent charging days. Identify the anomalous daily permits.     &lt;br /&gt;
&amp;lt;source lang='sql' class='def'&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class='qu'&amp;gt;&lt;br /&gt;
Issuing fines: Vehicles using the zone during the charge period, on charging days must be issued with fine notices unless they have a permit covering that day. &lt;br /&gt;
List the name and address of such culprits, give the camera and the date and time of the first offence.    &lt;br /&gt;
&amp;lt;source lang='sql' class='def'&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Connor</name></author>	</entry>

	</feed>