Questions tagged [highest]

134 questions
0
votes
1 answer

Get the Highest Value in Livecode

I have three variables with the following values... put 10 into var1 put 7 into var2 put 2 into var3 How to get the highest value? For this example, I want to return 10 and display that "10 is the highest number". How can I achieve this?
Mai
  • 363
  • 3
  • 16
0
votes
1 answer

Find highest earning company from while loop

I need to find the company with the highest earnings. So far I am able to pull out the highest total Earnings from the loop but have no idea how to get the company name that ties with this highest earnings. while( count <= noOfComp) { …
0
votes
5 answers

Get the Highest Value in different Select SUM

I want to get the highest value in my query Select SUM(CASE WHEN Day='Monday' THEN 1 END) AS'Total Monday', SUM(CASE WHEN Day='Tuesday' THEN 1 END) AS'Total Tuesday' FROM tbl_sched WHERE teacherID='2014279384' The Output would be…
dandy
  • 67
  • 5
  • 13
0
votes
4 answers

Get highest number from inputs

I need a programm, where I can type in numbers and in the end it gives me the highest number. Why doesn't it work like that? What do I need to change? public class Program { public static void Main() { double[] input = new…
aha364636
  • 365
  • 5
  • 23
0
votes
2 answers

Extract top 20 (descending) rows of a CSV file with respect to a column

I have a CSV file with 3 columns that looks like this: a,b,c 1,1,2 1,3,5 1,5,7 . . 2,3,4 2,1,5 2,4,7 I'd like the output to be like a,b,c 1,5,7 1,3,5 1,1,2 . . 2,4,7 2,3,4 2,1,5 i.e., for each element in column a, I'd like to have top 20 (20…
abn
  • 1,353
  • 4
  • 28
  • 58
0
votes
1 answer

How can I find the highest parent level or field in Oracle?

I have a table called "test". It contains Parent and Child columns. Parent Child 1 101 1 102 1 103 101 121 101 123 103 133 121 80 121 81 Now, I wrote a query which brings me all the child/parents for…
Anitha
  • 77
  • 1
  • 2
  • 9
0
votes
1 answer

Pascal program does not show maximum value

Please help me my program just keeps on displaying the last name and number here is the program. I really dont see what is wrong here but I do hope that you guys may see it please really need some help its killing my brain…
0
votes
3 answers

I have an emp_salary table with emp_id, salary and salary_date. I want to write a query to find out which employee was paid highest in every month

Following is the table: emp_id salary salary_date Emp1 1000 Feb 01 Emp1 2000 Feb 15 Emp1 3000 Feb 28 Emp1 4000 Mar 01 Emp2 5000 Jan 01 Emp2 6000 Jan 15 Emp2 2000 Mar 01 Emp2 5000 Apr 01 Emp3 …
0
votes
2 answers

Trying to calculate highest marks with name in python

grade=[] names=[] highest=0 cases=int(input('Enter number of cases: ')) for case in range(1,cases+1): print('case',case) number=int(input('Enter number of students: ')) for numbers in range (1,number+1): …
user3295029
  • 1
  • 1
  • 4
0
votes
7 answers

How do I get the highest "left" value of a group of elements with jquery?

I need to get the highest left value of a set of elements which all have a left value as they are set with position absolute. I need to retrieve the element with the highest left value so after I can add specific classes to this element.…
Daniel Ramirez-Escudero
  • 3,877
  • 13
  • 43
  • 80
0
votes
1 answer

C# Find top 3 in Collection list box

Find Top 3 Button – which processes the data to find the 3 highest sales amounts and displays these sales persons names along with their place (1st, 2nd, 3rd), and sales amount. I have two list boxes I just want to find the top 3 highest sales…
Med1a
  • 92
  • 1
  • 10
0
votes
2 answers

Finding highest of 10

I'm gonna be honest, I've been working on an assignment and I am BEYOND stuck. I'm creating a simple java applet that lets the user input 10 numbers. the program sanitizes that input, making sure only a number is entered, and that the number must be…
0
votes
2 answers

Draw The Highest Value Out Of A Mysql Database Column

I have a database "videos". Which has a table for each video i.e "ID" "Name" "Link" "Count". i want to be able to take the highest value of any of the tables from the column "Count" and then use which ever has the highest values "Link" Column. So…
midicharm
  • 5
  • 2
0
votes
1 answer

Compare one column values for the table in sql

I have table with X number of columns. One of them is nvarchar(50). Values of this column are like this: 13-46187(IC) 13-46186(IC) 13-46189 13-46185 13-46184 I want to extract/find the highest number that the column value ends with (in this case…
RookieAppler
  • 1,517
  • 5
  • 22
  • 58
0
votes
1 answer

mysql query for high values in table

I have the following data in the results table: +-----+-----+-----+-----+-----+-----+ | A | B | C | D | E | F | +-----+-----+-----+-----+-----+-----+ | 100 | 140 | 120 | 130 | 160 | 150 | | 200 | 243 | 374 | 435 | 674 | 987 | | 312 |…
Highly Flammable
  • 45
  • 1
  • 1
  • 4
1 2 3
8 9