摘要:
10007 : 分苹果时间限制: 1000 MS 内存限制: 131072 KB 提交总数: 84 AC总数: 71问题描述期末结束,xx老师为了奖励孩子们这学期表现良好,就决定把一堆苹果分给小朋友,现规定每人分到的苹果数量相同并且为一个固定值。如果分给9个... 阅读全文
SELECT A.TextData,A.Duration, A.SPID, A.ClientProcessID, A.IntegerData, A.EventSequence, B.tablename FROM (SELECT event_text, TextData, CONVERT(DECIMAL(18,2), CONVERT(FLOAT,Duration)/1000000) Duration, CPU, Reads, Writes, SPID, ClientProcessID, IntegerData, RowCounts, EventSequence, CONVERT(VARCHAR(12),StartTime,114)StartTime, CONVERT(VARCHAR(12),EndTime,114)EndTime, HostName, ApplicationName, ObjectName FROM U9_20160531_0800_1000ms LEFT JOIN int_to_event ON EventClass=event_code WHERE event_text='SP:StmtCompleted')AS A LEFT JOIN 20160531_0800_1000ms_usedtables AS B ON A.EventSequence=B.eventsequence ;
SELECT A.TextData,A.Duration, A.SPID, A.ClientProcessID, A.IntegerData, A.EventSequence, B.tablename FROM (SELECT event_text, TextData, CONVERT(DECIMAL(18,2), CONVERT(FLOAT,Duration)/1000000) Duration, CPU, Reads, Writes, SPID, ClientProcessID, IntegerData, RowCounts, EventSequence, CONVERT(VARCHAR(12),StartTime,114)StartTime, CONVERT(VARCHAR(12),EndTime,114)EndTime, HostName, ApplicationName, ObjectName FROM U9_20160531_0800_1000ms LEFT JOIN int_to_event ON EventClass=event_code WHERE event_text='SP:StmtCompleted')AS A LEFT JOIN 20160531_0800_1000ms_usedtables AS B ON A.EventSequence=B.eventsequence ;