I am getting errors trying the answer a question and posting a SQL query.
The unhelpful error message is: An error occured submitting the edit
Here is what I tried to submit:
select empname, phone, email
from employee
where emptype = 'PT'
and salary between 30000 and 50000
order by city, faculty, empid;
Why could I post it here? I did mark it as code {} (the 4 space indent).
It seems that the error was actually caused in the text I used to describe the query. I had the phrase 'select list' but when I reworded that it work. But that phrase works here - strange.
You need to assign a type to ORDER BY either ASC or DESC
ORDER BY column1, column2, ... ASC|DESC;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.