早教吧作业答案频道 -->英语-->
数据库问题MySQLQuery:selecta.url,a.thumb,a.title,b.pricestartfromhousecontenta,housechousMySQLQuery:selecta.url,a.thumb,a.title,b.pricestartfromhousecontenta,housechousebwherea.contentid=b.contentidandcatid=20andareaid=1
题目详情
数据库问题MySQL Query :select a.url,a.thumb,a.title,b.pricestart from house_content a,house_c_hous
MySQL Query :select a.url,a.thumb,a.title,b.pricestart from house_content a,house_c_house b where a.contentid=b.contentid and catid=20 and areaid=1 and a.contentid and status=99 order by a.posids desc,a.contentid desc LIMIT 5
MySQL Error :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 'and status=99 order by a.posids desc,a.contentid desc LIMIT 5' at line 1
MySQL Errno :1064
Message :MySQL Query Error
这是什么问题呢?请大虾们帮帮
MySQL Query :select a.url,a.thumb,a.title,b.pricestart from house_content a,house_c_house b where a.contentid=b.contentid and catid=20 and areaid=1 and a.contentid and status=99 order by a.posids desc,a.contentid desc LIMIT 5
MySQL Error :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 'and status=99 order by a.posids desc,a.contentid desc LIMIT 5' at line 1
MySQL Errno :1064
Message :MySQL Query Error
这是什么问题呢?请大虾们帮帮
▼优质解答
答案和解析
明显 and 语法错误啊!
另外,status是保留字,建议别用在字段名上
另外,status是保留字,建议别用在字段名上
看了 数据库问题MySQLQuer...的网友还看了以下:
已知字母组合成英语单词1、e e t t i n h r 2、e e r a t w h 3、o 2020-05-14 …
牛津高阶里的解释,看糊涂了,不可数怎么还用a?coal/kəʊl;NAmEkoʊl/n牛津高阶里的 2020-06-05 …
请高手用MATLAB帮忙解下微分方程组教下:Dy(1)=y(2);Dy(2)=y(3)^2*u*A 2020-07-21 …
sqlserver排序selecttop3ui.username,u.titles,u.[date 2020-07-26 …
我想通过matlab求解下列六元字母系数的方程组,输入代码如下,但x0~x4结果均为零,请问问题出 2020-08-02 …
一.看一看,将下列字母组成单词.1.t,o,e,f,n2.c,s,e,a,b,u,e3.l,e,p, 2020-10-31 …
C++解决一个程序1随机产生一个n*m矩阵输入m,n,L,U,p(p在(0,1]之间)2对矩阵中每一 2020-12-07 …
m路B+树是一棵m路平衡索引树,除了根节点之外的节点中关键字最多最少分别为?假设函数U(x)为对小数 2020-12-17 …
英语单词排列以下字母排列成一个单词,1.e,n,a,l,r2.a,o,o,l,l,b,f,t3.i, 2020-12-24 …
选出下列各句中注音错误的一项:()A.漂白piǎo慰藉jiè期年jī创伤chuāngB.解元jiè起 2020-12-31 …