SQL语句错误: select id,subject from news where mever='cn' and class_id=1 and year(postdate)=2012 order by postdate desc,rank asc,id desc

错误信息: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc,id desc' at line 1SQL语句错误: select id,subject from news where mever='cn' and class_id=1 and year(postdate)=2012 order by postdate desc,rank asc,id desc

错误信息: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc,id desc' at line 1SQL语句错误: select id,subject from news where mever='cn' and class_id=1 and year(postdate)=2012 order by postdate desc,rank asc,id desc limit 0,1

错误信息: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc,id desc limit 0,1' at line 1 Error
Summary
Loaded Extensions
GET List
acinfo
id25
nav_id24
Server Information
_FCGI_X_PIPE_\\.\pipe\IISFCGI-34a70b74-54dd-4fa9-af2d-d24375b8b638
PHP_FCGI_MAX_REQUESTS1000
PHPRCC:\php_53
ALLUSERSPROFILEC:\ProgramData
APPDATAC:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIGC:\inetpub\temp\apppools\hkweb10332\hkweb10332.config
APP_POOL_IDhkweb10332
CommonProgramFilesC:\Program Files (x86)\Common Files
CommonProgramFiles(x86)C:\Program Files (x86)\Common Files
CommonProgramW6432C:\Program Files\Common Files
COMPUTERNAMEEBS-169225
ComSpecC:\Windows\system32\cmd.exe
DriverDataC:\Windows\System32\Drivers\DriverData
LOCALAPPDATAC:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS8
OSWindows_NT
PathC:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;D:\mysql\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn\;C:\php_52;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTUREx86
PROCESSOR_ARCHITEW6432AMD64
PROCESSOR_IDENTIFIERIntel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL6
PROCESSOR_REVISION4f01
ProgramDataC:\ProgramData
ProgramFilesC:\Program Files (x86)
ProgramFiles(x86)C:\Program Files (x86)
ProgramW6432C:\Program Files
PSModulePathC:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\PowerShell\Modules\
PUBLICC:\Users\Public
SystemDriveC:
SystemRootC:\Windows
TEMPC:\Windows\TEMP
TMPC:\Windows\TEMP
USERDOMAINWORKGROUP
USERNAMEEBS-169225$
USERPROFILEC:\Windows\system32\config\systemprofile
windirC:\Windows
FCGI_ROLERESPONDER
HTTP_CONNECTIONclose
HTTP_CONTENT_LENGTH0
HTTP_ACCEPTtext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODINGgzip
HTTP_ACCEPT_LANGUAGEen-US,en;q=0.5
HTTP_HOSTlafaya.cn
HTTP_IF_MODIFIED_SINCEWed, 15 Apr 2026 06:49:34 GMT
HTTP_USER_AGENTCCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_FORWARDED_PROTOhttp
HTTP_X_FORWARDED_FOR18.97.14.84
HTTP_X_REAL_IP211.149.251.122
HTTP_REALIP_WTS_X18.97.14.84
HTTP_X_ORIGINAL_URL/news_info_25.html
IIS_WasUrlRewritten1
UNENCODED_URL/news_info_25.html
WEBSOCKET_VERSION13
IIS_UrlRewriteModule7,1,1993,2336
APPL_MD_PATH/LM/W3SVC/10400/ROOT
APPL_PHYSICAL_PATHD:\wwwroot\hkweb10332\wwwroot\
AUTH_TYPE
AUTH_PASSWORD
AUTH_USER
CERT_COOKIE
CERT_FLAGS
CERT_ISSUER
CERT_SERIALNUMBER
CERT_SUBJECT
CONTENT_LENGTH0
CONTENT_TYPE
DOCUMENT_ROOTD:\wwwroot\hkweb10332\wwwroot
GATEWAY_INTERFACECGI/1.1
HTTPSoff
HTTPS_KEYSIZE
HTTPS_SECRETKEYSIZE
HTTPS_SERVER_ISSUER
HTTPS_SERVER_SUBJECT
INSTANCE_ID10400
INSTANCE_NAMEHKWEB10332
INSTANCE_META_PATH/LM/W3SVC/10400
LOCAL_ADDR127.0.0.1
LOGON_USER
PATH_TRANSLATEDD:\wwwroot\hkweb10332\wwwroot\item.php
QUERY_STRINGac=info&id=25&nav_id=24
REMOTE_ADDR127.0.0.1
REMOTE_HOST127.0.0.1
REMOTE_PORT29203
REMOTE_USER
REQUEST_METHODGET
REQUEST_URI/news_info_25.html
SCRIPT_FILENAMED:\wwwroot\hkweb10332\wwwroot\item.php
SCRIPT_NAME/item.php
SERVER_NAMElafaya.cn
SERVER_PORT80
SERVER_PORT_SECURE0
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWAREMicrosoft-IIS/10.0
URL/item.php
ORIG_PATH_INFO/item.php
PHP_SELF/item.php
REQUEST_TIME1786765551
Page Execution Time:62.56ms, Used Memory:0.87MB