Zero Identity
Username: Password:
[Forgot Password?] [Not Registered?]

ZI Store Updates

Zi Store

Online Users

Registered Users: 1394
Latest Registration: nixd
Online Users: 9
(0 Members, 9 Guests)

Poll

What should be done with ZI from here on out?
Get the staff to come back and work on it. (18%) [12 Votes]
Shutdown the site. (3%) [2 Votes]
Leave it to rot. (1%) [1 Votes]
Get new staff to work on it. (77%) [51 Votes]

[Poll Archive]


Icon Zero Identity Forums - General - General - Skills Center, zomg


Are you bored? Check out the unaswered threads!

irukandji
Member


Avatar
Trainee

Joined: 12.08.2009
Last Seen: 10 year(s) ago
Experience: 37.9
Points: 370
#1 Skills Center, zomg on August 14 2009 03:27
Hello :)

Well, I found out about this neat site a few days ago. Really interesting I must say.
Anyways, the problem I'm having is with the first :o challenge, Lesson #1 - SQL.

I did 'em all, except for 6,7, and 9. They seem broken to me.

the 6:th question : "Delete the row that has the city of San Francisco"
DELETE FROM countries WHERE city='San Francisco'

Doesn't work.


7:th : "Update all rows that contain United States as the country and set Los Angeles as the city."
UPDATE countries SET city = 'Los Angeles' WHERE country = 'United States'

Doesn't work.


9:th : " Insert a new row with the following data: Country: France, City: Paris."
INSERT INTO countries (country, city) VALUES ('France', 'Paris')

Doesn't work either, gives me the error : "That is not what we are looking for.". Then what are they looking for?

Seriously, what else options do I have? In what other way can I achieve the objectives?
As far as I know, this is the way. And its quite embarrasing as I have taken a lesson in SQL, tho on a Swedish "upper secondary school" with a straight A+ (MVG). And I've also been coding SQL among with PHP for some years now.

I must be soo newb :S

I'd really appreciate the help.
Grindordie
Administrator
Software Engineer

Avatar
ZI Guru

Joined: 04.11.2007
Last Seen: 10 year(s) ago
Experience: 1074.3
Points: 1100
#2 on August 14 2009 18:16
You aren't a novice, your answers are correct, the challenge is just buggy/broken.

That's not a bug, that's an unexpected feature

phpFort - light-weight content management system.
irukandji
Member


Avatar
Trainee

Joined: 12.08.2009
Last Seen: 10 year(s) ago
Experience: 37.9
Points: 370
#3 on August 14 2009 20:06
Ok, thanks :) At least it makes the effort worth something.


Who is watching forums


Users viewing this page: Guests (1)
Users viewing the forum: 0