
SQL
always007
这个作者很懒,什么都没留下…
展开
-
MySQL入門_テーブル作成
create database case_a;show databases;drop database case_a;create database case_db;use case_db;drop table if exists userInfo;drop table if exists userInfo;CREATE TABLE userInfo ( id int NOT NULL AUTO_INCREMENT COMMENT 'ユーザコード', name varc...原创 2022-03-12 19:19:36 · 1010 阅读 · 0 评论 -
20180207(2)
https://support.microsoft.com/ja-jp/help/4037354/cumulative-update-6-for-sql-server-2016-sp1原创 2018-02-07 14:49:15 · 253 阅读 · 0 评论 -
怎么查询在A表中不存在的B表的数据(id+bm两个条件)
如何查询在A表中不存在的B表的数据(id+bm两个条件)A 表id bm1 21 31 4b表id bm1 21 31 41 51 6如何查询在A表中不存在的B表的数据(id+bm两个条件)如图的话就是1 51 6------解决方案--------------------转载 2017-11-24 09:20:58 · 1240 阅读 · 0 评论 -
SQL
create table [dbo].[aaa_through_log] ( kno varchar(50) not null , dt datetime default getdate() not null , test int default 0 , primary key (kno,dt));create table [dbo]原创 2017-11-21 17:33:38 · 305 阅读 · 0 评论 -
SQL実行用
http://sqlfiddle.com/#!9/485dd84/1转载 2017-11-15 16:15:36 · 208 阅读 · 0 评论 -
update
select T_draft1.customer_name,T_draft1.mannum,syupin_irai2.kaitori_nofrom [dbo].[T_draft1] T_draft1,[dbo].[syupin_irai2] syupin_irai2where T_draft1.touroku_date and status_cd = 1and syupin_ira原创 2017-11-29 17:30:16 · 308 阅读 · 0 评论 -
SQL table
create table [dbo].[usr_origin] ( id int not null , name varchar(150) not null , kana varchar(150) not null , nickname varchar(60) not null , addr1 varchar(30) not null , addr2 varch原创 2017-11-29 17:21:37 · 251 阅读 · 0 评论 -
VIEW
CREATE VIEW dbo.usrASSELECT id AS ユーザID, name AS 名前, kana AS カナ, nickname AS ニックネーム, addr1 AS 住所1, addr2 AS 住所2, mail AS メールアドレス, mobile_te原创 2017-11-29 17:20:31 · 229 阅读 · 0 评论 -
MySQLワークベンチでupdate文を実行すると1175のエラーが発生
MySQLワークベンチでupdate文を実行すると1175のエラーが発生MySQL【事象】MySQLのワークベンチでUPDATE文を実行すると、以下のエラーが発生した。Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a...原创 2018-11-03 11:56:55 · 339 阅读 · 0 评论 -
SQL
CREATE VIEW dbo.社内ユーザASSELECT id AS usr, name AS usrname, syozoku AS 所属, authority_cd AS 権限, sex AS 性別, display AS 表示, status AS 状態, employment_status AS 雇用状態,原创 2017-11-29 17:17:29 · 147 阅读 · 0 评论