首页 \ 问答 \ linux怎么查看装的是那个版本?

linux怎么查看装的是那个版本?

单位新买了台linux的机器,但是不知道装的什么版本,怎么查看?
更新时间:2023-08-17 17:08

最满意答案

SQL Server 2005及以上版本可以用XML PATH select left(A,len(A)-1) from(select (select a0101+',' from a01 a,deptcode dwhere a.dept_id = d.dept_id and d.dept_code like '0100%'and a0191 = '在岗正式员工'FOR XML PATH('')) A) t

其他回答

很简单啊,行专列用case 列换行用union 

select rq ,max(case dm when 'a' then xl end) as a,max(case dm when 'b' then xl end ) as b,max(case dm when 'c' then xl end) as c,max(case dm when 'd' then xl end) as d 

我郁闷,就是没写完整,思路都给出了你还补充

相关问答

更多
  • sql 行转列[2023-08-15]

    最简答的方法:使用程序数组,例如你现在的代码是: do while not rs.eof response.write rs("....") rs.movenext end do 那么可以下面这样输出: '先为每个字段定义数组 dim a(1) dim b(1) n=1 do while not rs.eof a(n)=rs("a") b(n)=rs("b") '...有多少字段写多少行.... n=n+1 rs.movenext end do '下面再输出 response.write ""; respo ...
  • sql行转列[2023-05-04]

    SELECT e.NAME as name, count(case when DATEPART(year,c.START_TIME)=2014 then 1 else null end ) as count2014, count(case when DATEPART(year,c.START_TIME)=2015 then 1 else null end ) as count2015 from ENVI_DATA_STATISTIC_COMP c LEFT JOIN ENVI_CITY e on e.CIT ...
  • ORACLE行转列问题[2022-07-29]

    ORACLE行转列问题 CREATE OR REPLACE PROCEDURE P_TEST IS V_SQL VARCHAR2(2000); CURSOR CURSOR_1 IS SELECT DISTINCT T.XCLCK FROM TEST T ORDER BY XCLCK; BEGIN V_SQL := 'SELECT WL,XYSL,XYCK'; FOR V_XCLCK IN CURSOR_1 LOOP V_SQL := V_SQL || ',' || 'SUM(DECODE(XCLCK,''' ...
  • -- 试一试。。。 create table #test ( 姓名 nvarchar(10), 学号 nvarchar(10), 题号 nvarchar(10), 答案 nvarchar(10) ) go insert into #test select '张三','001','1','A'union all select '张三','001','2','C'union all select '李四','002','1','B'union all select '李四','002','2','D' sele ...
  • SQL语句行转列[2022-04-07]

    SELECT a.org_id, a.PREM AS 团险保费PREM, b.PREM AS 个险保费PREM FROM t1 a INNER JOIN t1 b ON a.org_id=b.org_id WHERE (a.channel = '团险') AND (b.channel = '个险')
  • 可以使用SQL 提供的静态转置功能 pivot 和 unpivot,但是适用范围很受限,可以看下这种方式: http://c.raqsoft.com.cn/article/1543902421790?r=ddszm
  • oracle 测试通过 Select std, Case When std=1 Then Min(f1) Else Max(f1)End f1, Max(f2) f2, Case When std=1 Then Max(f1) Else Min(f1) End f3, Min(f2) f4 From table1 Group By std
  • 当case 子句的条件未包括所有的取值情况,会出现null值。 例:select case when a >1 then A,when a=1 then b end 那么当 a< 1 时,语句中未指定取值,则返回 null值。
  • select decode(t.rn,1,t.单位名称) as 单位名称1 , decode(t.rn,2,t.单位名称) as 单位名称2, decode(t.rn,3,t.单位名称) as 单位名称3, from ( select c.单位名称,to_number() over(partition by c.单位名称) as rn from table1 a,table2 b,table3 c where a.id1 = b.id1 and b.id2=c.id2 ) t ; 这是在知道多少行记录数的情 ...
  • SQL Server 2005及以上版本可以用XML PATH select left(A,len(A)-1) from(select (select a0101+',' from a01 a,deptcode dwhere a.dept_id = d.dept_id and d.dept_code like '0100%'and a0191 = '在岗正式员工'FOR XML PATH('')) A) t

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。