select ifnull(question_id,0)
from t_test_paper_question_s a left join t_test_question b on(a.question_id = b.id)
where paper_id = 83
and question_no_b=4
and question_no_s = 5
and difficult='ED010'
数据为null的为什么查出来后还是null,为什么不是-1呢?
from t_test_paper_question_s a left join t_test_question b on(a.question_id = b.id)
where paper_id = 83
and question_no_b=4
and question_no_s = 5
and difficult='ED010'
数据为null的为什么查出来后还是null,为什么不是-1呢?
解决方案 »
- 为这个考试页面加个定时器 十万火急...大大们9命啊
- xmlhttp与WebSphere6.1的问题,高手来看下,在线等急!!!!!!
- jsp生成的html代码,怎么能够网页展示啊
- 购物车保存信息问题(Session和Cookie)
- 关于kettle
- 涉及业务逻辑的验证应该写在Action层还是Service层?
- 怎么把一个数组里面的数据去除重复值付给另一个数组??
- 请教如何在WEB应用启动过程中,当Spring配置Bean时当前的应用名称?
- 分页问题!(javabean_sqlserver2000)
- 请你帮忙。。新手问题。。。(很幼稚的问题。。谁有时间帮个忙吧。。)
- 请问下servlet访问另外一个servlet的doGet怎么写?
- 用MyEclips在做Hibernate Reverse Engineering时出现Dao sessionfactory not selected
from t_test_paper_question_s 那这样会不会有问题。