tonberry_kun
O RLY?
- Joined
- Jun 21, 2003
- Messages
- 818
- Gender
- Undisclosed
- HSC
- 2003
that would be the 3/3
given the fact that all the databases I have worked with, that is mysql, postgre, ms-sql, access and a billion others that DO automatically arrange it in alphabetical order...... there is no need for ASC or DESCOriginally posted by friday13th
jeo it could well depend on wat application u are using to write ur SQL as to whether or not it arranges it automatically in alphabetical order. better to be safe than sorry i reckon.
no you dont need a semi colon at end of statement, and there is no need for ASC or DESC therefore the correct answer should be:Originally posted by friday13th
i think huy is rite... except that u need a semicolon at the end of an SQL statement. also i think (but im not sure) if the ASC has to be capitals. anyone?????
Actually, if you wanted the correct answer, it wouldn't be on 1 lineOriginally posted by Jeo
no you dont need a semi colon at end of statement, and there is no need for ASC or DESC therefore the correct answer should be:
SELECT Last_name, First_name, Home_phone FROM FRIENDS WHERE State = "NSW" ORDER BY Last_name