stockton Posted October 9, 2008 Share Posted October 9, 2008 The following SQL returns ORA-00936 when run. select MemNumber, Turnover from ( select mem_number MemNumber, sum(trans_turnover) Turnover from members join transact on mem_number = trans_code where Trans_date between '&Start' and '&End' and mem_barred = 0 group by mem_number order by turnover desc ) where rownum <=200 / Please tell me how I fix it. Quote Link to comment https://forums.phpfreaks.com/topic/127687-solved-ora-00936-with-oracle-script/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.