DBA/Programming Olympics Thread

Discussion in 'Silicon (v)Alley' started by smoke__aLot!!!, Aug 21, 2012.

  1. Alright, so... I've decided that I'm going to test the DBA/Programming skills of my fellow blades in a daily challenge. Not going to be anything super difficult but speed is key, the first person to post the result correctly gets gold medal. There is no second or third place though, because I'm apparently a dick or something. Whatever. Do you think you have what it takes?
     
  2. #2 smoke__aLot!!!, Aug 21, 2012
    Last edited by a moderator: Aug 21, 2012
    Race 1 Begins at 1PM today.
     
  3. I'll check to see what it is, if it's in my league I'll give it a go
     
  4. #5 smoke__aLot!!!, Aug 21, 2012
    Last edited by a moderator: Aug 21, 2012
    Race 1 MySQL Query
    go to http://demo.phpmyadmin.net/STABLE/
    login as root with no password
    Use the DB classicmodels.
    Generate a SQL query that will show the order lines for customer 141 for 2004. The output should show the following:
    \t\tCustomer Name|Item Name|Sales Price|Order Qty


    Also show the totals for this customer in 2004.
     

    Attached Files:

  5. It looks like the demo site is down. What a bitch, better get resourceful.
     
  6. Good news its back up!
     
  7. I must be doing something wrong, I cannot find that database?
     
  8. I added the database in the post just incase some dick decided to drop the database. Just import and you should be golden.
     
  9. im in ur system, changin ur passwords :), bad news is i immediately forgot what i changed it to after i changed it, lol im sure you can fix it ;)
     
  10. Lol, no one wins?
     
  11. A great battle had by all
     
  12. I think you should do problems, not language specific questions

    like

    "Write a program that does _______"
     

Share This Page