I have a table with the following info:
Supplier.......Receiver.......... Cost............... PURotue........... IntRoute.......... Del Route
ABC Inc....... Dubab ...........$44.00.............. P-355 ..............I-335 ..............D-15
 
I would like to know how to make a query that will add another column called "MAIN Route"
 
I want there to be 3 rows (since there are 3 routes listed) with each of the routes (PU Route, IntRoute and Del Route) listed as the main route as below:
 
Supplier..... Receiver........ Cost.......... PURoute.......... IntRoute........ Del Route...... Main Route
ABC Inc ......Dubab .........$44.00 ..........P-355 .............I-335............ D-15............ P-355
ABC Inc ......Dubab .........$44.00 ...........P-355 .............I-335........... D-15 .............I-335
ABC Inc .......Dubab........ $44.00 ..........P-335...............I-335........... D-15 ..............D-15
 
Is this possible?
 Supplier.......Receiver.......... Cost............... PURotue........... IntRoute.......... Del Route
ABC Inc....... Dubab ...........$44.00.............. P-355 ..............I-335 ..............D-15
I would like to know how to make a query that will add another column called "MAIN Route"
I want there to be 3 rows (since there are 3 routes listed) with each of the routes (PU Route, IntRoute and Del Route) listed as the main route as below:
Supplier..... Receiver........ Cost.......... PURoute.......... IntRoute........ Del Route...... Main Route
ABC Inc ......Dubab .........$44.00 ..........P-355 .............I-335............ D-15............ P-355
ABC Inc ......Dubab .........$44.00 ...........P-355 .............I-335........... D-15 .............I-335
ABC Inc .......Dubab........ $44.00 ..........P-335...............I-335........... D-15 ..............D-15
Is this possible?
			
				Last edited: 
			
		
	
								
								
									
	
		
			
		
		
	
	
	
		
			
		
		
	
								
							
							 
	 
 
		 
 
		