帮我解释下这个查询语句@select c_id,c_gcode,c_number into #11 from tb_bill_rg where c_id in(select c_id from tb_bill_r where datediff(day,c_au_time,'2007-04-01')=0 and c_ad_from like '2%') and c_gcode not in(select c_gcode from tb_d_sum_gds

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/28 21:32:47
帮我解释下这个查询语句@select c_id,c_gcode,c_number into #11 from tb_bill_rg where c_id in(select c_id from tb_bill_r where datediff(day,c_au_time,'2007-04-01')=0 and c_ad_from like '2%') and c_gcode not in(select c_gcode from tb_d_sum_gds

帮我解释下这个查询语句@select c_id,c_gcode,c_number into #11 from tb_bill_rg where c_id in(select c_id from tb_bill_r where datediff(day,c_au_time,'2007-04-01')=0 and c_ad_from like '2%') and c_gcode not in(select c_gcode from tb_d_sum_gds
帮我解释下这个查询语句@
select c_id,c_gcode,c_number into #11 from tb_bill_rg where c_id in(select c_id from tb_bill_r where datediff(day,c_au_time,'2007-04-01')=0 and c_ad_from like '2%') and c_gcode not in(select c_gcode from tb_d_sum_gds
where c_number_move>0 and datediff(day,c_dt,'2007-04-01')=0 and c_adno like '2%')
order by c_gcode
select #11.c_id,#11.c_gcode,#11.c_number,tb_gds.c_name from #11,tb_gds where #11.c_gcode=tb_gds.c_gcode
order by #11.c_gcode
有很多地方不明白,请逐步细致的帮我解释哈
特别像#11,这个代表什么?

帮我解释下这个查询语句@select c_id,c_gcode,c_number into #11 from tb_bill_rg where c_id in(select c_id from tb_bill_r where datediff(day,c_au_time,'2007-04-01')=0 and c_ad_from like '2%') and c_gcode not in(select c_gcode from tb_d_sum_gds
select c_id,c_gcode,c_number into #11 from tb_bill_rg 的意思是:在tb_bill_rg 表中查询c_id,c_gcode,c_number字段写入#11表中相应字段.
where c_id in(select c_id from tb_bill_r where datediff(day,c_au_time,'2007-04-01')=0 and c_ad_from like '2%') and c_gcode not in(select c_gcode from tb_d_sum_gds
where c_number_move>0 and datediff(day,c_dt,'2007-04-01')=0 and c_adno like '2%')
这些是查询条件.
这个的意思是tb_bill_rg 表中c_id字段等于tb_bill_r表中c_au_time字段在2007年4月1日之后并在2007年5月20日之前并且c_ad_from字段为‘2’开头的记录中的c_id字段并且c_gacode字段不包含于tb_d_sum_gds表中c_number_move大于零并且c_dt字段在2007-4-1之后和2007-5-20之后的记录并且c_adno以‘2’开头.
order by c_gcode
这个是以c_gcode升序排序.
select #11.c_id,#11.c_gcode,#11.c_number,tb_gds.c_name from #11,tb_gds where #11.c_gcode=tb_gds.c_gcode
order by #11.c_gcode
查询表#11,tb_gds中的#11.c_id,#11.c_gcode,#11.c_number,tb_gds.c_name字段其中#11表的c_gcode等于tb_gds表的_gcode
以#11表中c_gcode字段排序.

帮我解释下这个查询语句@select c_id,c_gcode,c_number into #11 from tb_bill_rg where c_id in(select c_id from tb_bill_r where datediff(day,c_au_time,'2007-04-01')=0 and c_ad_from like '2%') and c_gcode not in(select c_gcode from tb_d_sum_gds 帮我写个联合查询语句写一条select语句,把title,area,year联合查询出来select year,area,title from film,filmtitle如果用这个查询语句,如何解决重复问题? C语言,帮我解释语句, oracle查询语句 select a||','||b||','||c from table where a in('m','n') 大侠这个查询语句的意思?大侠这个查询语句的意思是什么?sql=select DISTINCT 日期 from +tablename+ where 日期>=' +df +' and 日期 pb查询语句数据窗口叫 jn2dw_1.dataobject=jn2dw_1.settransobject(sqlca)dw_1.setfilter()dw_1.setfilter(设备序列号 ='+sle_1.text+')dw_1.retrieve() 这是生么意思?具体分析下,我想要查询,但这个不对.能帮我写下怎 vb select case 这个语句? 帮我看看这个oracle语句,select groupid,parentid,groupname,isleaf,description,sharerankid,statusid,corporationid,staffid,isactual,groupcount,level FROM (SELECT a.*,b.groupcount FROM teabgroup a,(SELECT groupid,count(*) groupcount FROM teabmembe 大侠这个查询语句的意思是什么?sql=select DISTINCT 日期 from +tablename+ where 日期>=' +df +' and 日期 请懂C++语句高手帮我解释return m_aBank[nBefore][nAfter + 10].strName;请C++高手帮我看下上面这句的意思. 多表查询下distinc语句我用左连接查询了三张表的数据,又重复项.要用distinc语句,想知道这个情况下sql语句怎样写给个模板就行 帮我解释下这个公式不 解释完分就给 这道题哪里错了.请帮我修改一下.select s.sno,s.sname,c.cno,c.cnane,sc.scorefrom s,c,scwhere s.sno=sc.sno and s.sdept=(select sdeptfrom swhere sdept='计算机')gosql上提示的“子查询返回的值不止一个.当子查询跟随在 = SQL语句的where我想做个条件查询的,其中有两个条件,我现在想不限制条件的个数,就是说一个或者2个条件查询都可以.语句是:select * from table where id=1 and sno=2请问下where后面的条件有没能一定满 能帮我解释下这个语句的意思吗?在EXECL表中 =IF(A2=,,SUBTOTAL(109,D$2:D2)) 在SQL语句中USE pubs SELECT DISTINCT title FROM title WHERE price>(SELECT MIN(price)FROM titleGROUP BY typeHAVING type='trad_cook')本人是初学者,请大家帮我解释每句的意思,讲解一下这种语句的语法结构, 一个数除以三余二!这个数最小是?(自然数)我的第一想法是五,但又不敢确定!觉得二也符合要求!有清楚的帮我解释下!俺又查询了资料,结果是2 SQL语句字段名是英文的并且带英文括号,查询出错?比如说是select COD(mg/L) from huaxue 查询会出现COD函数未定义,我估计是这个英文括号的问题,可是如果把英文括号改为中文括号,由于类似的字段很