Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

2 Posts

Posted - 11/28/2011 :  14:35:45  Show Profile  Reply with Quote
I need a small help on SQL query.

I have two tables RESPONSETIME00 & RESPONSETIME02, I need to count the URL’s such that how many times it was requested. I am attaching two tables & the output which I am looking for. Let me know how to get the attached output from the two tables.

Table 1 :

ID1 Node_Name ID4 ID7 SERVER5 [28/Nov/11:23:09:10 /i3-soft/com SERVER3 [28/Nov/11:23:09:10 /reuest-transfer SERVER1 [28/Nov/11:23:09:10 /reuest-transfer SERVER1 [28/Nov/11:23:09:10 /reuest-transfer SERVER1 [28/Nov/11:22:09:10 /reuest-transfer SERVER8 [28/Nov/11:23:09:10 /i3-soft/com SERVER1 [28/Nov/11:23:09:10 /i3-soft/com SERVER1 [28/Nov/11:15:09:10 /i3-soft/com SERVER6 [28/Nov/11:17:09:10 /i3-soft/com SERVER5 [28/Nov/11:23:09:10 /i3-soft/com SERVER1 [28/Nov/11:23:09:10 /reuest-transfer SERVER1 [28/Nov/11:17:09:10 /reuest-transfer SERVER3 [28/Nov/11:23:09:10 /reuest-transfer SERVER1 [28/Nov/11:17:09:10 /reuest-transfer

Table 2 :

ID1 Node_Name ID4 ID7 SERVER1 [28/Nov/11:15:09:10 /i3-soft/com SERVER3 [28/Nov/11:15:09:10 /reuest-transfer SERVER1 [28/Nov/11:17:09:10 /reuest-transfer SERVER1 [28/Nov/11:17:09:10 /reuest-transfer SERVER1 [28/Nov/11:22:09:10 /reuest-transfer SERVER4 [28/Nov/11:23:09:10 /i3-soft/com SERVER1 [28/Nov/11:23:09:10 /i3-soft/com SERVER1 [28/Nov/11:15:09:10 /i3-soft/com SERVER6 [28/Nov/11:17:09:10 /i3-soft/com SERVER1 [28/Nov/11:23:09:10 /i3-soft/com SERVER1 [28/Nov/11:23:09:10 /i3-soft/com SERVER1 [28/Nov/11:17:09:10 /i3-soft/com SERVER3 [28/Nov/11:23:09:10 /i3-soft/com SERVER1 [28/Nov/11:17:09:10 /i3-soft/com

output i am looking for

ID7 Count
/i3-soft/com 16
/reuest-transfer 12

Constraint Violating Yak Guru

Saudi Arabia
264 Posts

Posted - 11/28/2011 :  23:08:34  Show Profile  Reply with Quote
Duplicate post

For us, there is only the trying. The rest is not our business. ~T.S. Eliot

Muhammad Al Pasha
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000