granGripau Posted October 12, 2009 Share Posted October 12, 2009 Hi I'm just learning SQL,can someone tell me what I'm doing wrong on this line?:"SELECT ID, Name FROM cms_sci ORDER BY Name WHERE ID<50"Thanks! Link to comment Share on other sites More sharing options...
justsomeguy Posted October 12, 2009 Share Posted October 12, 2009 The syntax is fine. If you're getting an error make sure that all of the things you're naming exist. Link to comment Share on other sites More sharing options...
granGripau Posted October 12, 2009 Author Share Posted October 12, 2009 The syntax is fine. If you're getting an error make sure that all of the things you're naming exist.hmmmm, thanks justsomeguy - the problem must be with something else then... Link to comment Share on other sites More sharing options...
Synook Posted October 13, 2009 Share Posted October 13, 2009 The error message should tell you what character the problem starts at. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.