Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #14.9K
~6K People Reached
Favorite Forums
Favorite Tags

8 Posted Topics

Member Avatar for rlaknar

I don't believe any of these responses are valid. ROWID is not an ascending sequential number assigned to the rows as they are created. Rather, it is a composite value that identifies where a row resides, starting with the database segment (if appropriate for the database involved), then the "file …

Member Avatar for arshadshabbir
1
5K
Member Avatar for pavan_teja
Member Avatar for yash_792

Combining data from an indefinite number of rows into single rows in not a natural RDB issue and, in fact, is the antithesis of RDB philosophy. That being said: You will need to write a PL/SQL function, retrieve its string output for each distinct Policy No value in the table. …

Member Avatar for NeverLift
0
69
Member Avatar for peanutz

Need a bit of clarification: If there are multiple rows with the same col1 and equal to the max on col3, do you want both to appear if they are not complete duplicates (col2 differs)? If just one, how should it be chosen? If you want all: If those rows …

Member Avatar for Member #789783
0
127
Member Avatar for johnsign11

As a beginner, it is absolutely essential that you obtain Oracle reference material. This system is not something that you learn as you go without wasting literally hundreds, probable thousands, of hours. Worse, you could easily create a collection of tables and views that run, but that do so so …

Member Avatar for yash_792
0
144
Member Avatar for kartheeee

The question is ambiguous, please clarify: Do you want all whose leave period totally encompasses the desired period, or all whose leave period includes any part (including just one day) of the desired period? I have an algorithm (about 30 years old ;) ) I created for the latter, a …

Member Avatar for NeverLift
0
138
Member Avatar for java_programmer

Assuming the number of table rows for each "record" varies: This is not easily accomplished -- if at all -- with SQL. Even if the number is fixed, it's still messy. You'll have to program it in PL/SQL, or in the code that is accessing Oracle.

Member Avatar for NeverLift
0
86
Member Avatar for asad_mian

I don't have an Oracle instance to test this on, but I believe the following will work: [code] select sr_no,Supplier_id,weight from example_table, (select Supplier_id sudmax, max(weight) wtmax from example_table group by Supplier_id) where Supplier_id=sudmax and weight=wtmax order by sr_no; [/code] If it happens that your table content has suppliers grouped …

Member Avatar for NeverLift
0
117

The End.