1、在面试的时候碰到一个 问题,就是让写一张表中有id和name
两个字段,查询出name重复的所有数据,现在列下: select * from xi a where (a.username) in (select
username from xi group by username having ...
分类:
数据库 时间:
2014-05-09 16:25:55
阅读次数:
411
document.getElementById("id").style.xxx可以设置指定ID的控件的属性值。主要支持以下一些属性设置:盒子标签和属性对照CSS语法(不区分大小写)JavaScript语法(区分大小写)borderborderborder-bottomborderBottombord...
分类:
Web程序 时间:
2014-05-09 13:38:54
阅读次数:
418
1、sql语句中insert into tableName() output
inserted.id values()2 、存储过程中ALTER PROCEDURE dbo.getBuyMedicID( @id int output,
@AllsumMoney money )ASbegin INSE...
分类:
数据库 时间:
2014-05-09 13:32:10
阅读次数:
294
对于学习static我们先来看两个例子: 1 public class Cat { 2
private static int sid = 0; 3 private String name; 4 int id; 5 Cat(String name)
{ 6 ...
分类:
编程语言 时间:
2014-05-09 13:23:57
阅读次数:
417
将对象放入session:
ActionContext.getContext().getSession().put("stu_id",id);将session值取出来使用: Integer
id =(Integer) ActionContext.getContext().getSession().....
分类:
其他好文 时间:
2014-05-09 09:21:33
阅读次数:
236
mysql5.6基于gtid主从复制(本文是:MariaDB-10)MySQL5.6引入的GTID(GlobalTransactionIDs)使得其复制功能的配置、监控及管理变得更加易于实现,且更加健壮。GTID是一个unique唯一的表示符,他是由服务器的uuid全局唯一标示,是由128位的随机符组成,mysql-5.6是依靠server-id..
分类:
数据库 时间:
2014-05-09 06:55:38
阅读次数:
515
<pstyle="padding-left:35px;padding-top:6px;"><%=link_to(t(‘mypage.live_order_btn‘),{:action=>"course_order",:id=>course.id,:back_action=>params[:action]},:style=>"color:white;font-weight:bold;text-decoration:none;")%></p>text-d..
分类:
其他好文 时间:
2014-05-09 06:51:16
阅读次数:
267
<p><%=course=Course.find_by_id(params[:id])%></p>
分类:
数据库 时间:
2014-05-09 06:43:34
阅读次数:
320
uva11137 n3可转化为n2(立方和为n的方法数)/*ID:
neverchanjePROG:LANG: C++11*/#include#include#includetypedef long long ll;using
namespace std;int n;long long d[23][...
分类:
其他好文 时间:
2014-05-09 06:38:39
阅读次数:
382
纠结到现在,还好试出来了JSP页面使用struts标签向action传值:xxx表示你javabean对象,stu_id为session中的值
分类:
其他好文 时间:
2014-05-09 05:40:40
阅读次数:
268