1. How would u find the 3rd max out of 4 given numbers?2. Can you find the 500th, 600th max element? 3. Do you know Codd rules?

Showing Answers 1 - 6 of 6 Answers

vivek singh

  • May 1st, 2007
 

Yes we can find out nth highest of m values where n
select x from (select rowid y ,   x from table_name order by column_1) where
n= y;

  Was this answer useful?  Yes

 We can find the 3rd max out of 4 given numbers by checking the least greatest of the least greatest number.if to say in T-SQL:

select top 1 max(numbers) from tables where tables a1 join tables b1 on a1.numbers< b1.numbers

select top 1 from tables t where t.numbers >ALL(select top 499 from tables s order by s.numbers desc) order by t.numbers asc

Codd rules specify about Normalization and Denormalization techniques for relational Tables and Databases to be utilized to the full extent.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions