摘要:-更新数据 下面的换成上面的--update sdata.dbo.billing_data set Product_Group_Ops ='APPLE2'where Product_Group_Ops ='OPPO'update sdata.dbo.billing_data set Product_
阅读全文
摘要:--day05基础-- create table sdata.dbo.open_order( Order_Source_Name nvarchar(255) ,Plant_Location_Number nvarchar(255) ,Plant_Location_Name nvarchar(255)
阅读全文
摘要:create table #mian2( cola int,colb int,colc int) insert into #mian2 values (1,2,3)insert into #mian2 values (5,2,3)insert into #mian2 values (5,9,3) 表
阅读全文
摘要:--join连接-- --新建表t1--drop table sdata.dbo.t1create table sdata.dbo.t1(id int,name varchar(255) ) insert into sdata.dbo.t1(id,name)values('1','lucy')ins
阅读全文
摘要:--day02主键-- drop table sdata.dbo.testday02create table sdata.dbo.testday02(bw_id int primary key, -- 主键的关键字 即表里面的数据不能完全一致--bw_no varchar (50) not null
阅读全文
摘要:/****** Script for SelectTopNRows command from SSMS ******/--day01基础知识--SELECT TOP 1000 [CustomerID] ,[CustomerName] ,[ContactName] ,[Address] ,[City]
阅读全文