初学 sql语句 一条不太理解 - 扩充话题 / 灌水乐园
select * from channel_tab where properity=%d order by prior",channelpro 这句什么意思啊 特别是"properity=%d 什么意思
汗 c? 我和你一样菜,没看明白。。 SQL code: select * from channel_tab where properity=%d order by prior",channelpro 菩提本无树 明镜亦非台 本来无一物 何处惹尘埃 放到SQL里格式都不对啊 不明白 好吧,我承认我不懂... 没看懂,引用 select * from channel_tab where properity=%d order by prior",channelpro 这句什么意思啊 特别是"properity=%d 什么意思 查询 channel_tab 表中 所有properity = channelpro 并且根据prior(优先级吧)排序 %d整型占位符 不是吧?通配符都不知道? 看不懂 通配符也没有用 = 的啊 是 like ls说到我心里去了 select * from channel_tab where properity like'%d'order by prior,channelpro 如果是楼上说的 这样 就没问题了 太强大了,还是半个引号引用 如果是楼上说的 这样 就没问题了 刚刚好想错了,楼主这里绝对是别的语言嵌入的sql语句,拿VC举个例子 C/C++ code: CString strSqlCommand
相关问答:
将一个查询语句赋给一个变量,如下: DECLARE @STR NVARCHAR(MAX) SET @STR='SELECT * from SALE_PROD' 怎么样才能执行它呢? 请高手,仁兄,侠姐帮帮忙啊 多谢,可以啦,高手啊 直接执行就行了 exec ......
select o_customer,o_price from orders having o_price >=avg(o_price) select o_customer,o_price from orders where o_price >=(select avg(o_price) from orders) 我感觉没有区别啊,怎么在mysql会有 ......
A表 有两个字段 id 唯一数字域 InfoTxt text 类型 我现在要把 id 不是14 的所有 InfoTxt字段 文本后面 都加上 'aaa' 按下面执行下来 只有表最后一行加上了 'aaa' ......
在Access的查询中执行下面的语句,无效,提示期待select ,updata ,... CreateTble C=Answer N="回帖表" ( C=ID T="INTEGER" P=No M=No N="编号" Z=false, C=Ques ......