----------------------2019/6月份 <<必知必会>>书本练习-实践练习--------------------------- ---order by没有where就是在前,而又多个列的组合条件在在后面select top 10 * from VF_TSTOSTOCK_UCMLselect top 10 STOID,BPSCOD,BPSNAM,ITMNAM,STOFCYName from VF_TSTOSTOCK_UCML where (PRODCOD ='
--SQL SERVER生成测试环境: Create database Test; go USE [Test] GO if OBJECT_ID('Tab','U') is not null drop table Tab go CREATE TABLE [dbo].[Tab]( [ID] [int] NOT NULL CONSTRAINT [PK_Tab] PRIMARY KEY CLUSTERED , [name] [sysname] NOT NULL ) --打开Visual Studio—创