Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7807581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:53:41+00:00 2026-06-02T02:53:41+00:00

SELECT * FROM CLIENT WHERE CLIENT_REG_DATE > DATEADD(year,-1,GETDATE()) GROUPBY MONTH(CLIENT_REG_DATE). I put into Apex

  • 0
SELECT * 
FROM CLIENT
WHERE CLIENT_REG_DATE > DATEADD(year,-1,GETDATE())
GROUPBY MONTH(CLIENT_REG_DATE).

I put into Apex Oracle and run it and it says

SQL command not properly ended
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T02:53:43+00:00Added an answer on June 2, 2026 at 2:53 am

    There is neither a DATEADD nor a getdate() nor a month() function in Oracle.

    For a list of all available date functions, please refer to the manual:
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions002.htm#i88891

    And statements have to be terminated with a ;

    And if you are using SELECT * the group by is definitely not going to work either.

    Without specifying in more detail what you want to group it’s hard to tell, but start with something like this:

    SELECT to_char(client_reg_date, 'yyyy-mm'), count(*)
    FROM CLIENT
    WHERE CLIENT_REG_DATE > add_months(sysdate, -12)
    GROUP BY to_char(client_reg_date, 'yyyy-mm')
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I run the following query SELECT * FROM ( SELECT * FROM Client );
With regards to the following statement: SELECT * FROM explorer.booking_record booking_record_ INNER JOIN explorer.client
I'm developing an ASP.NET form for data-entry. Users have to select a client from
I have this php code $jsonArray = array(); $sql = SELECT ID,CLIENT FROM PLD_SERVERS;
SELECT S.CLIENT,S.IP_DOMAIN as IP, IFNULL(K.DATE, DATE '0000-00-00') AS RecentDate FROM PLD_SERVERS AS S JOIN
I am hoping to do something like: SELECT client.id FROM client RIGHT JOIN ('no@such.com',
Suppose you have a query that looks like so: SELECT * FROM client WHERE
From a client application I tyipically do: select * from table where Name =
If I add some OPTION's to a select list from client side javascript, that
Consider the following MySQL statement SELECT AccountNumber, Currency, Balance FROM clients JOIN balances ON

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.