Commits

Anonymous committed cabd603

updating comments and adding readme to describe what's happening

Comments (0)

Files changed (3)

1_InterviewAnswer.sql

 -- and so only rooms 1,3,4 are returned
 
 -- however, this query only works if nobody ever reserves the same room 
--- more than once (see update.sql file where more reservations are added)
+-- more than once 
 SELECT        RoomNum
 FROM            Reservations
 WHERE        ([End] < '2013-02-14') OR

2_MoreReservations.sql

+-- this will create a new reservation for room 2
+-- it will not conflict with the test reservation from the first query
+-- cause the room number 2 to be returned, even though there is another
+-- reservation for room 2 which DOES conflict
+-- (so room 2 should not be returned in the list of available rooms)
 INSERT INTO Reservations(RoomNum, Start, [End])
 VALUES        (2, '2013-06-01', '2013-06-05')
+The files are numbered in the order of which to view/execute them
+i.e. "1_*" should be read/executed before "2_*"
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.