Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
Dear all,
Can anyone help me out below the SQL query, please?
I have three tables A, B, and C, each table having employee and their salary, I want to get the high salary from each table in one table.
What is the SQL query for this, below the one example tables.
Ex: Table A
| Employee | Salary | 
| David | 66000 | 
| Michel | 60000 | 
| Richard | 56000 | 
| Daniel | 72000 | 
| Maxwell | 80000 | 
| Ronald | 75000 | 
Table B
| Employee | Salary | 
| Raj | 90000 | 
| Krish | 55000 | 
| Mohan | 71000 | 
| Mary | 69000 | 
| Alex | 120000 | 
| Soham | 92000 | 
Table C
| Employee | Salary | 
| Trump | 45000 | 
| Modi | 59000 | 
| Greek | 76000 | 
| Joshi | 61000 | 
| Kevin | 83000 | 
| Charlet | 74000 | 
Output would be like these
Table D
| Employee | Salary | 
| Alex | 120000 | 
| Kevin | 83000 | 
| Maxwell | 80000 | 
 
					
				
		
Hi Sunny,
the 1st highest salary will be 120000 Alex, but here shows
Maxwell 8000
Alex 120000
Kevin 83000
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		That is just the matter of sorting it my friend....
 
					
				
		
Alright.
