sql - SQLPlus - Count function across several tables -


I am trying to calculate the number of riders in my data. And I'm having trouble finding this. The sample of my output is noted below, the data comes from many different tables and I had to join those tables which I do not have a problem. I'm trying to get the calculation count by DESCRIPTION by EVENT. And then display the columns below

  SQL & gt; Select EVENTNAME, description, RIDR2 from ERP_IR; EVENTNAME description RIDERS ------------------------------ ----------------- ------------- Ace Rental Car - Race on the fair Aron Adams of fair hill investment de 1 fair hill. Logical Level Course Ace Rental Car - Fair Arena Day Day 1 Fair Hill's Easy Aron Adams Early Level Race Course Ace Rental Car - Fair Hill Inc Day 2 on the interiors of Fair Hill race at Adroon Mountain View Weekend 1 at the basic level Race 1 Huffy Moon Sam Adams Tan Easy Level Course Valley Spring Water Mountain B3 Day Race on Hula Hut Kanth 'J.Gillgan IX Extravings Intermediate Layer Course  

I have put a bunch of different codes but this is a sample I have tried. I am losing on this so that any help will be great!

"RIDERS" 2 ERP_REPORT; as SELECT COUNT (separate radar);

Are you looking for something like this:

  SELECT COUNT (riders) AS rider_count, eventname, details from the erp_report group by eventname, description;  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -