I'm a database guru

I solved 2 puzzling mind boggling Database questions in 1 hour! 1 is the Credit Assignment and one is the Supplimentary Pass/Fail assignment.

For the supp, all I did was to create a new "Diagnosis" table linking "Patient" and "Visit".

For the credit assignment, it was even sweeter. The magic code was:

SELECT c.Name AS Name, v.Name AS Victim, v.TelNo AS Contact
FROM CardHolder AS c, CardHolder AS v
WHERE c.Name <> v.Name
ORDER BY c.Name;

Wow, this little nifty command does wonders! If you can figure out what it does, leave a comment, and I'll ship you a little prize! (Ppl in same course not allowed to try!!)

Meh, I'm so satisfied today. Can't wait for Cee Gee tomorrow where we will elect a new leader. (Kinda)

Comments

Popular posts from this blog

Another 2012 Prophesy?

Free CG

Yum Seng with Lukas