
mysql
文章平均质量分 92
MilkyTea'Ou
这个作者很懒,什么都没留下…
展开
-
关系数据库原理
学的又忘了,在巩固一下:数据库的范式:1NF:每个字段都是不可再分的;2NF:字段之间不存在部分依赖;3NF:非关键字段不存在传递依赖;BCNF:关键字段不存在传递依赖;原创 2013-07-21 11:00:21 · 882 阅读 · 0 评论 -
Sql语句 update set 修改多项字段的格式
Sql语句 update set修改多项字段的格式string stringCmd = "UPDATE t_site_link SET siteName=@siteName,siteURL=@siteURL," +"priority=@priority,isAllowed=@isAllowed WHERE siteId=@site原创 2011-11-24 09:24:19 · 4527 阅读 · 0 评论 -
SQL语句复制表
SQL语句复制表 2009-09-27 19:07:57| 分类:SqlServer数据库 |字号 订阅SQL语句复制表的方法如果目的表已经存在:insert into DATAHR.DBO.GBITEMselect * from DEMO.DBO.GBITEM如果目的表不存在:select * into DATAHR.DBO.GBI转载 2011-11-28 12:46:50 · 688 阅读 · 0 评论 -
SQL join
SQL join/*join 建表语句*/drop database if exists test;create database test;use test;/* 左表t1*/drop table if exists t1;create table t1 (id int not null,name varchar(20));insert into t1 values (1,'转载 2018-01-22 17:51:55 · 263 阅读 · 0 评论