SQL Language (MOSC)

MOSC Banner

Issue with Group by clause

edited Aug 13, 2019 2:07PM in SQL Language (MOSC) 2 commentsAnswered

Hi All,

I need some guidance from you to fetch the data using group by clause .

How to get data based on below tables and  selected columns with group by.(with out specifying all columns in group by how to get the data).?

Find all Items where changes have been made by a vendor over the past one day.

  • Item name/barcode
  • Description
  • Vendor ID
  • Vendor name
  • Item Unit length, width, height & weight
  • item quantity
  • Modified by
  • Modified datetime

Group by org_id, Vendor_id

tables:

-------

1) Item (item_id column, Item Unit length, width, height & weight,qty columns)

2) Vendor(vendor_id column)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center